Changeset 9363
- Timestamp:
- 10/27/2008 01:22:24 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 19 edited
-
admin-header.php (modified) (3 diffs)
-
categories.php (modified) (2 diffs)
-
css/colors-fresh.css (modified) (1 diff)
-
css/global.css (modified) (3 diffs)
-
edit-comments.php (modified) (1 diff)
-
edit-form-advanced.php (modified) (1 diff)
-
edit-link-categories.php (modified) (2 diffs)
-
edit-link-form.php (modified) (1 diff)
-
edit-page-form.php (modified) (1 diff)
-
edit-pages.php (modified) (1 diff)
-
edit-tags.php (modified) (2 diffs)
-
edit.php (modified) (1 diff)
-
includes/template.php (modified) (1 diff)
-
index.php (modified) (1 diff)
-
link-manager.php (modified) (2 diffs)
-
menu-header.php (modified) (1 diff)
-
upload.php (modified) (1 diff)
-
users.php (modified) (2 diffs)
-
wp-admin.css (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r9359 r9363 74 74 <div id="wphead"> 75 75 <?php 76 $settings_pages = array( 'categories.php', 'edit.php', 'edit-comments.php', 'edit-form-advanced.php', 'edit-link-categories.php', 'edit-link-form.php', 'edit-page-form.php', 'edit-tags.php', 'link-manager.php', 'upload.php', 'users.php', 'edit-pages.php', 'post-new.php', 'post.php', 'page-new.php', 'page.php', 'index.php' );77 76 $blog_name = get_bloginfo('name', 'display'); 78 77 if ( '' == $blog_name ) … … 80 79 ?> 81 80 82 <img id="logo50" src="images/wp-logo.gif" alt="" /> <h1><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit site') ?>"><?php echo $blog_name ?></a> 83 <?php if ( false === strpos($_SERVER['REQUEST_URI'], 'page=') && in_array( $pagenow, $settings_pages ) ) { ?> 84 85 <span id="screen-options-link-wrap" class="hide-if-no-js screen-options-closed"> 86 <span id="screen-options"> 87 <a href="#screen-options" id="show-settings-link" class="show-settings"><?php _e('Screen Options') ?></a> 88 <a href="#screen-options" id="hide-settings-link" class="show-settings" style="display:none;"><?php _e('Hide Options') ?></a> 89 </span> 90 </span> 91 <?php } ?></h1> 81 <img id="logo50" src="images/wp-logo.gif" alt="" /> <h1><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit site') ?>"><?php echo $blog_name ?></a></h1> 92 82 93 83 <div id="wphead-info"> … … 99 89 <?php favorite_actions(); ?> 100 90 </div> 101 102 91 </div> 103 92 104 <?php105 require(ABSPATH . 'wp-admin/menu-header.php');106 ?>107 93 <div id="wpbody"> 94 <?php require(ABSPATH . 'wp-admin/menu-header.php'); ?> 95 108 96 <div id="wpbody-content"> 109 97 <?php -
trunk/wp-admin/categories.php
r9354 r9363 132 132 ?> 133 133 134 <div id="screen-options-wrap" class="hidden"> 135 <h5><?php _e('Show on screen') ?></h5> 136 <form id="adv-settings" action="" method="get"> 137 <div class="metabox-prefs"> 138 <?php manage_columns_prefs('category') ?> 139 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 140 <br class="clear" /> 141 </div></form> 142 </div> 134 <?php screen_options('category') ?> 143 135 144 136 <?php … … 148 140 endif; ?> 149 141 150 <div class="wrap ">151 <h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2>142 <div class="wrap nosubsub"> 143 <h2><?php echo wp_specialchars( $title ); ?></h2> 152 144 153 145 <form class="search-form topmargin" action="" method="get"> -
trunk/wp-admin/css/colors-fresh.css
r9345 r9363 808 808 809 809 #screen-options-wrap { 810 background-color: #E4F2FD; 811 border-color: #c6d9e9; 810 background-color: #f1f1f1; 811 border-color: #dfdfdf; 812 } 813 814 #screen-options a.show-settings { 815 color: #606060; 812 816 } 813 817 -
trunk/wp-admin/css/global.css
r9339 r9363 14 14 #wpbody-content { 15 15 overflow: hidden; 16 padding-top: 10px;17 16 } 18 17 … … 164 163 .subsubsub { 165 164 list-style: none; 166 margin: 0; 167 padding: 0; 168 position: relative; 169 top: -5px; 165 margin: 0 0 5px; 166 padding: 0; 170 167 white-space: nowrap; 171 168 font-size: 12px; … … 297 294 298 295 .wrap h2 { 299 clear: both;300 296 font: italic normal normal 24px/29px Georgia, "Times New Roman", Times, serif; 301 margin: 5px 0 10px;302 padding: 8px 15px 4px 0;297 margin: 0; 298 padding: 20px 15px 10px 0; 303 299 } 304 300 -
trunk/wp-admin/edit-comments.php
r9341 r9363 82 82 $search = attribute_escape( $search_dirty ); ?> 83 83 84 <div id="screen-options-wrap" class="hidden"> 85 <h5><?php _e('Show on screen') ?></h5> 86 <form id="adv-settings" action="" method="get"> 87 <div class="metabox-prefs"> 88 <?php manage_columns_prefs('comment') ?> 89 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 90 <br class="clear" /> 91 </div></form> 92 </div> 84 <?php screen_options('comment') ?> 93 85 94 86 <?php -
trunk/wp-admin/edit-form-advanced.php
r9319 r9363 460 460 ?> 461 461 462 <div id="screen-options-wrap" class="hidden"> 463 <h5><?php _e('Show on screen') ?></h5> 464 <form id="adv-settings" action="" method="get"> 465 <div class="metabox-prefs"> 466 <?php meta_box_prefs('post') ?> 467 <br class="clear" /> 468 </div></form> 469 </div> 462 <?php screen_options('post', 1) ?> 470 463 471 464 <?php if ( $notice ) : ?> -
trunk/wp-admin/edit-link-categories.php
r9354 r9363 61 61 $messages[6] = __('Categories deleted.'); ?> 62 62 63 <div id="screen-options-wrap" class="hidden"> 64 <h5><?php _e('Show on screen') ?></h5> 65 <form id="adv-settings" action="" method="get"> 66 <div class="metabox-prefs"> 67 <?php manage_columns_prefs('link-category') ?> 68 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 69 <br class="clear" /> 70 </div></form> 71 </div> 63 <?php screen_options('link-category') ?> 72 64 73 65 <?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?> … … 76 68 endif; ?> 77 69 78 <div class="wrap ">79 <h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2>80 81 <form class="search-form topmargin" action="" method="get">70 <div class="wrap nosubsub"> 71 <h2><?php echo wp_specialchars( $title ); ?></h2> 72 73 <form class="search-form" action="" method="get"> 82 74 <p class="search-box"> 83 75 <label class="hidden" for="category-search-input"><?php _e( 'Search Categories' ); ?>:</label> -
trunk/wp-admin/edit-link-form.php
r9319 r9363 310 310 add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', 'link', 'normal', 'core'); ?> 311 311 312 <div id="screen-options-wrap" class="hidden"> 313 <h5><?php _e('Show on screen') ?></h5> 314 <form id="adv-settings" action="" method="get"> 315 <div class="metabox-prefs"> 316 <?php meta_box_prefs('link') ?> 317 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 318 <br class="clear" /> 319 </div></form> 320 </div> 312 <?php screen_options('link', 1) ?> 321 313 322 314 <div class="wrap"> -
trunk/wp-admin/edit-page-form.php
r9332 r9363 350 350 ?> 351 351 352 <div id="screen-options-wrap" class="hidden"> 353 <h5><?php _e('Show on screen') ?></h5> 354 <form id="adv-settings" action="" method="get"> 355 <div class="metabox-prefs"> 356 <?php meta_box_prefs('page') ?> 357 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 358 <br class="clear" /> 359 </div></form> 360 </div> 352 <?php screen_options('page', 1); ?> 361 353 362 354 <div class="wrap"> -
trunk/wp-admin/edit-pages.php
r9351 r9363 101 101 require_once('admin-header.php'); ?> 102 102 103 <div id="screen-options-wrap" class="hidden"> 104 <h5><?php _e('Show on screen') ?></h5> 105 <form id="adv-settings" action="" method="get"> 106 <div class="metabox-prefs"> 107 <?php manage_columns_prefs('page') ?> 108 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 109 <br class="clear" /> 110 </div></form> 111 </div> 103 <?php screen_options('page') ?> 112 104 113 105 <?php if ( isset($_GET['locked']) || isset($_GET['skipped']) || isset($_GET['updated']) ) { ?> -
trunk/wp-admin/edit-tags.php
r9345 r9363 130 130 $messages[6] = __('Tags deleted.'); ?> 131 131 132 <div id="screen-options-wrap" class="hidden"> 133 <h5><?php _e('Show on screen') ?></h5> 134 <form id="adv-settings" action="" method="get"> 135 <div class="metabox-prefs"> 136 <?php manage_columns_prefs('tag') ?> 137 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 138 <br class="clear" /> 139 </div></form> 140 </div> 132 <?php screen_options('tag') ?> 141 133 142 134 <?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?> … … 145 137 endif; ?> 146 138 147 <div class="wrap ">148 <h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2>149 150 <form class="search-form topmargin" action="" method="get">139 <div class="wrap nosubsub"> 140 <h2><?php echo wp_specialchars( $title ); ?></h2> 141 142 <form class="search-form" action="" method="get"> 151 143 <p class="search-box"> 152 144 <label class="hidden" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label> -
trunk/wp-admin/edit.php
r9331 r9363 91 91 $mode = attribute_escape($_GET['mode']); ?> 92 92 93 <div id="screen-options-wrap" class="hidden"> 94 <h5><?php _e('Show on screen') ?></h5> 95 <form id="adv-settings" action="" method="get"> 96 <div class="metabox-prefs"> 97 <?php manage_columns_prefs('post') ?> 98 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 99 <br class="clear" /> 100 </div></form> 101 </div> 93 <?php screen_options('post') ?> 102 94 103 95 <?php -
trunk/wp-admin/includes/template.php
r9350 r9363 3091 3091 } 3092 3092 3093 function screen_options($screen, $metabox = false) { 3093 3094 ?> 3095 <div id="screen-options"> 3096 <div id="screen-options-wrap" class="hidden"> 3097 <h5><?php _e('Show on screen') ?></h5> 3098 <form id="adv-settings" action="" method="get"> 3099 <div class="metabox-prefs"> 3100 <?php 3101 if ( $metabox ) { 3102 meta_box_prefs($screen); 3103 } else { 3104 manage_columns_prefs($screen); 3105 wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); 3106 } 3107 ?> 3108 <br class="clear" /> 3109 </div></form> 3110 </div> 3111 3112 <div id="screen-options-link-wrap" class="hide-if-no-js screen-options-closed"> 3113 <a href="#screen-options" id="show-settings-link" class="show-settings"><?php _e('Screen Options') ?></a> 3114 <a href="#screen-options" id="hide-settings-link" class="show-settings" style="display:none;"><?php _e('Hide Options') ?></a> 3115 </div> 3116 </div> 3117 <?php 3118 } 3119 3120 ?> -
trunk/wp-admin/index.php
r9319 r9363 29 29 ?> 30 30 31 <div id="screen-options-wrap" class="hidden"> 32 <h5><?php _e('Show on screen') ?></h5> 33 <form id="adv-settings" action="" method="get"> 34 <div class="metabox-prefs"> 35 <?php meta_box_prefs('dashboard') ?> 36 <br class="clear" /> 37 </div></form> 38 </div> 31 <?php screen_options('dashboard', 1); ?> 39 32 40 33 <div class="wrap"> -
trunk/wp-admin/link-manager.php
r9341 r9363 75 75 } ?> 76 76 77 <div id="screen-options-wrap" class="hidden"> 78 <h5><?php _e('Show on screen') ?></h5> 79 <form id="adv-settings" action="" method="get"> 80 <div class="metabox-prefs"> 81 <?php manage_columns_prefs('link') ?> 82 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 83 <br class="clear" /> 84 </div></form> 85 </div> 77 <?php screen_options('link') ?> 86 78 87 79 <?php … … 95 87 ?> 96 88 97 <div class="wrap ">98 <h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2>99 100 <form class="search-form topmargin" action="" method="get">89 <div class="wrap nosubsub"> 90 <h2><?php echo wp_specialchars( $title ); ?></h2> 91 92 <form class="search-form" action="" method="get"> 101 93 <p class="search-box"> 102 94 <label class="hidden" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label> 103 95 <input type="text" class="search-input" id="link-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 104 <input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button " />96 <input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button-primary" /> 105 97 </p> 106 98 </form> -
trunk/wp-admin/menu-header.php
r9337 r9363 130 130 ?> 131 131 132 <ul id="adminmenu" class="wp-menu">132 <ul id="adminmenu"> 133 133 134 134 <?php -
trunk/wp-admin/upload.php
r9341 r9363 146 146 require_once('admin-header.php'); ?> 147 147 148 <div id="screen-options-wrap" class="hidden"> 149 <h5><?php _e('Show on screen') ?></h5> 150 <form id="adv-settings" action="" method="get"> 151 <div class="metabox-prefs"> 152 <?php manage_columns_prefs('media') ?> 153 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 154 <br class="clear" /> 155 </div></form> 156 </div> 148 <?php screen_options('media') ?> 157 149 158 150 <?php -
trunk/wp-admin/users.php
r9347 r9363 238 238 endif; ?> 239 239 240 <div id="screen-options-wrap" class="hidden"> 241 <h5><?php _e('Show on screen') ?></h5> 242 <form id="adv-settings" action="" method="get"> 243 <div class="metabox-prefs"> 244 <?php manage_columns_prefs('user') ?> 245 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 246 <br class="clear" /> 247 </div></form> 248 </div> 240 <?php screen_options('user') ?> 249 241 250 242 <?php if ( isset($errors) && is_wp_error( $errors ) ) : ?> … … 313 305 <label class="hidden" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label> 314 306 <input type="text" class="search-input" id="user-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" /> 315 <input type="submit" value="<?php _e( 'Search Users' ); ?>" class="button " />307 <input type="submit" value="<?php _e( 'Search Users' ); ?>" class="button-primary" /> 316 308 </p> 317 309 </form> -
trunk/wp-admin/wp-admin.css
r9354 r9363 1020 1020 } 1021 1021 1022 /* 1022 1023 #wpbody ul.wp-menu { 1023 1024 list-style: none; … … 1043 1044 color: #666; 1044 1045 } 1045 1046 */ 1046 1047 /* end menu stuff */ 1047 1048 … … 1407 1408 .ac_match { 1408 1409 text-decoration: underline; 1409 }1410 1411 .wrap h2.floatedh2 {1412 float: left;1413 margin: 5px 0;1414 1410 } 1415 1411 … … 1753 1749 p.search-box { 1754 1750 float: right; 1755 margin: -10px 0 0; 1756 } 1757 1758 .topmargin p.search-box { 1759 margin-top: 25px; 1751 margin: -5px 0 0; 1752 } 1753 1754 #wpbody-content .nosubsub p.search-box { 1755 margin-top: -12px; 1756 } 1757 1758 #wpbody-content .nosubsub h2 { 1759 padding-bottom: 0; 1760 1760 } 1761 1761 … … 2259 2259 2260 2260 /* show/hide settings */ 2261 2262 #screen-options { 2263 position: relative; 2264 clear: both; 2265 } 2266 2267 #wpbody { 2268 clear: both; 2269 } 2270 2261 2271 #screen-options-link-wrap { 2262 background: url( images/screen-options-left.gif ) no-repeat 0 0; 2272 float: right; 2273 background: transparent url( images/screen-options-left.gif ) no-repeat 0 0; 2263 2274 font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 2264 2275 height: 23px; 2265 position: absolute; 2276 padding: 0; 2277 position: relative; 2266 2278 right: 100px; 2267 top: 46px; 2268 padding: 0 0 0 8px; 2269 } 2270 2271 #screen-options { 2272 vertical-align: middle; 2279 top: -1px; 2280 } 2281 2282 #screen-options a.show-settings { 2283 text-decoration: none; 2284 z-index: 1; 2285 padding: 0 18px 0 8px; 2273 2286 height: 23px; 2274 2287 line-height: 23px; 2275 2288 font-size: 11px; 2276 background: url( images/screen-options-right.gif ) no-repeat 100% 0;2277 2289 display: block; 2278 padding-right: 20px; 2279 } 2280 2281 .screen-options-open #screen-options { 2282 background: url( images/screen-options-right-up.gif ) no-repeat 100% 0; 2283 } 2284 2285 #screen-options a.show-settings { 2286 color: #666; 2287 text-decoration: none; 2288 z-index: 1; 2289 float: left; 2290 margin-left: -8px; 2291 padding-left: 8px; 2292 margin-right: -20px; 2293 padding-right: 20px; 2290 background-repeat: no-repeat; 2291 background-position: right top; 2292 background-color: tarnsparent; 2293 } 2294 2295 #screen-options a#show-settings-link { 2296 background-image: url( images/screen-options-right.gif ); 2297 } 2298 2299 #screen-options a#hide-settings-link { 2300 background-image: url( images/screen-options-right-up.gif ); 2294 2301 } 2295 2302 … … 2308 2315 border-top: 0 none; 2309 2316 border-width: 0 1px 1px; 2310 margin: -10px 15px 10px;2317 margin: 0 15px; 2311 2318 -moz-border-radius: 0 0 4px 4px; 2312 2319 -webkit-border-bottom-left-radius: 4px;
Note: See TracChangeset
for help on using the changeset viewer.