Changeset 19338 for extensions/Media_Icon/thumbnails.php
- Timestamp:
- Dec 8, 2012, 8:56:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Media_Icon/thumbnails.php
r19325 r19338 1 1 <?php 2 add_event_handler('loc_end_page_header', 'media_icon_thumbnails_css');3 2 add_event_handler('loc_end_index_thumbnails', 'media_icon_thumbnails'); 4 3 … … 36 35 return $content; 37 36 } 38 39 function media_icon_thumbnails_css() {40 global $template, $conf;41 42 $conf_media_icon_general = unserialize($conf['media_icon_general']);43 44 //add a stylesheet45 $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.MEDIA_ICON_PATH.'template/media_icon.css">');46 $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.MEDIA_ICON_PATH.'template/'.$conf_media_icon_general['style'].'_media_icon.css">');47 }48 37 ?>
Note: See TracChangeset
for help on using the changeset viewer.