WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/23/2012 09:41:00 PM (9 years ago)
Author:
azaozz
Message:

Responsive columns on the dashboard and write screens, first run, see #20015

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-form.php

    r19514 r20272  
    7676wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
    7777
    78 <div id="poststuff" class="metabox-holder<?php echo 1 != $screen_layout_columns ? ' has-right-sidebar' : ''; ?>">
    79 <div id="side-info-column" class="inner-sidebar">
    80 <?php
    81 if ( 1 != $screen_layout_columns ) {
    82     do_action('submitlink_box');
    83     $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
    84 }
    85 ?>
    86 </div>
     78<div id="poststuff">
    8779
    88 <div id="post-body">
     80<div id="post-body" class="metabox-holder columns-<?php echo 1 == $screen_layout_columns ? '1' : '2'; ?>">
    8981<div id="post-body-content">
    9082<div id="namediv" class="stuffbox">
     
    111103</div>
    112104</div>
     105</div><!-- /post-body-content -->
    113106
     107<div id="postbox-container-1" class="postbox-container">
    114108<?php
    115109
    116 if ( 1 == $screen_layout_columns ) {
    117     do_action('submitlink_box');
    118     $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
    119 }
     110do_action('submitlink_box');
     111$side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
     112
     113?>
     114</div>
     115<div id="postbox-container-2" class="postbox-container">
     116<?php
    120117
    121118do_meta_boxes(null, 'normal', $link);
    122119
    123120do_meta_boxes(null, 'advanced', $link);
     121
     122?>
     123</div>
     124<?php
    124125
    125126if ( $link_id ) : ?>
     
    134135</div>
    135136</div>
    136 </div>
    137137
    138138</form>
Note: See TracChangeset for help on using the changeset viewer.