Changeset 2503:fd451ccbaa59 for inc
- Timestamp:
- 10/29/13 16:31:16 (12 years ago)
- Branch:
- 2.6
- Children:
- 2504:d81b0e204d62, 2506:39edf8aaacef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r2487 r2503 16 16 class dcPage 17 17 { 18 private static $loaded_js =array();18 private static $loaded_js = array(); 19 19 private static $N_TYPES = array( 20 "success" => "success", 21 "warning" => "warning-msg", 22 "error" => "error", 23 "message" => "message", 20 "success" => "success", 21 "warning" => "warning-msg", 22 "error" => "error", 23 "message" => "message", 24 24 "static" => "static-msg"); 25 25 … … 29 29 global $core; 30 30 31 if ($core->blog && $core->auth->check($permissions,$core->blog->id)) 32 { 31 if ($core->blog && $core->auth->check($permissions,$core->blog->id)) { 33 32 return; 34 33 } … … 114 113 $user_ui_hide_std_favicon = $core->auth->user_prefs->interface->hide_std_favicon; 115 114 if (!$user_ui_hide_std_favicon) { 116 echo 115 echo 117 116 '<link rel="icon" type="image/png" href="images/favicon96-login.png" />'. 118 117 '<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />'; … … 213 212 $notifications = array(); 214 213 } 215 214 216 215 $n = array_merge($options,array('class' => $class,'ts' => time(), 'text' => $message)); 217 216 if ($type != "static") { … … 566 565 "</script>\n"; 567 566 } 568 567 569 568 public static function jsCommon() 570 569 { … … 597 596 self::jsVar('dotclear.img_menu_on','images/menu_on.png'). 598 597 self::jsVar('dotclear.img_menu_off','images/menu_off.png'). 599 598 600 599 self::jsVar('dotclear.img_plus_theme_src','images/plus-theme.png'). 601 600 self::jsVar('dotclear.img_plus_theme_alt',__('uncover')). … … 677 676 self::jsVar('dotclear.msg.confirm_delete_backup', 678 677 __('Are you sure you want to delete this backup?')). 678 self::jsVar('dotclear.msg.confirm_revert_backup', 679 __('Are you sure you want to revert to this backup?')). 679 680 self::jsVar('dotclear.msg.zip_file_content', 680 681 __('Zip file content')). … … 746 747 $default = "'".html::escapeJS($default)."'"; 747 748 } 748 749 749 750 return 750 751 self::jsLoad('js/jquery/jquery.pageTabs.js').
Note: See TracChangeset
for help on using the changeset viewer.