Make WordPress Core


Ignore:
Timestamp:
08/25/2008 10:17:41 AM (17 years ago)
Author:
azaozz
Message:

Some 'Show on screen' metabox settings styling, see #7552

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r8720 r8726  
    13681368    $hidden = (array) get_user_option( "meta-box-hidden_$page" );
    13691369
    1370     echo '<ul class="metabox-prefs">';
    13711370    foreach ( array_keys($wp_meta_boxes[$page]) as $context ) {
    13721371        foreach ( array_keys($wp_meta_boxes[$page][$context]) as $priority ) {
     
    13771376                echo '<label for="' . $box_id . '-hide">';
    13781377                echo '<input class="hide-postbox-tog" name="' . $box_id . '-hide" type="checkbox" id="' . $box_id . '-hide" value="' . $box_id . '"' . (! in_array($box_id, $hidden) ? ' checked="checked"' : '') . ' />';
    1379                 echo "{$box['title']}</label>";
     1378                echo "{$box['title']}</label>\n";
    13801379            }
    13811380        }
    13821381    }
    1383     echo '</ul>';
    13841382}
    13851383?>
Note: See TracChangeset for help on using the changeset viewer.