Changeset 19647 for extensions/Media_Icon
- Timestamp:
- Dec 29, 2012, 6:17:37 PM (12 years ago)
- Location:
- extensions/Media_Icon
- Files:
-
- 2 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Media_Icon/admin/admin_advanced.php
r19427 r19647 58 58 ) 59 59 ); 60 $template->assign('media_icon_admin_path', PHPWG_ROOT_PATH );60 $template->assign('media_icon_admin_path', PHPWG_ROOT_PATH.MEDIA_ICON_PATH); 61 61 62 62 //Add our template to the global template -
extensions/Media_Icon/admin/admin_advanced.tpl
r19427 r19647 75 75 <legend>{'Result'|@translate}</legend> 76 76 <span style="float: left;"> 77 <a href="#" style="position: absolute; clip: rect(0px, 323px, 200px, 0px);"><span class="media_icon media_icon_pdf_{$media_icon_style}"></span><img class="thumbnail" alt="landscape" src="{$media_icon_admin_path} plugins/media_icon/admin/img/landscape.png" width="323" height="200" /></a>77 <a href="#" style="position: absolute; clip: rect(0px, 323px, 200px, 0px);"><span class="media_icon media_icon_pdf_{$media_icon_style}"></span><img class="thumbnail" alt="landscape" src="{$media_icon_admin_path}admin/img/landscape.png" width="323" height="200" /></a> 78 78 </span> 79 79 <span style="float: left; margin-left: 333px;"> 80 <a href="#" style="position: absolute; clip: rect(0px, 150px, 200px, 0px);"><span class="media_icon media_icon_youtube_{$media_icon_style}"></span><img class="thumbnail" alt="portrait" src="{$media_icon_admin_path} plugins/media_icon/admin/img/portrait.png" width="150" height="200" /></a>80 <a href="#" style="position: absolute; clip: rect(0px, 150px, 200px, 0px);"><span class="media_icon media_icon_youtube_{$media_icon_style}"></span><img class="thumbnail" alt="portrait" src="{$media_icon_admin_path}admin/img/portrait.png" width="150" height="200" /></a> 81 81 </span> 82 82 <span class="media_icon_clear"></span> -
extensions/Media_Icon/main.inc.php
r19631 r19647 14 14 define('MEDIA_ICON_PATH' , PHPWG_PLUGINS_PATH.MEDIA_ICON_DIR.'/'); 15 15 define('MEDIA_ICON_ABSOLUTE_PATH' , dirname(__FILE__).'/'); 16 define('MEDIA_ICON_ADMIN', get_root_url() . 'admin.php?page=plugin- Media_Icon');16 define('MEDIA_ICON_ADMIN', get_root_url() . 'admin.php?page=plugin-'.MEDIA_ICON_DIR); 17 17 18 18 /* +-----------------------------------------------------------------------+ … … 38 38 39 39 include_once(MEDIA_ICON_PATH.'include/thumbnails.inc.php'); 40 include_once(MEDIA_ICON_PATH.'include/picture.inc.php');41 40 42 41 /* +-----------------------------------------------------------------------+ -
extensions/Media_Icon/maintain.inc.php
r19631 r19647 3 3 4 4 function plugin_install() { 5 include (dirname(__FILE__).'/install/functions.inc.php');6 include (dirname(__FILE__).'/install/config_default.inc.php');5 include_once(dirname(__FILE__).'/install/functions.inc.php'); 6 include_once(dirname(__FILE__).'/install/config_default.inc.php'); 7 7 8 8 media_icon_install_general($config_default_general); … … 11 11 12 12 function plugin_activate() { 13 include (dirname(__FILE__).'/install/functions.inc.php');13 include_once(dirname(__FILE__).'/install/functions.inc.php'); 14 14 15 15 media_icon_update_db(); … … 17 17 18 18 function plugin_uninstall() { 19 include_once(dirname(__FILE__).'/install/functions.inc.php'); 20 19 21 media_icon_delete_conf("media_icon_general"); 20 22 media_icon_delete_conf("media_icon_advanced"); -
extensions/Media_Icon/template/media_icon.css
r19427 r19647 1 1 .media_icon { 2 width: 60px;3 height: 60px;2 width: 50px !important; 3 height: 50px !important; 4 4 z-index:99; 5 5 position: absolute; -
extensions/Media_Icon/template/media_icon.tpl
r19427 r19647 1 {combine_script id="jquery" load="header"} 1 2 {html_head} 2 3 {literal} … … 10 11 {$media_icon_advanced.yposition}; 11 12 {literal} 12 } 13 } 14 .thumbnails .wrap2 A { 15 position: relative; 16 17 } 13 18 </style> 14 19 <script type="text/javascript">
Note: See TracChangeset
for help on using the changeset viewer.