Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <extension engine="1.0">
- <id>postimg_slimbox</id>
- <title>Slimbox for postimg</title>
- <version>1.0.1</version>
- <description>Big post images are displayed in slimbox. Require jquery.</description>
- <author>YonasH</author>
- <minversion>1.3dev</minversion>
- <maxtestedon>1.3.2</maxtestedon>
- <note type="install" timing="pre">Tested in Internet Explorer 7 and FireFox 3.</note>
- <dependencies>
- <dependency>jquery</dependency>
- </dependencies>
- <hooks>
- <hook id="hd_head"><![CDATA[
- if (defined('FORUM_PAGE') && FORUM_PAGE == 'viewtopic')
- {
- if (file_exists($ext_info['path'].'/style/'.$forum_user['style'].'/'.$ext_info['id'].'.css'))
- $forum_head['postimg_slimbox_style'] = '<link rel="stylesheet" type="text/css" media="screen" href="'.$ext_info['url'].'/style/'.$forum_user['style'].'/'.$ext_info['id'].'.css" />';
- else
- $forum_head['postimg_slimbox_style'] = '<link rel="stylesheet" type="text/css" media="screen" href="'.$ext_info['url'].'/style/Oxygen/'.$ext_info['id'].'.css" />';
- $forum_head['postimg_slimbox'] = '<script type="text/javascript" src="'.$ext_info['url'].'/slimbox2.js"></script>';
- }
- ]]></hook>
- </hooks>
- </extension>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement