Changeset 19329


Ignore:
Timestamp:
12/08/12 12:00:44 (7 years ago)
Author:
julien1311
Message:

minor changes

Location:
extensions/Media_Icon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/Media_Icon/admin/admin_general.php

    r19324 r19329  
    2424); 
    2525         
    26 //add a stylesheet 
    27 $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.MEDIA_ICON_PATH.'template/media_icon.css">'); 
    28 $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.MEDIA_ICON_PATH.'template/'.$conf_media_icon_general['style'].'_media_icon.css">'); 
    29          
    3026//Add our template to the global template 
    3127$template->set_filenames( 
     
    3733//Assign the template contents to ADMIN_CONTENT 
    3834$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 
     35 
     36add_event_handler('loc_end_page_header', 'media_icon_admin_css'); 
     37function media_icon_admin_css() { 
     38        global $template, $conf; 
     39         
     40        $conf_media_icon_general = unserialize($conf['media_icon_general']); 
     41         
     42        //add a stylesheet 
     43        $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.MEDIA_ICON_PATH.'template/media_icon.css">'); 
     44        $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.MEDIA_ICON_PATH.'template/'.$conf_media_icon_general['style'].'_media_icon.css">'); 
     45} 
    3946?> 
  • extensions/Media_Icon/template/media_icon_picture.tpl

    r19324 r19329  
    2020{/literal} 
    2121        position: absolute; 
     22        {$media_icon_advanced.xposition}; 
    2223        {$media_icon_advanced.yposition}; 
    23         {$media_icon_advanced.xposition}; 
    2424{literal} 
    2525} 
  • extensions/Media_Icon/template/media_icon_thumbnails.tpl

    r19324 r19329  
    2020{/literal} 
    2121        position: absolute; 
     22        {$media_icon_advanced.xposition}; 
    2223        {$media_icon_advanced.yposition}; 
    23         {$media_icon_advanced.xposition}; 
    2424{literal} 
    2525} 
Note: See TracChangeset for help on using the changeset viewer.