Changeset 10869 for trunk/wp-admin/admin-header.php
- Timestamp:
- 04/04/2009 05:07:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r10868 r10869 60 60 61 61 $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix); 62 ?>63 62 64 <noscript> 65 <style type="text/css"> 66 .hide-if-no-js{display:none} 67 .hide-if-js,.closed .inside{display:block} 68 </style> 69 </noscript> 63 if ( $is_iphone ) { ?> 64 <style type="text/css">.row-actions{visibility:visible;}</style> 65 <?php } ?> 66 </head> 67 <body class="wp-admin no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>"> 70 68 <script type="text/javascript"> 71 69 //<![CDATA[ 72 70 (function(){ 73 var ns = document.getElementsByTagName('noscript'); 74 if ( ns && (ns = ns[0]) ) ns.parentNode.removeChild(ns); 71 var c = document.body.className; 72 c = c.replace(/no-js/, 'js'); 73 <?php if ( get_user_setting('mfold') == 'f' ) { ?> 74 c += ' folded'; 75 <?php } ?> 76 document.body.className = c; 75 77 })(); 76 78 //]]> 77 79 </script> 78 79 <?php if ( $is_iphone ) { ?>80 <style type="text/css">.row-actions{visibility:visible;}</style>81 <?php } ?>82 </head>83 <body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>">84 80 85 81 <div id="wpwrap"> … … 119 115 </div> 120 116 121 <?php if ( get_user_setting('mfold') == 'f' ) { ?>122 <script type="text/javascript">jQuery('#wpcontent').addClass('folded');</script>123 <?php } ?>124 125 117 <div id="wpbody"> 126 118 <?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
Note: See TracChangeset
for help on using the changeset viewer.