Changeset 10357 for extensions/Icons_Set
- Timestamp:
- Apr 13, 2011, 4:19:22 PM (13 years ago)
- Location:
- extensions/Icons_Set
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Icons_Set/icons/sylvia/icon_admin.css
r10339 r10357 4 4 } 5 5 6 #iconBox_sylvia .pwg-icon a:hover{6 #iconBox_sylvia a:hover .pwg-icon { 7 7 background-image: url(outline_ff7700.png); 8 8 } -
extensions/Icons_Set/main.inc.php
r10334 r10357 29 29 function load_set() 30 30 { 31 global $template, $user, $conf; 32 $conf_iconset = @unserialize($conf['iconset']);//pwg_db_real_escape_string(serialize($conf_iconset)) 33 $conf_themes=$conf_iconset['themes']; 34 $conf_icons=$conf_iconset['icons']; 35 if (isset($user['theme']) and is_array($conf_themes) and array_key_exists($user['theme'], $conf_themes) and !empty($conf_themes[$user['theme']]) and file_exists(ICONS_PATH.$conf_themes[$user['theme']]) ) 31 if (!defined('IN_ADMIN') or !IN_ADMIN) 36 32 { 37 include ICONS_PATH.$conf_themes[$user['theme']]; 38 $template->func_combine_css(array( 39 'path' => $iconsetconf['css_file'], 40 'order' => 100, 41 ), 42 $smarty 43 ); 44 33 global $template, $user, $conf; 34 $conf_iconset = @unserialize($conf['iconset']);//pwg_db_real_escape_string(serialize($conf_iconset)) 35 $conf_themes=$conf_iconset['themes']; 36 $conf_icons=$conf_iconset['icons']; 37 if (isset($user['theme']) and is_array($conf_themes) and array_key_exists($user['theme'], $conf_themes) and !empty($conf_themes[$user['theme']]) and file_exists(ICONS_PATH.$conf_themes[$user['theme']]) ) 38 { 39 include ICONS_PATH.$conf_themes[$user['theme']]; 40 $template->func_combine_css(array( 41 'path' => $iconsetconf['css_file'], 42 'order' => 100, 43 ), 44 $smarty 45 ); 46 } 45 47 } 46 48
Note: See TracChangeset
for help on using the changeset viewer.