Ignore:
Timestamp:
Dec 8, 2012, 8:56:24 PM (11 years ago)
Author:
julien1311
Message:

bug css

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Media_Icon/thumbnails.php

    r19325 r19338  
    11<?php
    2 add_event_handler('loc_end_page_header', 'media_icon_thumbnails_css');
    32add_event_handler('loc_end_index_thumbnails', 'media_icon_thumbnails');
    43
     
    3635        return $content;
    3736}
    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 stylesheet
    45         $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 }
    4837?>
Note: See TracChangeset for help on using the changeset viewer.