Changeset 19329 for extensions/Media_Icon/admin/admin_general.php
- Timestamp:
- Dec 8, 2012, 12:00:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Media_Icon/admin/admin_general.php
r19324 r19329 24 24 ); 25 25 26 //add a stylesheet27 $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 30 26 //Add our template to the global template 31 27 $template->set_filenames( … … 37 33 //Assign the template contents to ADMIN_CONTENT 38 34 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 35 36 add_event_handler('loc_end_page_header', 'media_icon_admin_css'); 37 function 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 } 39 46 ?>
Note: See TracChangeset
for help on using the changeset viewer.