WordPress.org

Make WordPress Core

Ticket #16413: 16413.3.diff

File 16413.3.diff, 168.5 KB (added by andrewryno, 3 years ago)
  • wp-admin/network.php

     
    211211                <p><?php _e( 'Please choose whether you would like sites in your WordPress network to use sub-domains or sub-directories. <strong>You cannot change this later.</strong>' ); ?></p> 
    212212                <p><?php _e( 'You will need a wildcard DNS record if you are going to use the virtual host (sub-domain) functionality.' ); ?></p> 
    213213                <?php // @todo: Link to an MS readme? ?> 
    214                 <table class="form-table"> 
    215                         <tr> 
    216                                 <th><label><input type='radio' name='subdomain_install' value='1'<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></th> 
    217                                 <td><?php printf( _x( 'like <code>site1.%1$s</code> and <code>site2.%1$s</code>', 'subdomain examples' ), $hostname ); ?></td> 
    218                         </tr> 
    219                         <tr> 
    220                                 <th><label><input type='radio' name='subdomain_install' value='0'<?php checked( ! $subdomain_install ); ?> /> <?php _e( 'Sub-directories' ); ?></label></th> 
    221                                 <td><?php printf( _x( 'like <code>%1$s/site1</code> and <code>%1$s/site2</code>', 'subdirectory examples' ), $hostname ); ?></td> 
    222                         </tr> 
    223                 </table> 
     214                <div class="form-fields"> 
     215                        <div class="field-row"> 
     216                                <div class="field-label"><label><input type='radio' name='subdomain_install' value='1'<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></div> 
     217                                <div class="field-input"><?php printf( _x( 'like <code>site1.%1$s</code> and <code>site2.%1$s</code>', 'subdomain examples' ), $hostname ); ?></div> 
     218                        </div> 
     219                        <div class="field-row"> 
     220                                <div class="field-label"><label><input type='radio' name='subdomain_install' value='0'<?php checked( ! $subdomain_install ); ?> /> <?php _e( 'Sub-directories' ); ?></label></div> 
     221                                <div class="field-input"><?php printf( _x( 'like <code>%1$s/site1</code> and <code>%1$s/site2</code>', 'subdirectory examples' ), $hostname ); ?></div> 
     222                        </div> 
     223                </div> 
    224224 
    225225<?php 
    226226        endif; 
     
    230230                ?> 
    231231                <h3><?php esc_html_e( 'Server Address' ); ?></h3> 
    232232                <p><?php printf( __( 'We recommend you change your siteurl to <code>%1$s</code> before enabling the network feature. It will still be possible to visit your site using the <code>www</code> prefix with an address like <code>%2$s</code> but any links will not have the <code>www</code> prefix.' ), substr( $hostname, 4 ), $hostname ); ?></p> 
    233                 <table class="form-table"> 
    234                         <tr> 
    235                                 <th scope='row'><?php esc_html_e( 'Server Address' ); ?></th> 
    236                                 <td> 
     233                <div class="form-fields"> 
     234                        <div class="field-row"> 
     235                                <div class="field-label"><?php esc_html_e( 'Server Address' ); ?></div> 
     236                                <div class="field-input"> 
    237237                                        <?php printf( __( 'The internet address of your network will be <code>%s</code>.' ), $hostname ); ?> 
    238                                 </td> 
    239                         </tr> 
    240                 </table> 
     238                                </div> 
     239                        </div> 
     240                </div> 
    241241                <?php endif; ?> 
    242242 
    243243                <h3><?php esc_html_e( 'Network Details' ); ?></h3> 
    244                 <table class="form-table"> 
     244                <div class="form-fields"> 
    245245                <?php if ( 'localhost' == $hostname ) : ?> 
    246                         <tr> 
    247                                 <th scope="row"><?php esc_html_e( 'Sub-directory Install' ); ?></th> 
    248                                 <td><?php 
     246                        <div class="field-row"> 
     247                                <div class="field-label"><?php esc_html_e( 'Sub-directory Install' ); ?></div> 
     248                                <div class="field-input"><?php 
    249249                                        _e( 'Because you are using <code>localhost</code>, the sites in your WordPress network must use sub-directories. Consider using <code>localhost.localdomain</code> if you wish to use sub-domains.' ); 
    250250                                        // Uh oh: 
    251251                                        if ( !allow_subdirectory_install() ) 
    252252                                                echo ' <strong>' . __( 'Warning!' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>'; 
    253                                 ?></td> 
    254                         </tr> 
     253                                ?></div> 
     254                        </div> 
    255255                <?php elseif ( !allow_subdomain_install() ) : ?> 
    256                         <tr> 
    257                                 <th scope="row"><?php esc_html_e( 'Sub-directory Install' ); ?></th> 
    258                                 <td><?php 
     256                        <div class="field-row"> 
     257                                <div class="field-label"><?php esc_html_e( 'Sub-directory Install' ); ?></div> 
     258                                <div class="field-input"><?php 
    259259                                        _e( 'Because your install is in a directory, the sites in your WordPress network must use sub-directories.' ); 
    260260                                        // Uh oh: 
    261261                                        if ( !allow_subdirectory_install() ) 
    262262                                                echo ' <strong>' . __( 'Warning!' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>'; 
    263                                 ?></td> 
    264                         </tr> 
     263                                ?></div> 
     264                        </div> 
    265265                <?php elseif ( !allow_subdirectory_install() ) : ?> 
    266                         <tr> 
    267                                 <th scope="row"><?php esc_html_e( 'Sub-domain Install' ); ?></th> 
    268                                 <td><?php _e( 'Because your install is not new, the sites in your WordPress network must use sub-domains.' ); 
     266                        <div class="field-row"> 
     267                                <div class="field-label"><?php esc_html_e( 'Sub-domain Install' ); ?></div> 
     268                                <div class="field-input"><?php _e( 'Because your install is not new, the sites in your WordPress network must use sub-domains.' ); 
    269269                                        echo ' <strong>' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>'; 
    270                                 ?></td> 
    271                         </tr> 
     270                                ?></div> 
     271                        </div> 
    272272                <?php endif; ?> 
    273273                <?php if ( ! $is_www ) : ?> 
    274                         <tr> 
    275                                 <th scope='row'><?php esc_html_e( 'Server Address' ); ?></th> 
    276                                 <td> 
     274                        <div class="field-row"> 
     275                                <div class="field-label"><?php esc_html_e( 'Server Address' ); ?></div> 
     276                                <div class="field-input"> 
    277277                                        <?php printf( __( 'The internet address of your network will be <code>%s</code>.' ), $hostname ); ?> 
    278                                 </td> 
    279                         </tr> 
     278                                </div> 
     279                        </div> 
    280280                <?php endif; ?> 
    281                         <tr> 
    282                                 <th scope='row'><?php esc_html_e( 'Network Title' ); ?></th> 
    283                                 <td> 
     281                        <div class="field-row"> 
     282                                <div class="field-label"><?php esc_html_e( 'Network Title' ); ?></div> 
     283                                <div class="field-input"> 
    284284                                        <input name='sitename' type='text' size='45' value='<?php echo esc_attr( $site_name ); ?>' /> 
    285285                                        <br /><?php _e( 'What would you like to call your network?' ); ?> 
    286                                 </td> 
    287                         </tr> 
    288                         <tr> 
    289                                 <th scope='row'><?php esc_html_e( 'Admin E-mail Address' ); ?></th> 
    290                                 <td> 
     286                                </div> 
     287                        </div> 
     288                        <div class="field-row"> 
     289                                <div class="field-label"><?php esc_html_e( 'Admin E-mail Address' ); ?></div> 
     290                                <div class="field-input"> 
    291291                                        <input name='email' type='text' size='45' value='<?php echo esc_attr( $admin_email ); ?>' /> 
    292292                                        <br /><?php _e( 'Your email address.' ); ?> 
    293                                 </td> 
    294                         </tr> 
    295                 </table> 
     293                                </div> 
     294                        </div> 
     295                </div> 
    296296                <?php submit_button( __( 'Install' ), 'primary', 'submit' ); ?> 
    297297        </form> 
    298298        <?php 
  • wp-admin/options-privacy.php

     
    3434<form method="post" action="options.php"> 
    3535<?php settings_fields('privacy'); ?> 
    3636 
    37 <table class="form-table"> 
    38 <tr valign="top"> 
    39 <th scope="row"><?php _e( 'Site Visibility' ); ?> </th> 
    40 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Site Visibility' ); ?> </span></legend> 
     37<div class="form-fields"> 
     38<div class="field-row"> 
     39<div class="field-label"><?php _e( 'Site Visibility' ); ?> </div> 
     40<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Site Visibility' ); ?> </span></legend> 
    4141<input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> /> 
    4242<label for="blog-public"><?php _e( 'Allow search engines to index this site.' );?></label><br/> 
    4343<input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> /> 
    4444<label for="blog-norobots"><?php _e( 'Ask search engines not to index this site.' ); ?></label> 
    4545<p class="description"><?php _e( 'Note: Neither of these options blocks access to your site &mdash; it is up to search engines to honor your request.' ); ?></p> 
    4646<?php do_action('blog_privacy_selector'); ?> 
    47 </fieldset></td> 
    48 </tr> 
     47</fieldset></div> 
     48</div> 
    4949<?php do_settings_fields('privacy', 'default'); ?> 
    50 </table> 
     50</div> 
    5151 
    5252<?php do_settings_sections('privacy'); ?> 
    5353 
  • wp-admin/includes/file.php

     
    10181018        } 
    10191019        _e('If you do not remember your credentials, you should contact your web host.'); 
    10201020?></p> 
    1021 <table class="form-table"> 
    1022 <tr valign="top"> 
    1023 <th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th> 
    1024 <td><input name="hostname" type="text" id="hostname" value="<?php echo esc_attr($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php disabled( defined('FTP_HOST') ); ?> size="40" /></td> 
    1025 </tr> 
     1021<div class="form-fields"> 
     1022<div class="field-row"> 
     1023<div class="field-label"><label for="hostname"><?php _e('Hostname') ?></label></div> 
     1024<div class="field-input"><input name="hostname" type="text" id="hostname" value="<?php echo esc_attr($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php disabled( defined('FTP_HOST') ); ?> size="40" /></div> 
     1025</div> 
    10261026 
    1027 <tr valign="top"> 
    1028 <th scope="row"><label for="username"><?php echo $label_user; ?></label></th> 
    1029 <td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td> 
    1030 </tr> 
     1027<div class="field-row"> 
     1028<div class="field-label"><label for="username"><?php echo $label_user; ?></label></div> 
     1029<div class="field-input"><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></div> 
     1030</div> 
    10311031 
    1032 <tr valign="top"> 
    1033 <th scope="row"><label for="password"><?php echo $label_pass; ?></label></th> 
    1034 <td><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></td> 
    1035 </tr> 
     1032<div class="field-row"> 
     1033<div class="field-label"><label for="password"><?php echo $label_pass; ?></label></div> 
     1034<div class="field-input"><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></div> 
     1035</div> 
    10361036 
    10371037<?php if ( isset($types['ssh']) ) : ?> 
    1038 <tr id="ssh_keys" valign="top" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>"> 
    1039 <th scope="row"><?php _e('Authentication Keys') ?> 
     1038<div id="ssh_keys" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>"> 
     1039<div class="field-label"><?php _e('Authentication Keys') ?> 
    10401040<div class="key-labels textright"> 
    10411041<label for="public_key"><?php _e('Public Key:') ?></label ><br /> 
    10421042<label for="private_key"><?php _e('Private Key:') ?></label> 
    1043 </div></th> 
    1044 <td><br /><input name="public_key" type="text" id="public_key" value="<?php echo esc_attr($public_key) ?>"<?php disabled( defined('FTP_PUBKEY') ); ?> size="40" /><br /><input name="private_key" type="text" id="private_key" value="<?php echo esc_attr($private_key) ?>"<?php disabled( defined('FTP_PRIKEY') ); ?> size="40" /> 
    1045 <div><?php _e('Enter the location on the server where the keys are located. If a passphrase is needed, enter that in the password field above.') ?></div></td> 
    1046 </tr> 
     1043</div></div> 
     1044<div class="field-input"><br /><input name="public_key" type="text" id="public_key" value="<?php echo esc_attr($public_key) ?>"<?php disabled( defined('FTP_PUBKEY') ); ?> size="40" /><br /><input name="private_key" type="text" id="private_key" value="<?php echo esc_attr($private_key) ?>"<?php disabled( defined('FTP_PRIKEY') ); ?> size="40" /> 
     1045<div><?php _e('Enter the location on the server where the keys are located. If a passphrase is needed, enter that in the password field above.') ?></div></div> 
     1046</div> 
    10471047<?php endif; ?> 
    10481048 
    1049 <tr valign="top"> 
    1050 <th scope="row"><?php _e('Connection Type') ?></th> 
    1051 <td> 
     1049<div class="field-row"> 
     1050<div class="field-label"><?php _e('Connection Type') ?></div> 
     1051<div class="field-input"> 
    10521052<fieldset><legend class="screen-reader-text"><span><?php _e('Connection Type') ?></span></legend> 
    10531053<?php 
    10541054        $disabled = disabled( (defined('FTP_SSL') && FTP_SSL) || (defined('FTP_SSH') && FTP_SSH), true, false ); 
     
    10591059        </label> 
    10601060        <?php endforeach; ?> 
    10611061</fieldset> 
    1062 </td> 
    1063 </tr> 
    1064 </table> 
     1062</div> 
     1063</div> 
     1064</div> 
    10651065 
    10661066<?php 
    10671067foreach ( (array) $extra_fields as $field ) { 
  • wp-admin/includes/meta-boxes.php

     
    756756 */ 
    757757function link_xfn_meta_box($link) { 
    758758?> 
    759 <table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5"> 
    760         <tr> 
    761                 <th style="width: 20%;" scope="row"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('rel:') ?></label></th> 
    762                 <td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo ( isset( $link->link_rel ) ? esc_attr($link->link_rel) : ''); ?>" /></td> 
    763         </tr> 
    764         <tr> 
    765                 <td colspan="2"> 
    766                         <table cellpadding="3" cellspacing="5" class="form-table"> 
    767                                 <tr> 
    768                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th> 
    769                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend> 
    770                                                 <label for="me"> 
    771                                                 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 
    772                                                 <?php _e('another web address of mine') ?></label> 
    773                                         </fieldset></td> 
    774                                 </tr> 
    775                                 <tr> 
    776                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th> 
    777                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend> 
    778                                                 <label for="contact"> 
    779                                                 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label> 
    780                                                 <label for="acquaintance"> 
    781                                                 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check('friendship', 'acquaintance'); ?> />  <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('acquaintance') ?></label> 
    782                                                 <label for="friend"> 
    783                                                 <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friend') ?></label> 
    784                                                 <label for="friendship"> 
    785                                                 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
    786                                         </fieldset></td> 
    787                                 </tr> 
    788                                 <tr> 
    789                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th> 
    790                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend> 
    791                                                 <label for="met"> 
    792                                                 <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> 
    793                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label> 
    794                                         </fieldset></td> 
    795                                 </tr> 
    796                                 <tr> 
    797                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th> 
    798                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend> 
    799                                                 <label for="co-worker"> 
    800                                                 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> 
    801                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label> 
    802                                                 <label for="colleague"> 
    803                                                 <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> /> 
    804                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('colleague') ?></label> 
    805                                         </fieldset></td> 
    806                                 </tr> 
    807                                 <tr> 
    808                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th> 
    809                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend> 
    810                                                 <label for="co-resident"> 
    811                                                 <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> /> 
    812                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label> 
    813                                                 <label for="neighbor"> 
    814                                                 <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check('geographical', 'neighbor'); ?> /> 
    815                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('neighbor') ?></label> 
    816                                                 <label for="geographical"> 
    817                                                 <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical'); ?> /> 
    818                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
    819                                         </fieldset></td> 
    820                                 </tr> 
    821                                 <tr> 
    822                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th> 
    823                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend> 
    824                                                 <label for="child"> 
    825                                                 <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?>  /> 
    826                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label> 
    827                                                 <label for="kin"> 
    828                                                 <input class="valinp" type="radio" name="family" value="kin" id="kin" <?php xfn_check('family', 'kin'); ?>  /> 
    829                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('kin') ?></label> 
    830                                                 <label for="parent"> 
    831                                                 <input class="valinp" type="radio" name="family" value="parent" id="parent" <?php xfn_check('family', 'parent'); ?> /> 
    832                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('parent') ?></label> 
    833                                                 <label for="sibling"> 
    834                                                 <input class="valinp" type="radio" name="family" value="sibling" id="sibling" <?php xfn_check('family', 'sibling'); ?> /> 
    835                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sibling') ?></label> 
    836                                                 <label for="spouse"> 
    837                                                 <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check('family', 'spouse'); ?> /> 
    838                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('spouse') ?></label> 
    839                                                 <label for="family"> 
    840                                                 <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family'); ?> /> 
    841                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
    842                                         </fieldset></td> 
    843                                 </tr> 
    844                                 <tr> 
    845                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th> 
    846                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend> 
    847                                                 <label for="muse"> 
    848                                                 <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> 
    849                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label> 
    850                                                 <label for="crush"> 
    851                                                 <input class="valinp" type="checkbox" name="romantic" value="crush" id="crush" <?php xfn_check('romantic', 'crush'); ?> /> 
    852                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('crush') ?></label> 
    853                                                 <label for="date"> 
    854                                                 <input class="valinp" type="checkbox" name="romantic" value="date" id="date" <?php xfn_check('romantic', 'date'); ?> /> 
    855                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('date') ?></label> 
    856                                                 <label for="romantic"> 
    857                                                 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> /> 
    858                                                 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sweetheart') ?></label> 
    859                                         </fieldset></td> 
    860                                 </tr> 
    861                         </table> 
    862                 </td> 
    863         </tr> 
    864 </table> 
     759<div class="form-fields editform"> 
     760        <div class="field-row"> 
     761                <div class="field-label"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('rel:') ?></label></div> 
     762                <div class="field-input"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo ( isset( $link->link_rel ) ? esc_attr($link->link_rel) : ''); ?>" /></div> 
     763        </div> 
     764        <div class="field-row"> 
     765                <div class="form-fields"> 
     766                        <div class="field-row"> 
     767                                <div class="field-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </div> 
     768                                <div class="field-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend> 
     769                                        <label for="me"> 
     770                                        <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 
     771                                        <?php _e('another web address of mine') ?></label> 
     772                                </fieldset></div> 
     773                        </div> 
     774                        <div class="field-row"> 
     775                                <div class="field-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </div> 
     776                                <div class="field-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend> 
     777                                        <label for="contact"> 
     778                                        <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label> 
     779                                        <label for="acquaintance"> 
     780                                        <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check('friendship', 'acquaintance'); ?> />  <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('acquaintance') ?></label> 
     781                                        <label for="friend"> 
     782                                        <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friend') ?></label> 
     783                                        <label for="friendship"> 
     784                                        <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
     785                                </fieldset></div> 
     786                        </div> 
     787                        <div class="field-row"> 
     788                                <div class="field-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </div> 
     789                                <div class="field-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend> 
     790                                        <label for="met"> 
     791                                        <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> 
     792                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label> 
     793                                </fieldset></div> 
     794                        </div> 
     795                        <div class="field-row"> 
     796                                <div class="field-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </div> 
     797                                <div class="field-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend> 
     798                                        <label for="co-worker"> 
     799                                        <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> 
     800                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label> 
     801                                        <label for="colleague"> 
     802                                        <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> /> 
     803                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('colleague') ?></label> 
     804                                </fieldset></div> 
     805                        </div> 
     806                        <div class="field-row"> 
     807                                <div class="field-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </div> 
     808                                <div class="field-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend> 
     809                                        <label for="co-resident"> 
     810                                        <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> /> 
     811                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label> 
     812                                        <label for="neighbor"> 
     813                                        <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check('geographical', 'neighbor'); ?> /> 
     814                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('neighbor') ?></label> 
     815                                        <label for="geographical"> 
     816                                        <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical'); ?> /> 
     817                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
     818                                </fieldset></div> 
     819                        </div> 
     820                        <div class="field-row"> 
     821                                <div class="field-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </div> 
     822                                <div class="field-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend> 
     823                                        <label for="child"> 
     824                                        <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?>  /> 
     825                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label> 
     826                                        <label for="kin"> 
     827                                        <input class="valinp" type="radio" name="family" value="kin" id="kin" <?php xfn_check('family', 'kin'); ?>  /> 
     828                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('kin') ?></label> 
     829                                        <label for="parent"> 
     830                                        <input class="valinp" type="radio" name="family" value="parent" id="parent" <?php xfn_check('family', 'parent'); ?> /> 
     831                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('parent') ?></label> 
     832                                        <label for="sibling"> 
     833                                        <input class="valinp" type="radio" name="family" value="sibling" id="sibling" <?php xfn_check('family', 'sibling'); ?> /> 
     834                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sibling') ?></label> 
     835                                        <label for="spouse"> 
     836                                        <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check('family', 'spouse'); ?> /> 
     837                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('spouse') ?></label> 
     838                                        <label for="family"> 
     839                                        <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family'); ?> /> 
     840                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
     841                                </fieldset></div> 
     842                        </div> 
     843                        <div class="field-row"> 
     844                                <div class="field-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </div> 
     845                                <div class="field-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend> 
     846                                        <label for="muse"> 
     847                                        <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> 
     848                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label> 
     849                                        <label for="crush"> 
     850                                        <input class="valinp" type="checkbox" name="romantic" value="crush" id="crush" <?php xfn_check('romantic', 'crush'); ?> /> 
     851                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('crush') ?></label> 
     852                                        <label for="date"> 
     853                                        <input class="valinp" type="checkbox" name="romantic" value="date" id="date" <?php xfn_check('romantic', 'date'); ?> /> 
     854                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('date') ?></label> 
     855                                        <label for="romantic"> 
     856                                        <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> /> 
     857                                        <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sweetheart') ?></label> 
     858                                </fieldset></div> 
     859                        </div> 
     860                </div> 
     861        </div> 
     862</div> 
    865863<p><?php _e('If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out <a href="http://gmpg.org/xfn/">XFN</a>.'); ?></p> 
    866864<?php 
    867865} 
     
    876874 */ 
    877875function link_advanced_meta_box($link) { 
    878876?> 
    879 <table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5"> 
    880         <tr class="form-field"> 
    881                 <th valign="top"  scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th> 
    882                 <td><input type="text" name="link_image" class="code" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" style="width: 95%" /></td> 
    883         </tr> 
    884         <tr class="form-field"> 
    885                 <th valign="top"  scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th> 
    886                 <td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo  ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" size="50" style="width: 95%" /></td> 
    887         </tr> 
    888         <tr class="form-field"> 
    889                 <th valign="top"  scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th> 
    890                 <td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo ( isset( $link->link_notes ) ? $link->link_notes : ''); // textarea_escaped ?></textarea></td> 
    891         </tr> 
    892         <tr class="form-field"> 
    893                 <th valign="top"  scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th> 
    894                 <td><select name="link_rating" id="link_rating" size="1"> 
     877<div class="form-fields"> 
     878        <div class="field-row"> 
     879                <div class="field-label"><label for="link_image"><?php _e('Image Address') ?></label></div> 
     880                <div class="field-input"><input type="text" name="link_image" class="code" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" style="width: 95%" /></div> 
     881        </div> 
     882        <div class="field-row"> 
     883                <div class="field-label"><label for="rss_uri"><?php _e('RSS Address') ?></label></div> 
     884                <div class="field-input"><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo  ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" size="50" style="width: 95%" /></div> 
     885        </div> 
     886        <div class="field-row"> 
     887                <div class="field-label"><label for="link_notes"><?php _e('Notes') ?></label></div> 
     888                <div class="field-input"><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo ( isset( $link->link_notes ) ? $link->link_notes : ''); // textarea_escaped ?></textarea></div> 
     889        </div> 
     890        <div class="field-row"> 
     891                <div class="field-label"><label for="link_rating"><?php _e('Rating') ?></label></div> 
     892                <div class="field-input"><select name="link_rating" id="link_rating" size="1"> 
    895893                <?php 
    896894                        for ($r = 0; $r <= 10; $r++) { 
    897895                                echo('            <option value="'. esc_attr($r) .'" '); 
     
    900898                                echo('>'.$r.'</option>'); 
    901899                        } 
    902900                ?></select>&nbsp;<?php _e('(Leave at 0 for no rating.)') ?> 
    903                 </td> 
    904         </tr> 
    905 </table> 
     901                </div> 
     902        </div> 
     903</div> 
    906904<?php 
    907905} 
    908906 
  • wp-admin/includes/template.php

     
    11661166                call_user_func($section['callback'], $section); 
    11671167                if ( !isset($wp_settings_fields) || !isset($wp_settings_fields[$page]) || !isset($wp_settings_fields[$page][$section['id']]) ) 
    11681168                        continue; 
    1169                 echo '<table class="form-table">'; 
     1169                echo '<div class="form-fields">'; 
    11701170                do_settings_fields($page, $section['id']); 
    1171                 echo '</table>'; 
     1171                echo '</div>'; 
    11721172        } 
    11731173} 
    11741174 
     
    11931193                return; 
    11941194 
    11951195        foreach ( (array) $wp_settings_fields[$page][$section] as $field ) { 
    1196                 echo '<tr valign="top">'; 
     1196                echo '<div class="field-row">'; 
    11971197                if ( !empty($field['args']['label_for']) ) 
    1198                         echo '<th scope="row"><label for="' . $field['args']['label_for'] . '">' . $field['title'] . '</label></th>'; 
     1198                        echo '<div class="field-label"><label for="' . $field['args']['label_for'] . '">' . $field['title'] . '</label></div>'; 
    11991199                else 
    1200                         echo '<th scope="row">' . $field['title'] . '</th>'; 
    1201                 echo '<td>'; 
     1200                        echo '<div class="field-label">' . $field['title'] . '</div>'; 
     1201                echo '<div class="field-input">'; 
    12021202                call_user_func($field['callback'], $field['args']); 
    1203                 echo '</td>'; 
    1204                 echo '</tr>'; 
     1203                echo '</div>'; 
     1204                echo '</div>'; 
    12051205        } 
    12061206} 
    12071207 
  • wp-admin/includes/ms.php

     
    627627 
    628628function choose_primary_blog() { 
    629629        ?> 
    630         <table class="form-table"> 
    631         <tr> 
     630        <div class="form-fields"> 
     631        <div class="field-row"> 
    632632        <?php /* translators: My sites label */ ?> 
    633                 <th scope="row"><?php _e( 'Primary Site' ); ?></th> 
    634                 <td> 
     633                <div class="field-label"><?php _e( 'Primary Site' ); ?></div> 
     634                <div class="field-input"> 
    635635                <?php 
    636636                $all_blogs = get_blogs_of_user( get_current_user_id() ); 
    637637                $primary_blog = get_user_meta( get_current_user_id(), 'primary_blog', true ); 
     
    659659                        echo "N/A"; 
    660660                } 
    661661                ?> 
    662                 </td> 
    663         </tr> 
     662                </div> 
     663        </div> 
    664664        <?php if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) : ?> 
    665                 <tr> 
    666                         <th scope="row" colspan="2" class="th-full"> 
     665                <div class="field-row"> 
     666                        <div class="field-label field-full"> 
    667667                                <a href="<?php echo apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php' ) ); ?>"><?php _e( 'Create a New Site' ); ?></a> 
    668                         </th> 
    669                 </tr> 
     668                        </div> 
     669                </div> 
    670670        <?php endif; ?> 
    671         </table> 
     671        </div> 
    672672        <?php 
    673673} 
    674674 
  • wp-admin/revision.php

     
    153153 
    154154<h2 class="long-header"><?php echo $h2; ?></h2> 
    155155 
    156 <table class="form-table ie-fixed"> 
    157         <col class="th" /> 
     156<div class="form-fields ie-fixed"> 
    158157<?php if ( 'diff' == $action ) : ?> 
    159 <tr id="revision"> 
    160         <th scope="row"></th> 
    161         <th scope="col" class="th-full"> 
     158<div class="field-row" id="revision"> 
     159        <div class="field-label"></div> 
     160        <div class="field-input field-full"> 
    162161                <span class="alignleft"><?php printf( __('Older: %s'), wp_post_revision_title( $left_revision ) ); ?></span> 
    163162                <span class="alignright"><?php printf( __('Newer: %s'), wp_post_revision_title( $right_revision ) ); ?></span> 
    164         </th> 
    165 </tr> 
     163        </div> 
     164</div> 
    166165<?php endif; 
    167166 
    168167// use get_post_to_edit filters? 
     
    180179        } 
    181180        ?> 
    182181 
    183         <tr id="revision-field-<?php echo $field; ?>"> 
    184                 <th scope="row"><?php echo esc_html( $field_title ); ?></th> 
    185                 <td><div class="pre"><?php echo $content; ?></div></td> 
    186         </tr> 
     182        <div class="field-row" id="revision-field-<?php echo $field; ?>"> 
     183                <div class="field-label"><?php echo esc_html( $field_title ); ?></div> 
     184                <div class="field-input"><div class="pre"><?php echo $content; ?></div></div> 
     185        </div> 
    187186 
    188187        <?php 
    189188 
     
    193192 
    194193        ?> 
    195194 
    196         <tr><td colspan="2"><div class="updated"><p><?php _e( 'These revisions are identical.' ); ?></p></div></td></tr> 
     195        <div class="field-row"><div class="field-input field-full"><div class="updated"><p><?php _e( 'These revisions are identical.' ); ?></p></div></div></div> 
    197196 
    198197        <?php 
    199198 
     
    201200 
    202201?> 
    203202 
    204 </table> 
     203</div> 
    205204 
    206205<br class="clear" /> 
    207206 
  • wp-admin/custom-header.php

     
    475475</div> 
    476476<?php } ?> 
    477477 
    478 <table class="form-table"> 
    479 <tbody> 
    480  
    481  
    482 <tr valign="top"> 
    483 <th scope="row"><?php _e( 'Preview' ); ?></th> 
    484 <td > 
     478<div class="form-fields"> 
     479<div class="field-row"> 
     480<div class="field-label"><?php _e( 'Preview' ); ?></div> 
     481<div class="field-input"> 
    485482        <?php if ( $this->admin_image_div_callback ) { 
    486483          call_user_func( $this->admin_image_div_callback ); 
    487484        } else { 
     
    497494                <div id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></div> 
    498495        </div> 
    499496        <?php } ?> 
    500 </td> 
    501 </tr> 
     497</div> 
     498</div> 
    502499<?php if ( current_theme_supports( 'custom-header-uploads' ) ) : ?> 
    503 <tr valign="top"> 
    504 <th scope="row"><?php _e( 'Upload Image' ); ?></th> 
    505 <td> 
     500<div class="field-row"> 
     501<div class="field-label"><?php _e( 'Upload Image' ); ?></div> 
     502<div class="field-input"> 
    506503        <p><?php _e( 'You can upload a custom header image to be shown at the top of your site instead of the default one. On the next screen you will be able to crop the image.' ); ?><br /> 
    507504        <?php printf( __( 'Images of exactly <strong>%1$d &times; %2$d pixels</strong> will be used as-is.' ), HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT ); ?></p> 
    508505        <form enctype="multipart/form-data" id="upload-form" method="post" action="<?php echo esc_attr( add_query_arg( 'step', 2 ) ) ?>"> 
     
    514511                <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 
    515512        </p> 
    516513        </form> 
    517 </td> 
    518 </tr> 
     514</div> 
     515</div> 
    519516<?php endif; ?> 
    520 </tbody> 
    521 </table> 
     517</div> 
    522518 
    523519<form method="post" action="<?php echo esc_attr( add_query_arg( 'step', 1 ) ) ?>"> 
    524 <table class="form-table"> 
    525 <tbody> 
     520<div class="form-fields"> 
    526521        <?php if ( get_uploaded_header_images() ) : ?> 
    527 <tr valign="top"> 
    528 <th scope="row"><?php _e( 'Uploaded Images' ); ?></th> 
    529 <td> 
     522<div class="field-row"> 
     523<div class="field-label"><?php _e( 'Uploaded Images' ); ?></div> 
     524<div class="field-input"> 
    530525        <p><?php _e( 'You can choose one of your previously uploaded headers, or show a random one.' ) ?></p> 
    531526        <?php 
    532527                $this->show_header_selector( 'uploaded' ); 
    533528        ?> 
    534 </td> 
    535 </tr> 
     529</div> 
     530</div> 
    536531        <?php endif; 
    537532        if ( ! empty( $this->default_headers ) ) : ?> 
    538 <tr valign="top"> 
    539 <th scope="row"><?php _e( 'Default Images' ); ?></th> 
    540 <td> 
     533<div class="field-row"> 
     534<div class="field-label"><?php _e( 'Default Images' ); ?></div> 
     535<div class="field-input"> 
    541536<?php if ( current_theme_supports( 'custom-header-uploads' ) ) : ?> 
    542537        <p><?php _e( 'If you don&lsquo;t want to upload your own image, you can use one of these cool headers, or show a random one.' ) ?></p> 
    543538<?php else: ?> 
     
    546541        <?php 
    547542                $this->show_header_selector( 'default' ); 
    548543        ?> 
    549 </td> 
    550 </tr> 
     544</div> 
     545</div> 
    551546        <?php endif; 
    552547        if ( get_header_image() ) : ?> 
    553 <tr valign="top"> 
    554 <th scope="row"><?php _e( 'Remove Image' ); ?></th> 
    555 <td> 
     548<div class="field-row"> 
     549<div class="field-label"><?php _e( 'Remove Image' ); ?></div> 
     550<div class="field-input"> 
    556551        <p><?php _e( 'This will remove the header image. You will not be able to restore any customizations.' ) ?></p> 
    557552        <?php submit_button( __( 'Remove Header Image' ), 'button', 'removeheader', false ); ?> 
    558 </td> 
    559 </tr> 
     553</div> 
     554</div> 
    560555        <?php endif; 
    561556 
    562557        if ( defined( 'HEADER_IMAGE' ) && '' != HEADER_IMAGE ) : ?> 
    563 <tr valign="top"> 
    564 <th scope="row"><?php _e( 'Reset Image' ); ?></th> 
    565 <td> 
     558<div class="field-row"> 
     559<div class="field-label"><?php _e( 'Reset Image' ); ?></div> 
     560<div class="field-input"> 
    566561        <p><?php _e( 'This will restore the original header image. You will not be able to restore any customizations.' ) ?></p> 
    567562        <?php submit_button( __( 'Restore Original Header Image' ), 'button', 'resetheader', false ); ?> 
    568 </td> 
    569 </tr> 
     563</div> 
     564</div> 
    570565        <?php endif; ?> 
    571 </tbody> 
    572 </table> 
     566</div> 
    573567 
    574568        <?php if ( $this->header_text() ) : ?> 
    575 <table class="form-table"> 
    576 <tbody> 
    577 <tr valign="top" class="hide-if-no-js"> 
    578 <th scope="row"><?php _e( 'Display Text' ); ?></th> 
    579 <td> 
     569<div class="form-fields"> 
     570<div class="hide-if-no-js"> 
     571<div class="field-label"><?php _e( 'Display Text' ); ?></div> 
     572<div class="field-input"> 
    580573        <p> 
    581574        <?php $hidetext = get_theme_mod( 'header_textcolor', HEADER_TEXTCOLOR ); ?> 
    582575        <label><input type="radio" value="1" name="hidetext" id="hidetext"<?php checked( ( 'blank' == $hidetext || empty( $hidetext ) )  ? true : false ); ?> /> <?php _e( 'No' ); ?></label> 
    583576        <label><input type="radio" value="0" name="hidetext" id="showtext"<?php checked( ( 'blank' == $hidetext || empty( $hidetext ) ) ? false : true ); ?> /> <?php _e( 'Yes' ); ?></label> 
    584577        </p> 
    585 </td> 
    586 </tr> 
     578</div> 
     579</div> 
    587580 
    588 <tr valign="top" id="text-color-row"> 
    589 <th scope="row"><?php _e( 'Text Color' ); ?></th> 
    590 <td> 
     581<div id="text-color-row"> 
     582<div class="field-label"><?php _e( 'Text Color' ); ?></div> 
     583<div class="field-input"> 
    591584        <p> 
    592585                <input type="text" name="text-color" id="text-color" value="#<?php echo esc_attr( get_theme_mod( 'header_textcolor', HEADER_TEXTCOLOR ) ); ?>" /> 
    593586                <span class="description hide-if-js"><?php _e( 'If you want to hide header text, add <strong>#blank</strong> as text color.' );?></span> 
    594587                <input type="button" class="button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color' ); ?>" id="pickcolor" /> 
    595588        </p> 
    596589        <div id="color-picker" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> 
    597 </td> 
    598 </tr> 
     590</div> 
     591</div> 
    599592 
    600593        <?php if ( defined('HEADER_TEXTCOLOR') && get_theme_mod('header_textcolor') ) { ?> 
    601 <tr valign="top"> 
    602 <th scope="row"><?php _e('Reset Text Color'); ?></th> 
    603 <td> 
     594<div class="field-row"> 
     595<div class="field-label"><?php _e('Reset Text Color'); ?></div> 
     596<div class="field-input"> 
    604597        <p><?php _e( 'This will restore the original header text. You will not be able to restore any customizations.' ) ?></p> 
    605598        <?php submit_button( __( 'Restore Original Header Text' ), 'button', 'resettext', false ); ?> 
    606 </td> 
    607 </tr> 
     599</div> 
     600</div> 
    608601        <?php } ?> 
    609  
    610 </tbody> 
    611 </table> 
     602</div> 
    612603        <?php endif; 
    613604 
    614605do_action( 'custom_header_options' ); 
  • wp-admin/comment.php

     
    150150?> 
    151151<p><strong><?php _e('Caution:'); ?></strong> <?php echo $caution_msg; ?></p> 
    152152 
    153 <table class="form-table comment-ays"> 
    154 <tr class="alt"> 
    155 <th scope="row"><?php _e('Author'); ?></th> 
    156 <td><?php echo $comment->comment_author; ?></td> 
    157 </tr> 
     153<diov class="form-fields comment-ays"> 
     154<div class="field-row"> 
     155<div class="field-label"><?php _e('Author'); ?></div> 
     156<div class="field-input"><?php echo $comment->comment_author; ?></div> 
     157</div> 
    158158<?php if ( $comment->comment_author_email ) { ?> 
    159 <tr> 
    160 <th scope="row"><?php _e('E-mail'); ?></th> 
    161 <td><?php echo $comment->comment_author_email; ?></td> 
    162 </tr> 
     159<div class="field-row"> 
     160<div class="field-label"><?php _e('E-mail'); ?></div> 
     161<div class="field-input"><?php echo $comment->comment_author_email; ?></div> 
     162</div> 
    163163<?php } ?> 
    164164<?php if ( $comment->comment_author_url ) { ?> 
    165 <tr> 
    166 <th scope="row"><?php _e('URL'); ?></th> 
    167 <td><a href="<?php echo $comment->comment_author_url; ?>"><?php echo $comment->comment_author_url; ?></a></td> 
    168 </tr> 
     165<div class="field-row"> 
     166<div class="field-label"><?php _e('URL'); ?></div> 
     167<div class="field-input"><a href="<?php echo $comment->comment_author_url; ?>"><?php echo $comment->comment_author_url; ?></a></div> 
     168</div> 
    169169<?php } ?> 
    170 <tr> 
    171 <th scope="row" valign="top"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th> 
    172 <td><?php echo $comment->comment_content; ?></td> 
    173 </tr> 
    174 </table> 
     170<div class="field-row"> 
     171<div class="field-label"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></div> 
     172<div class="field-input"><?php echo $comment->comment_content; ?></div> 
     173</div> 
     174</div> 
    175175 
    176176<p><?php _e('Are you sure you want to do this?'); ?></p> 
    177177 
    178178<form action='comment.php' method='get'> 
    179179 
    180 <table width="100%"> 
    181 <tr> 
    182 <td><a class="button" href="<?php echo admin_url('edit-comments.php'); ?>"><?php esc_attr_e('No'); ?></a></td> 
    183 <td class="textright"><?php submit_button( $button, 'button' ); ?></td> 
    184 </tr> 
    185 </table> 
     180<div width="100%"> 
     181<div class="field-row"> 
     182<div class="field-input field-full"><a class="button" href="<?php echo admin_url('edit-comments.php'); ?>"><?php esc_attr_e('No'); ?></a> <?php submit_button( $button, 'button' ); ?></div> 
     183</div> 
     184</div> 
    186185 
    187186<?php wp_nonce_field( $nonce_action ); ?> 
    188187<input type='hidden' name='action' value='<?php echo esc_attr($formaction); ?>' /> 
  • wp-admin/user-new.php

     
    236236<input name="action" type="hidden" value="adduser" /> 
    237237<?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 
    238238 
    239 <table class="form-table"> 
    240         <tr class="form-field form-required"> 
    241                 <th scope="row"><label for="adduser-email"><?php echo $label; ?></label></th> 
    242                 <td><input name="email" type="text" id="adduser-email" value="" /></td> 
    243         </tr> 
    244         <tr class="form-field"> 
    245                 <th scope="row"><label for="adduser-role"><?php _e('Role'); ?></label></th> 
    246                 <td><select name="role" id="adduser-role"> 
     239<div class="form-fields"> 
     240        <div class="field-row form-required"> 
     241                <div class="field-label"><label for="adduser-email"><?php echo $label; ?></label></div> 
     242                <div class="field-input"><input name="email" type="text" id="adduser-email" value="" /></div> 
     243        </div> 
     244        <div class="field-row"> 
     245                <div class="field-label"><label for="adduser-role"><?php _e('Role'); ?></label></div> 
     246                <div class="field-input"><select name="role" id="adduser-role"> 
    247247                        <?php wp_dropdown_roles( get_option('default_role') ); ?> 
    248248                        </select> 
    249                 </td> 
    250         </tr> 
     249                </div> 
     250        </div> 
    251251<?php if ( is_super_admin() ) { ?> 
    252         <tr> 
    253                 <th scope="row"><label for="adduser-noconfirmation"><?php _e('Skip Confirmation Email') ?></label></th> 
    254                 <td><label for="adduser-noconfirmation"><input type="checkbox" name="noconfirmation" id="adduser-noconfirmation" value="1" /> <?php _e( 'Add the user without sending them a confirmation email.' ); ?></label></td> 
    255         </tr> 
     252        <div class="field-row"> 
     253                <div class="field-label"><label for="adduser-noconfirmation"><?php _e('Skip Confirmation Email') ?></label></div> 
     254                <div class="field-input"><label for="adduser-noconfirmation"><input type="checkbox" name="noconfirmation" id="adduser-noconfirmation" value="1" /> <?php _e( 'Add the user without sending them a confirmation email.' ); ?></label></div> 
     255        </div> 
    256256<?php } ?> 
    257 </table> 
     257</div> 
    258258<?php submit_button( __( 'Add Existing User '), 'primary', 'adduser', true, array( 'id' => 'addusersub' ) ); ?> 
    259259</form> 
    260260<?php 
     
    282282} 
    283283 
    284284?> 
    285 <table class="form-table"> 
    286         <tr class="form-field form-required"> 
    287                 <th scope="row"><label for="user_login"><?php _e('Username'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 
    288                 <td><input name="user_login" type="text" id="user_login" value="<?php echo esc_attr($new_user_login); ?>" aria-required="true" /></td> 
    289         </tr> 
    290         <tr class="form-field form-required"> 
    291                 <th scope="row"><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 
    292                 <td><input name="email" type="text" id="email" value="<?php echo esc_attr($new_user_email); ?>" /></td> 
    293         </tr> 
     285<div class="form-fields"> 
     286        <div class="field-row form-required"> 
     287                <div class="field-label"><label for="user_login"><?php _e('Username'); ?> <span class="description"><?php _e('(required)'); ?></span></label></div> 
     288                <div class="field-input"><input name="user_login" type="text" id="user_login" value="<?php echo esc_attr($new_user_login); ?>" aria-required="true" /></div> 
     289        </div> 
     290        <div class="field-row form-required"> 
     291                <div class="field-label"><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></div> 
     292                <div class="field-input"><input name="email" type="text" id="email" value="<?php echo esc_attr($new_user_email); ?>" /></div> 
     293        </div> 
    294294<?php if ( !is_multisite() ) { ?> 
    295         <tr class="form-field"> 
    296                 <th scope="row"><label for="first_name"><?php _e('First Name') ?> </label></th> 
    297                 <td><input name="first_name" type="text" id="first_name" value="<?php echo esc_attr($new_user_firstname); ?>" /></td> 
    298         </tr> 
    299         <tr class="form-field"> 
    300                 <th scope="row"><label for="last_name"><?php _e('Last Name') ?> </label></th> 
    301                 <td><input name="last_name" type="text" id="last_name" value="<?php echo esc_attr($new_user_lastname); ?>" /></td> 
    302         </tr> 
    303         <tr class="form-field"> 
    304                 <th scope="row"><label for="url"><?php _e('Website') ?></label></th> 
    305                 <td><input name="url" type="text" id="url" class="code" value="<?php echo esc_attr($new_user_uri); ?>" /></td> 
    306         </tr> 
     295        <div class="field-row"> 
     296                <div class="field-label"><label for="first_name"><?php _e('First Name') ?> </label></div> 
     297                <div class="field-input"><input name="first_name" type="text" id="first_name" value="<?php echo esc_attr($new_user_firstname); ?>" /></div> 
     298        </div> 
     299        <div class="field-row"> 
     300                <div class="field-label"><label for="last_name"><?php _e('Last Name') ?> </label></div> 
     301                <div class="field-input"><input name="last_name" type="text" id="last_name" value="<?php echo esc_attr($new_user_lastname); ?>" /></div> 
     302        </div> 
     303        <div class="field-row"> 
     304                <div class="field-label"><label for="url"><?php _e('Website') ?></label></div> 
     305                <div class="field-input"><input name="url" type="text" id="url" class="code" value="<?php echo esc_attr($new_user_uri); ?>" /></div> 
     306        </div> 
    307307<?php if ( apply_filters('show_password_fields', true) ) : ?> 
    308         <tr class="form-field form-required"> 
    309                 <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(twice, required)'); ?></span></label></th> 
    310                 <td><input name="pass1" type="password" id="pass1" autocomplete="off" /> 
     308        <div class="field-row form-required"> 
     309                <div class="field-label"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(twice, required)'); ?></span></label></div> 
     310                <div class="field-input"><input name="pass1" type="password" id="pass1" autocomplete="off" /> 
    311311                <br /> 
    312312                <input name="pass2" type="password" id="pass2" autocomplete="off" /> 
    313313                <br /> 
    314314                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 
    315315                <p class="description indicator-hint"><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p> 
    316                 </td> 
    317         </tr> 
    318         <tr> 
    319                 <th scope="row"><label for="send_password"><?php _e('Send Password?') ?></label></th> 
    320                 <td><label for="send_password"><input type="checkbox" name="send_password" id="send_password" <?php checked( $new_user_send_password ); ?> /> <?php _e('Send this password to the new user by email.'); ?></label></td> 
    321         </tr> 
     316                </div> 
     317        </div> 
     318        <div class="field-row"> 
     319                <div class="field-label"><label for="send_password"><?php _e('Send Password?') ?></label></div> 
     320                <div class="field-input"><label for="send_password"><input type="checkbox" name="send_password" id="send_password" <?php checked( $new_user_send_password ); ?> /> <?php _e('Send this password to the new user by email.'); ?></label></div> 
     321        </div> 
    322322<?php endif; ?> 
    323323<?php } // !is_multisite ?> 
    324         <tr class="form-field"> 
    325                 <th scope="row"><label for="role"><?php _e('Role'); ?></label></th> 
    326                 <td><select name="role" id="role"> 
     324        <div class="field-row"> 
     325                <div class="field-label"><label for="role"><?php _e('Role'); ?></label></div> 
     326                <div class="field-input"><select name="role" id="role"> 
    327327                        <?php 
    328328                        if ( !$new_user_role ) 
    329329                                $new_user_role = !empty($current_role) ? $current_role : get_option('default_role'); 
    330330                        wp_dropdown_roles($new_user_role); 
    331331                        ?> 
    332332                        </select> 
    333                 </td> 
    334         </tr> 
     333                </div> 
     334        </div> 
    335335        <?php if ( is_multisite() && is_super_admin() ) { ?> 
    336         <tr> 
    337                 <th scope="row"><label for="noconfirmation"><?php _e('Skip Confirmation Email') ?></label></th> 
    338                 <td><label for="noconfirmation"><input type="checkbox" name="noconfirmation" id="noconfirmation" value="1"  <?php checked( $new_user_ignore_pass ); ?> /> <?php _e( 'Add the user without sending them a confirmation email.' ); ?></label></td> 
    339         </tr> 
     336        <div class="field-row"> 
     337                <div class="field-label"><label for="noconfirmation"><?php _e('Skip Confirmation Email') ?></label></div> 
     338                <div class="field-input"><label for="noconfirmation"><input type="checkbox" name="noconfirmation" id="noconfirmation" value="1"  <?php checked( $new_user_ignore_pass ); ?> /> <?php _e( 'Add the user without sending them a confirmation email.' ); ?></label></div> 
     339        </div> 
    340340        <?php } ?> 
    341 </table> 
     341</div> 
    342342 
    343343<?php submit_button( __( 'Add New User '), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?> 
    344344 
  • wp-admin/options-general.php

     
    8080<form method="post" action="options.php"> 
    8181<?php settings_fields('general'); ?> 
    8282 
    83 <table class="form-table"> 
    84 <tr valign="top"> 
    85 <th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th> 
    86 <td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td> 
    87 </tr> 
    88 <tr valign="top"> 
    89 <th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th> 
    90 <td><input name="blogdescription" type="text" id="blogdescription"  value="<?php form_option('blogdescription'); ?>" class="regular-text" /> 
    91 <span class="description"><?php _e('In a few words, explain what this site is about.') ?></span></td> 
    92 </tr> 
     83<div class="form-fields"> 
     84<div class="field-row"> 
     85<div class="field-label"><label for="blogname"><?php _e('Site Title') ?></label></div> 
     86<div class="field-input"><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></div> 
     87</div> 
     88<div class="field-row"> 
     89<div class="field-label"><label for="blogdescription"><?php _e('Tagline') ?></label></div> 
     90<div class="field-input"><input name="blogdescription" type="text" id="blogdescription"  value="<?php form_option('blogdescription'); ?>" class="regular-text" /> 
     91<span class="description"><?php _e('In a few words, explain what this site is about.') ?></span></div> 
     92</div> 
    9393<?php if ( !is_multisite() ) { ?> 
    94 <tr valign="top"> 
    95 <th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></th> 
    96 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td> 
    97 </tr> 
    98 <tr valign="top"> 
    99 <th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th> 
    100 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" /> 
    101 <span class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td> 
    102 </tr> 
    103 <tr valign="top"> 
    104 <th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th> 
    105 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" /> 
    106 <span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td> 
    107 </tr> 
    108 <tr valign="top"> 
    109 <th scope="row"><?php _e('Membership') ?></th> 
    110 <td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register"> 
     94<div class="field-row"> 
     95<div class="field-label"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></div> 
     96<div class="field-input"><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></div> 
     97</div> 
     98<div class="field-row"> 
     99<div class="field-label"><label for="home"><?php _e('Site Address (URL)') ?></label></div> 
     100<div class="field-input"><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" /> 
     101<span class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></div> 
     102</div> 
     103<div class="field-row"> 
     104<div class="field-label"><label for="admin_email"><?php _e('E-mail Address') ?> </label></div> 
     105<div class="field-input"><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" /> 
     106<span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></div> 
     107</div> 
     108<div class="field-row"> 
     109<div class="field-label"><?php _e('Membership') ?></div> 
     110<div class="field-input"> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register"> 
    111111<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> /> 
    112112<?php _e('Anyone can register') ?></label> 
    113 </fieldset></td> 
    114 </tr> 
    115 <tr valign="top"> 
    116 <th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th> 
    117 <td> 
     113</fieldset></div> 
     114</div> 
     115<div class="field-row"> 
     116<div class="field-label"><label for="default_role"><?php _e('New User Default Role') ?></label></div> 
     117<div class="field-input"> 
    118118<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select> 
    119 </td> 
    120 </tr> 
     119</div> 
     120</div> 
    121121<?php } else { ?> 
    122 <tr valign="top"> 
    123 <th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th> 
    124 <td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" /> 
     122<div class="field-row"> 
     123<div class="field-label"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></div> 
     124<div class="field-input"><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" /> 
    125125<span class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span> 
    126126<?php 
    127127$new_admin_email = get_option( 'new_admin_email' ); 
     
    130130<p><?php printf( __('There is a pending change of the admin e-mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), esc_html( $new_admin_email ), esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p> 
    131131</div> 
    132132<?php endif; ?> 
    133 </td> 
    134 </tr> 
     133</div> 
     134</div> 
    135135<?php } ?> 
    136 <tr> 
     136<div class="field-row"> 
    137137<?php 
    138138$current_offset = get_option('gmt_offset'); 
    139139$tzstring = get_option('timezone_string'); 
     
    155155} 
    156156 
    157157?> 
    158 <th scope="row"><label for="timezone_string"><?php _e('Timezone') ?></label></th> 
    159 <td> 
     158<div class="field-label"><label for="timezone_string"><?php _e('Timezone') ?></label></div> 
     159<div class="field-input"> 
    160160 
    161161<select id="timezone_string" name="timezone_string"> 
    162162<?php echo wp_timezone_choice($tzstring); ?> 
     
    212212        ?> 
    213213        </span> 
    214214<?php endif; ?> 
    215 </td> 
     215</div> 
    216216 
    217 </tr> 
    218 <tr> 
    219 <th scope="row"><?php _e('Date Format') ?></th> 
    220 <td> 
     217</div> 
     218<div class="field-row"> 
     219<div class="field-label"><?php _e('Date Format') ?></div> 
     220<div class="field-input"> 
    221221        <fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend> 
    222222<?php 
    223223 
     
    246246        echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date and time formatting</a>.') . "</p>\n"; 
    247247?> 
    248248        </fieldset> 
    249 </td> 
    250 </tr> 
    251 <tr> 
    252 <th scope="row"><?php _e('Time Format') ?></th> 
    253 <td> 
     249</div> 
     250</div> 
     251<div class="field-row"> 
     252<div class="field-label"><?php _e('Time Format') ?></div> 
     253<div class="field-input"> 
    254254        <fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend> 
    255255<?php 
    256256 
     
    277277        ; 
    278278?> 
    279279        </fieldset> 
    280 </td> 
    281 </tr> 
    282 <tr> 
    283 <th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th> 
    284 <td><select name="start_of_week" id="start_of_week"> 
     280</div> 
     281</div> 
     282<div class="field-row"> 
     283<div class="field-label"><label for="start_of_week"><?php _e('Week Starts On') ?></label></div> 
     284<div class="field-input"><select name="start_of_week" id="start_of_week"> 
    285285<?php 
    286286for ($day_index = 0; $day_index <= 6; $day_index++) : 
    287287        $selected = (get_option('start_of_week') == $day_index) ? 'selected="selected"' : ''; 
    288288        echo "\n\t<option value='" . esc_attr($day_index) . "' $selected>" . $wp_locale->get_weekday($day_index) . '</option>'; 
    289289endfor; 
    290290?> 
    291 </select></td> 
    292 </tr> 
     291</select></div> 
     292</div> 
    293293<?php do_settings_fields('general', 'default'); ?> 
    294294<?php 
    295295        $languages = get_available_languages(); 
    296296        if ( is_multisite() && !empty( $languages ) ): 
    297297?> 
    298         <tr valign="top"> 
    299                 <th width="33%" scope="row"><?php _e('Site Language') ?></th> 
    300                 <td> 
     298        <div class="field-row"> 
     299                <div class="field-label"><?php _e('Site Language') ?></div> 
     300                <div class="field-input"> 
    301301                        <select name="WPLANG" id="WPLANG"> 
    302302                                <?php mu_dropdown_languages( $languages, get_option('WPLANG') ); ?> 
    303303                        </select> 
    304                 </td> 
    305         </tr> 
     304                </div> 
     305        </div> 
    306306<?php 
    307307        endif; 
    308308?> 
    309 </table> 
     309</div> 
    310310 
    311311<?php do_settings_sections('general'); ?> 
    312312 
  • wp-admin/options-media.php

     
    3939<h3><?php _e('Image sizes') ?></h3> 
    4040<p><?php _e('The sizes listed below determine the maximum dimensions in pixels to use when inserting an image into the body of a post.'); ?></p> 
    4141 
    42 <table class="form-table"> 
    43 <tr valign="top"> 
    44 <th scope="row"><?php _e('Thumbnail size') ?></th> 
    45 <td> 
     42<div class="form-fields"> 
     43<div class="field-row"> 
     44<div class="field-label"><?php _e('Thumbnail size') ?></div> 
     45<div class="field-input"> 
    4646<label for="thumbnail_size_w"><?php _e('Width'); ?></label> 
    4747<input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" class="small-text" /> 
    4848<label for="thumbnail_size_h"><?php _e('Height'); ?></label> 
    4949<input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" class="small-text" /><br /> 
    5050<input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/> 
    5151<label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label> 
    52 </td> 
    53 </tr> 
     52</div> 
     53</div> 
    5454 
    55 <tr valign="top"> 
    56 <th scope="row"><?php _e('Medium size') ?></th> 
    57 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend> 
     55<div class="field-row"> 
     56<div class="field-label"><?php _e('Medium size') ?></div> 
     57<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend> 
    5858<label for="medium_size_w"><?php _e('Max Width'); ?></label> 
    5959<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" /> 
    6060<label for="medium_size_h"><?php _e('Max Height'); ?></label> 
    6161<input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" class="small-text" /> 
    62 </fieldset></td> 
    63 </tr> 
     62</fieldset></div> 
     63</div> 
    6464 
    65 <tr valign="top"> 
    66 <th scope="row"><?php _e('Large size') ?></th> 
    67 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend> 
     65<div class="field-row"> 
     66<div class="field-label"><?php _e('Large size') ?></div> 
     67<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend> 
    6868<label for="large_size_w"><?php _e('Max Width'); ?></label> 
    6969<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" /> 
    7070<label for="large_size_h"><?php _e('Max Height'); ?></label> 
    7171<input name="large_size_h" type="text" id="large_size_h" value="<?php form_option('large_size_h'); ?>" class="small-text" /> 
    72 </fieldset></td> 
    73 </tr> 
     72</fieldset></div> 
     73</div> 
    7474 
    7575<?php do_settings_fields('media', 'default'); ?> 
    7676</table> 
    7777 
    7878<h3><?php _e('Embeds') ?></h3> 
    7979 
    80 <table class="form-table"> 
     80<div class="form-fields"> 
    8181 
    82 <tr valign="top"> 
    83 <th scope="row"><?php _e('Auto-embeds'); ?></th> 
    84 <td><fieldset><legend class="screen-reader-text"><span><?php _e('When possible, embed the media content from a URL directly onto the page. For example: links to Flickr and YouTube.'); ?></span></legend> 
     82<div class="field-row"> 
     83<div class="field-label"><?php _e('Auto-embeds'); ?></div> 
     84<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('When possible, embed the media content from a URL directly onto the page. For example: links to Flickr and YouTube.'); ?></span></legend> 
    8585<label for="embed_autourls"><input name="embed_autourls" type="checkbox" id="embed_autourls" value="1" <?php checked( '1', get_option('embed_autourls') ); ?>/> <?php _e('When possible, embed the media content from a URL directly onto the page. For example: links to Flickr and YouTube.'); ?></label> 
    86 </fieldset></td> 
    87 </tr> 
     86</fieldset></div> 
     87</div> 
    8888 
    89 <tr valign="top"> 
    90 <th scope="row"><?php _e('Maximum embed size') ?></th> 
    91 <td> 
     89<div class="field-row"> 
     90<div class="field-label"><?php _e('Maximum embed size') ?></div> 
     91<div class="field-input"> 
    9292<label for="embed_size_w"><?php _e('Width'); ?></label> 
    9393<input name="embed_size_w" type="text" id="embed_size_w" value="<?php form_option('embed_size_w'); ?>" class="small-text" /> 
    9494<label for="embed_size_h"><?php _e('Height'); ?></label> 
    9595<input name="embed_size_h" type="text" id="embed_size_h" value="<?php form_option('embed_size_h'); ?>" class="small-text" /> 
    9696<?php if ( !empty($content_width) ) echo '<br />' . __("If the width value is left blank, embeds will default to the max width of your theme."); ?> 
    97 </td> 
    98 </tr> 
     97</div> 
     98</div> 
    9999 
    100100<?php do_settings_fields('media', 'embeds'); ?> 
    101101</table> 
    102102 
    103103<?php if ( !is_multisite() ) : ?> 
    104104<h3><?php _e('Uploading Files'); ?></h3> 
    105 <table class="form-table"> 
    106 <tr valign="top"> 
    107 <th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th> 
    108 <td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" /> 
     105<div class="form-fields"> 
     106<div class="field-row"> 
     107<div class="field-label"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></div> 
     108<div class="field-input"><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" /> 
    109109<span class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span> 
    110 </td> 
    111 </tr> 
     110</div> 
     111</div> 
    112112 
    113 <tr valign="top"> 
    114 <th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th> 
    115 <td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" /> 
     113<div class="field-row"> 
     114<div class="field-label"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></div> 
     115<div class="field-input"><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" /> 
    116116<span class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></span> 
    117 </td> 
    118 </tr> 
     117</div> 
     118</div> 
    119119 
    120120<tr> 
    121 <th scope="row" colspan="2" class="th-full"> 
     121<div class="field-row"> 
    122122<label for="uploads_use_yearmonth_folders"> 
    123123<input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1"<?php checked('1', get_option('uploads_use_yearmonth_folders')); ?> /> 
    124124<?php _e('Organize my uploads into month- and year-based folders'); ?> 
    125125</label> 
    126 </th> 
    127 </tr> 
     126</div> 
    128127 
    129128<?php do_settings_fields('media', 'uploads'); ?> 
    130 </table> 
     129</div> 
    131130<?php endif; ?> 
    132131 
    133132<?php do_settings_sections('media'); ?> 
  • wp-admin/edit-form-comment.php

     
    8585<div id="namediv" class="stuffbox"> 
    8686<h3><label for="name"><?php _e( 'Author' ) ?></label></h3> 
    8787<div class="inside"> 
    88 <table class="form-table editcomment"> 
    89 <tbody> 
    90 <tr valign="top"> 
    91         <td class="first"><?php _e( 'Name:' ); ?></td> 
    92         <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" tabindex="1" id="name" /></td> 
    93 </tr> 
    94 <tr valign="top"> 
    95         <td class="first"> 
     88<div class="form-fields editcomment"> 
     89<div class="field-row"> 
     90        <div class="field-label first"><?php _e( 'Name:' ); ?></div> 
     91        <div class="field-input"><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" tabindex="1" id="name" /></div> 
     92</div> 
     93<div class="field-row"> 
     94        <div class="field-label first"> 
    9695        <?php 
    9796                if ( $comment->comment_author_email ) { 
    9897                        printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) ); 
    9998                } else { 
    10099                        _e( 'E-mail:' ); 
    101100                } 
    102 ?></td> 
    103         <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td> 
    104 </tr> 
    105 <tr valign="top"> 
    106         <td class="first"> 
     101?></div> 
     102        <div class="field-input"><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></div> 
     103</div> 
     104<div class="field-row"> 
     105        <div class="field-label first"> 
    107106        <?php 
    108107                if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { 
    109108                        $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('visit site') . '</a>'; 
    110109                        printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); 
    111110                } else { 
    112111                        _e( 'URL:' ); 
    113                 } ?></td> 
    114         <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" tabindex="3" /></td> 
    115 </tr> 
    116 </tbody> 
    117 </table> 
     112                } ?></div> 
     113        <div class="field-input"><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" tabindex="3" /></div> 
     114</div> 
     115</div> 
    118116<br /> 
    119117</div> 
    120118</div> 
  • wp-admin/edit-tag-form.php

     
    3535<input type="hidden" name="tag_ID" value="<?php echo esc_attr($tag->term_id) ?>" /> 
    3636<input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy) ?>" /> 
    3737<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?> 
    38         <table class="form-table"> 
    39                 <tr class="form-field form-required"> 
    40                         <th scope="row" valign="top"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th> 
    41                         <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /> 
    42                         <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td> 
    43                 </tr> 
     38        <div class="form-fields"> 
     39                <div class="field-label form-required"> 
     40                        <div class="field-label"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></div> 
     41                        <div class="field-input"><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /> 
     42                        <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></div> 
     43                </div> 
    4444<?php if ( !global_terms_enabled() ) { ?> 
    45                 <tr class="form-field"> 
    46                         <th scope="row" valign="top"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th> 
    47                         <td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug)); ?>" size="40" /> 
    48                         <p class="description"><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td> 
    49                 </tr> 
     45                <div class="field-label"> 
     46                        <div class="field-label"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></div> 
     47                        <div class="field-input"><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug)); ?>" size="40" /> 
     48                        <p class="description"><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></div> 
     49                </div> 
    5050<?php } ?> 
    5151<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> 
    52                 <tr class="form-field"> 
    53                         <th scope="row" valign="top"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th> 
    54                         <td> 
     52                <div class="field-label"> 
     53                        <div class="field-label"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></div> 
     54                        <div class="field-input"> 
    5555                                <?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?><br /> 
    5656                                <?php if ( 'category' == $taxonomy ) : ?> 
    5757                                <span class="description"><?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?></span> 
    5858                                <?php endif; ?> 
    59                         </td> 
    60                 </tr> 
     59                        </div> 
     60                </div> 
    6161<?php endif; // is_taxonomy_hierarchical() ?> 
    62                 <tr class="form-field"> 
    63                         <th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th> 
    64                         <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $tag->description; // textarea_escaped ?></textarea><br /> 
    65                         <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td> 
    66                 </tr> 
     62                <div class="field-label"> 
     63                        <div class="field-label"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></div> 
     64                        <div class="field-input"><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $tag->description; // textarea_escaped ?></textarea><br /> 
     65                        <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></div> 
     66                </div> 
    6767                <?php 
    6868                // Back compat hooks 
    6969                if ( 'category' == $taxonomy ) 
     
    7575 
    7676                do_action($taxonomy . '_edit_form_fields', $tag, $taxonomy); 
    7777                ?> 
    78         </table> 
     78        </div> 
    7979<?php 
    8080// Back compat hooks 
    8181if ( 'category' == $taxonomy ) 
  • wp-admin/network/site-new.php

     
    112112} ?> 
    113113<form method="post" action="<?php echo network_admin_url('site-new.php?action=add-site'); ?>"> 
    114114<?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ) ?> 
    115         <table class="form-table"> 
    116                 <tr class="form-field form-required"> 
    117                         <th scope="row"><?php _e( 'Site Address' ) ?></th> 
    118                         <td> 
     115        <div class="form-fields"> 
     116                <div class="field-row form-required"> 
     117                        <div class="field-label"><?php _e( 'Site Address' ) ?></div> 
     118                        <div class="field-input"> 
    119119                        <?php if ( is_subdomain_install() ) { ?> 
    120120                                <input name="blog[domain]" type="text" class="regular-text" title="<?php _e( 'Domain' ) ?>"/>.<?php echo preg_replace( '|^www\.|', '', $current_site->domain );?> 
    121121                        <?php } else { 
     
    123123                        <?php } 
    124124                        echo '<p>' . __( 'Only the characters a-z and 0-9 recommended.' ) . '</p>'; 
    125125                        ?> 
    126                         </td> 
    127                 </tr> 
    128                 <tr class="form-field form-required"> 
    129                         <th scope="row"><?php _e( 'Site Title' ) ?></th> 
    130                         <td><input name="blog[title]" type="text" class="regular-text" title="<?php _e( 'Title' ) ?>"/></td> 
    131                 </tr> 
    132                 <tr class="form-field form-required"> 
    133                         <th scope="row"><?php _e( 'Admin Email' ) ?></th> 
    134                         <td><input name="blog[email]" type="text" class="regular-text" title="<?php _e( 'Email' ) ?>"/></td> 
    135                 </tr> 
    136                 <tr class="form-field"> 
    137                         <td colspan="2"><?php _e( 'A new user will be created if the above email address is not in the database.' ) ?><br /><?php _e( 'The username and password will be mailed to this email address.' ) ?></td> 
    138                 </tr> 
    139         </table> 
     126                        </div> 
     127                </div> 
     128                <div class="field-row form-required"> 
     129                        <div class="field-label"><?php _e( 'Site Title' ) ?></div> 
     130                        <div class="field-input"><input name="blog[title]" type="text" class="regular-text" title="<?php _e( 'Title' ) ?>"/></div> 
     131                </div> 
     132                <div class="field-row form-required"> 
     133                        <div class="field-label"><?php _e( 'Admin Email' ) ?></div> 
     134                        <div class="field-input"><input name="blog[email]" type="text" class="regular-text" title="<?php _e( 'Email' ) ?>"/></div> 
     135                </div> 
     136                <div class="field-row"> 
     137                        <div class="field-input field-full"><?php _e( 'A new user will be created if the above email address is not in the database.' ) ?><br /><?php _e( 'The username and password will be mailed to this email address.' ) ?></div> 
     138                </div> 
     139        </div> 
    140140        <?php submit_button( __('Add Site'), 'primary', 'add-site' ); ?> 
    141141        </form> 
    142142</div> 
  • wp-admin/network/site-info.php

     
    114114<form method="post" action="site-info.php?action=update-site"> 
    115115        <?php wp_nonce_field( 'edit-site' ); ?> 
    116116        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    117         <table class="form-table"> 
    118                 <tr class="form-field form-required"> 
    119                         <th scope="row"><?php _e( 'Domain' ) ?></th> 
     117        <div class="form-fields"> 
     118                <div class="field-row form-required"> 
     119                        <div class="field-label"><?php _e( 'Domain' ) ?></div> 
    120120                        <?php 
    121121                        $protocol = is_ssl() ? 'https://' : 'http://'; 
    122122                        if ( $is_main_site ) { ?> 
    123                         <td><code><?php echo $protocol; echo esc_attr( $details->domain ) ?></code></td> 
     123                        <div class="field-input"><code><?php echo $protocol; echo esc_attr( $details->domain ) ?></code></div> 
    124124                        <?php } else { ?> 
    125                         <td><?php echo $protocol; ?><input name="blog[domain]" type="text" id="domain" value="<?php echo esc_attr( $details->domain ) ?>" size="33" /></td> 
     125                        <div class="field-input"><?php echo $protocol; ?><input name="blog[domain]" type="text" id="domain" value="<?php echo esc_attr( $details->domain ) ?>" size="33" /></div> 
    126126                        <?php } ?> 
    127                 </tr> 
    128                 <tr class="form-field form-required"> 
    129                         <th scope="row"><?php _e( 'Path' ) ?></th> 
     127                </div> 
     128                <div class="field-row form-required"> 
     129                        <div class="field-label"><?php _e( 'Path' ) ?></div> 
    130130                        <?php if ( $is_main_site ) { ?> 
    131                         <td><code><?php echo esc_attr( $details->path ) ?></code></td> 
     131                        <div class="field-input"><code><?php echo esc_attr( $details->path ) ?></code></div> 
    132132                        <?php } else { ?> 
    133                         <td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style='margin-bottom:5px;' /> 
    134                         <br /><input type="checkbox" style="width:20px;" name="update_home_url" value="update" <?php if ( get_blog_option( $id, 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_blog_option( $id, 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /> <?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></td> 
     133                        <div class="field-input"><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style='margin-bottom:5px;' /> 
     134                        <br /><input type="checkbox" style="width:20px;" name="update_home_url" value="update" <?php if ( get_blog_option( $id, 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_blog_option( $id, 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /> <?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></div> 
    135135                        <?php } ?> 
    136                 </tr> 
    137                 <tr class="form-field"> 
    138                         <th scope="row"><?php _ex( 'Registered', 'site' ) ?></th> 
    139                         <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ) ?>" size="40" /></td> 
    140                 </tr> 
    141                 <tr class="form-field"> 
    142                         <th scope="row"><?php _e( 'Last Updated' ); ?></th> 
    143                         <td><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ) ?>" size="40" /></td> 
    144                 </tr> 
     136                </div> 
     137                <div class="field-row"> 
     138                        <div class="field-label"><?php _ex( 'Registered', 'site' ) ?></div> 
     139                        <div class="field-input"><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ) ?>" size="40" /></div> 
     140                </div> 
     141                <div class="field-row"> 
     142                        <div class="field-label"><?php _e( 'Last Updated' ); ?></div> 
     143                        <div class="field-input"><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ) ?>" size="40" /></div> 
     144                </div> 
    145145                <?php 
    146146                $attribute_fields = array( 'public' => __( 'Public' ) ); 
    147147                if ( ! $is_main_site ) { 
     
    151151                } 
    152152                $attribute_fields['mature'] = __( 'Mature' ); 
    153153                ?> 
    154                 <tr> 
    155                         <th scope="row"><?php _e( 'Attributes' ); ?></th> 
    156                         <td> 
     154                <div class="field-row"> 
     155                        <div class="field-label"><?php _e( 'Attributes' ); ?></div> 
     156                        <div class="field-input"> 
    157157                        <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?> 
    158158                                <label><input type="checkbox" name="blog[<?php echo $field_key; ?>]" value="1" <?php checked( (bool) $details->$field_key, true ); disabled( ! in_array( $details->$field_key, array( 0, 1 ) ) ); ?> /> 
    159159                                <?php echo $field_label; ?></label><br/> 
    160160                        <?php endforeach; ?> 
    161                         </td> 
    162                 </tr> 
    163         </table> 
     161                        </div> 
     162                </div> 
     163        </div> 
    164164        <?php submit_button(); ?> 
    165165</form> 
    166166 
  • wp-admin/network/settings.php

     
    113113        <form method="post" action="settings.php"> 
    114114                <?php wp_nonce_field( 'siteoptions' ); ?> 
    115115                <h3><?php _e( 'Operational Settings' ); ?></h3> 
    116                 <table class="form-table"> 
    117                         <tr valign="top"> 
    118                                 <th scope="row"><label for="site_name"><?php _e( 'Network Name' ) ?></label></th> 
    119                                 <td> 
     116                <div class="form-fields"> 
     117                        <div class="field-row"> 
     118                                <div class="field-label"><label for="site_name"><?php _e( 'Network Name' ) ?></label></div> 
     119                                <div class="field-input"> 
    120120                                        <input name="site_name" type="text" id="site_name" class="regular-text" value="<?php echo esc_attr( $current_site->site_name ) ?>" /> 
    121121                                        <br /> 
    122122                                        <?php _e( 'What you would like to call this website.' ) ?> 
    123                                 </td> 
    124                         </tr> 
     123                                </div> 
     124                        </div> 
    125125 
    126                         <tr valign="top"> 
    127                                 <th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th> 
    128                                 <td> 
     126                        <div class="field-row"> 
     127                                <div class="field-label"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></div> 
     128                                <div class="field-input"> 
    129129                                        <input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" /> 
    130130                                        <br /> 
    131131                                        <?php printf( __( 'Registration and support emails will come from this address. An address such as <code>support@%s</code> is recommended.' ), $current_site->domain ); ?> 
    132                                 </td> 
    133                         </tr> 
    134                 </table> 
     132                                </div> 
     133                        </div> 
     134                </div> 
    135135                <h3><?php _e( 'Registration Settings' ); ?></h3> 
    136                 <table class="form-table"> 
    137                         <tr valign="top"> 
    138                                 <th scope="row"><?php _e( 'Allow new registrations' ) ?></th> 
     136                <div class="form-fields"> 
     137                        <div class="field-row"> 
     138                                <div class="field-label"><?php _e( 'Allow new registrations' ) ?></div> 
    139139                                <?php 
    140140                                if ( !get_site_option( 'registration' ) ) 
    141141                                        update_site_option( 'registration', 'none' ); 
    142142                                $reg = get_site_option( 'registration' ); 
    143143                                ?> 
    144                                 <td> 
     144                                <div class="field-input"> 
    145145                                        <label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled.' ); ?></label><br /> 
    146146                                        <label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br /> 
    147147                                        <label><input name="registration" type="radio" id="registration3" value="blog"<?php checked( $reg, 'blog') ?> /> <?php _e( 'Logged in users may register new sites.' ); ?></label><br /> 
     
    149149                                        <?php if ( is_subdomain_install() ) 
    150150                                                _e( 'If registration is disabled, please set <code>NOBLOGREDIRECT</code> in <code>wp-config.php</code> to a URL you will redirect visitors to if they visit a non-existent site.' ); 
    151151                                        ?> 
    152                                 </td> 
    153                         </tr> 
     152                                </div> 
     153                        </div> 
    154154 
    155                         <tr valign="top"> 
    156                                 <th scope="row"><?php _e( 'Registration notification' ) ?></th> 
     155                        <div class="field-row"> 
     156                                <div class="field-label"><?php _e( 'Registration notification' ) ?></div> 
    157157                                <?php 
    158158                                if ( !get_site_option( 'registrationnotification' ) ) 
    159159                                        update_site_option( 'registrationnotification', 'yes' ); 
    160160                                ?> 
    161                                 <td> 
     161                                <div class="field-input"> 
    162162                                        <label><input name="registrationnotification" type="checkbox" id="registrationnotification" value="yes"<?php checked( get_site_option( 'registrationnotification' ), 'yes' ) ?> /> <?php _e( 'Send the network admin an email notification every time someone registers a site or user account.' ) ?></label> 
    163                                 </td> 
    164                         </tr> 
     163                                </div> 
     164                        </div> 
    165165 
    166                         <tr valign="top" id="addnewusers"> 
    167                                 <th scope="row"><?php _e( 'Add New Users' ) ?></th> 
    168                                 <td> 
     166                        <div class="field-row" id="addnewusers"> 
     167                                <div class="field-label"><?php _e( 'Add New Users' ) ?></div> 
     168                                <div class="field-input"> 
    169169                                        <label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ) ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users &rarr; Add New" page.' ); ?></label> 
    170                                 </td> 
    171                         </tr> 
     170                                </div> 
     171                        </div> 
    172172 
    173                         <tr valign="top"> 
    174                                 <th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></th> 
    175                                 <td> 
     173                        <div class="field-row"> 
     174                                <div class="field-label"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></div> 
     175                                <div class="field-input"> 
    176176                                        <input name="illegal_names" type="text" id="illegal_names" class="large-text" value="<?php echo esc_attr( implode( " ", (array) get_site_option( 'illegal_names' ) ) ); ?>" size="45" /> 
    177177                                        <br /> 
    178178                                        <?php _e( 'Users are not allowed to register these sites. Separate names by spaces.' ) ?> 
    179                                 </td> 
    180                         </tr> 
     179                                </div> 
     180                        </div> 
    181181 
    182                         <tr valign="top"> 
    183                                 <th scope="row"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></th> 
    184                                 <td> 
     182                        <div class="field-row"> 
     183                                <div class="field-label"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></div> 
     184                                <div class="field-input"> 
    185185                                        <?php $limited_email_domains = get_site_option( 'limited_email_domains' ); 
    186186                                        $limited_email_domains = str_replace( ' ', "\n", $limited_email_domains ); ?> 
    187187                                        <textarea name="limited_email_domains" id="limited_email_domains" cols="45" rows="5"> 
    188188<?php echo esc_textarea( $limited_email_domains == '' ? '' : implode( "\n", (array) $limited_email_domains ) ); ?></textarea> 
    189189                                        <br /> 
    190190                                        <?php _e( 'If you want to limit site registrations to certain domains. One domain per line.' ) ?> 
    191                                 </td> 
    192                         </tr> 
     191                                </div> 
     192                        </div> 
    193193 
    194                         <tr valign="top"> 
    195                                 <th scope="row"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></th> 
    196                                 <td> 
     194                        <div class="field-row"> 
     195                                <div class="field-label"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></div> 
     196                                <div class="field-input"> 
    197197                                        <textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5"> 
    198198<?php echo esc_textarea( get_site_option( 'banned_email_domains' ) == '' ? '' : implode( "\n", (array) get_site_option( 'banned_email_domains' ) ) ); ?></textarea> 
    199199                                        <br /> 
    200200                                        <?php _e( 'If you want to ban domains from site registrations. One domain per line.' ) ?> 
    201                                 </td> 
    202                         </tr> 
     201                                </div> 
     202                        </div> 
    203203 
    204                 </table> 
     204                </div> 
    205205                <h3><?php _e('New Site Settings'); ?></h3> 
    206                 <table class="form-table"> 
     206                <div class="form-fields"> 
    207207 
    208                         <tr valign="top"> 
    209                                 <th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></th> 
    210                                 <td> 
     208                        <div class="field-row"> 
     209                                <div class="field-label"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></div> 
     210                                <div class="field-input"> 
    211211                                        <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text"> 
    212212<?php echo esc_textarea( stripslashes( get_site_option( 'welcome_email' ) ) ) ?></textarea> 
    213213                                        <br /> 
    214214                                        <?php _e( 'The welcome email sent to new site owners.' ) ?> 
    215                                 </td> 
    216                         </tr> 
    217                         <tr valign="top"> 
    218                                 <th scope="row"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></th> 
    219                                 <td> 
     215                                </div> 
     216                        </div> 
     217                        <div class="field-row"> 
     218                                <div class="field-label"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></div> 
     219                                <div class="field-input"> 
    220220                                        <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text"> 
    221221<?php echo esc_textarea( stripslashes( get_site_option( 'welcome_user_email' ) ) ) ?></textarea> 
    222222                                        <br /> 
    223223                                        <?php _e( 'The welcome email sent to new users.' ) ?> 
    224                                 </td> 
    225                         </tr> 
    226                         <tr valign="top"> 
    227                                 <th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th> 
    228                                 <td> 
     224                                </div> 
     225                        </div> 
     226                        <div class="field-row"> 
     227                                <div class="field-label"><label for="first_post"><?php _e( 'First Post' ) ?></label></div> 
     228                                <div class="field-input"> 
    229229                                        <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text"> 
    230230<?php echo esc_textarea( stripslashes( get_site_option( 'first_post' ) ) ) ?></textarea> 
    231231                                        <br /> 
    232232                                        <?php _e( 'The first post on a new site.' ) ?> 
    233                                 </td> 
    234                         </tr> 
    235                         <tr valign="top"> 
    236                                 <th scope="row"><label for="first_page"><?php _e( 'First Page' ) ?></label></th> 
    237                                 <td> 
     233                                </div> 
     234                        </div> 
     235                        <div class="field-row"> 
     236                                <div class="field-label"><label for="first_page"><?php _e( 'First Page' ) ?></label></div> 
     237                                <div class="field-input"> 
    238238                                        <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text"> 
    239239<?php echo esc_textarea( stripslashes( get_site_option('first_page') ) ) ?></textarea> 
    240240                                        <br /> 
    241241                                        <?php _e( 'The first page on a new site.' ) ?> 
    242                                 </td> 
    243                         </tr> 
    244                         <tr valign="top"> 
    245                                 <th scope="row"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></th> 
    246                                 <td> 
     242                                </div> 
     243                        </div> 
     244                        <div class="field-row"> 
     245                                <div class="field-label"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></div> 
     246                                <div class="field-input"> 
    247247                                        <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text"> 
    248248<?php echo esc_textarea( stripslashes( get_site_option('first_comment') ) ) ?></textarea> 
    249249                                        <br /> 
    250250                                        <?php _e( 'The first comment on a new site.' ) ?> 
    251                                 </td> 
    252                         </tr> 
    253                         <tr valign="top"> 
    254                                 <th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th> 
    255                                 <td> 
     251                                </div> 
     252                        </div> 
     253                        <div class="field-row"> 
     254                                <div class="field-label"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></div> 
     255                                <div class="field-input"> 
    256256                                        <input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" /> 
    257257                                        <br /> 
    258258                                        <?php _e( 'The author of the first comment on a new site.' ) ?> 
    259                                 </td> 
    260                         </tr> 
    261                         <tr valign="top"> 
    262                                 <th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th> 
    263                                 <td> 
     259                                </div> 
     260                        </div> 
     261                        <div class="field-row"> 
     262                                <div class="field-label"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></div> 
     263                                <div class="field-input"> 
    264264                                        <input type="text" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" /> 
    265265                                        <br /> 
    266266                                        <?php _e( 'The URL for the first comment on a new site.' ) ?> 
    267                                 </td> 
    268                         </tr> 
    269                 </table> 
     267                                </div> 
     268                        </div> 
     269                </div> 
    270270                <h3><?php _e( 'Upload Settings' ); ?></h3> 
    271                 <table class="form-table"> 
    272                         <tr valign="top"> 
    273                                 <th scope="row"><?php _e( 'Media upload buttons' ) ?></th> 
     271                <div class="form-fields"> 
     272                        <div class="field-row"> 
     273                                <div class="field-label"><?php _e( 'Media upload buttons' ) ?></div> 
    274274                                <?php $mu_media_buttons = get_site_option( 'mu_media_buttons', array() ); ?> 
    275                                 <td><label><input type="checkbox" id="mu_media_buttons_image" name="mu_media_buttons[image]" value="1"<?php checked( ! empty( $mu_media_buttons['image'] ) ) ?>/> <?php _e( 'Images' ); ?></label><br /> 
     275                                <div class="field-input"><label><input type="checkbox" id="mu_media_buttons_image" name="mu_media_buttons[image]" value="1"<?php checked( ! empty( $mu_media_buttons['image'] ) ) ?>/> <?php _e( 'Images' ); ?></label><br /> 
    276276                                <label><input type="checkbox" id="mu_media_buttons_video" name="mu_media_buttons[video]" value="1"<?php checked( ! empty( $mu_media_buttons['video'] ) ) ?>/> <?php _e( 'Videos' ); ?></label><br /> 
    277277                                <label><input type="checkbox" id="mu_media_buttons_audio" name="mu_media_buttons[audio]" value="1"<?php checked( ! empty( $mu_media_buttons['audio'] ) ) ?>/> <?php _e( 'Music' ); ?></label><br /> 
    278                                 <?php _e( 'The media upload buttons to display on the &#8220;Write Post&#8221; page. Make sure you update the allowed upload file types below as well.' ); ?></td> 
    279                         </tr> 
     278                                <?php _e( 'The media upload buttons to display on the &#8220;Write Post&#8221; page. Make sure you update the allowed upload file types below as well.' ); ?></div> 
     279                        </div> 
    280280 
    281                         <tr valign="top"> 
    282                                 <th scope="row"><?php _e( 'Site upload space' ) ?></th> 
    283                                 <td> 
     281                        <div class="field-row"> 
     282                                <div class="field-label"><?php _e( 'Site upload space' ) ?></div> 
     283                                <div class="field-input"> 
    284284                                <label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="text" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 10) ) . '" size="3" />' ); ?></label><br /> 
    285                                 </td> 
    286                         </tr> 
     285                                </div> 
     286                        </div> 
    287287 
    288                         <tr valign="top"> 
    289                                 <th scope="row"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></th> 
    290                                 <td><input name="upload_filetypes" type="text" id="upload_filetypes" class="large-text" value="<?php echo esc_attr( get_site_option('upload_filetypes', 'jpg jpeg png gif') ) ?>" size="45" /></td> 
    291                         </tr> 
     288                        <div class="field-row"> 
     289                                <div class="field-label"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></div> 
     290                                <div class="field-input"><input name="upload_filetypes" type="text" id="upload_filetypes" class="large-text" value="<?php echo esc_attr( get_site_option('upload_filetypes', 'jpg jpeg png gif') ) ?>" size="45" /></div> 
     291                        </div> 
    292292 
    293                         <tr valign="top"> 
    294                                 <th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th> 
    295                                 <td><?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="text" id="fileupload_maxk" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" size="5" />' ); ?></td> 
    296                         </tr> 
    297                 </table> 
     293                        <div class="field-row"> 
     294                                <div class="field-label"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></div> 
     295                                <div class="field-input"><?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="text" id="fileupload_maxk" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" size="5" />' ); ?></div> 
     296                        </div> 
     297                </div> 
    298298 
    299299<?php 
    300300                $languages = get_available_languages(); 
     
    302302                        $lang = get_site_option( 'WPLANG' ); 
    303303?> 
    304304                <h3><?php _e( 'Language Settings' ); ?></h3> 
    305                 <table class="form-table"> 
    306                                 <tr valign="top"> 
    307                                         <th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th> 
    308                                         <td> 
     305                <div class="form-fields"> 
     306                                <div class="field-row"> 
     307                                        <div class="field-label"><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></div> 
     308                                        <div class="field-input"> 
    309309                                                <select name="WPLANG" id="WPLANG"> 
    310310                                                        <?php mu_dropdown_languages( $languages, get_site_option( 'WPLANG' ) ); ?> 
    311311                                                </select> 
    312                                         </td> 
    313                                 </tr> 
    314                 </table> 
     312                                        </div> 
     313                                </div> 
     314                </div> 
    315315<?php 
    316316                } // languages 
    317317?> 
    318318 
    319319                <h3><?php _e( 'Menu Settings' ); ?></h3> 
    320                 <table id="menu" class="form-table"> 
    321                         <tr valign="top"> 
    322                                 <th scope="row"><?php _e( 'Enable administration menus' ); ?></th> 
    323                                 <td> 
     320                <div id="menu" class="form-fields"> 
     321                        <div class="field-row"> 
     322                                <div class="field-label"><?php _e( 'Enable administration menus' ); ?></div> 
     323                                <div class="field-input"> 
    324324                        <?php 
    325325                        $menu_perms = get_site_option( 'menu_items' ); 
    326326                        $menu_items = apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' ) ) ); 
     
    328328                                echo "<label><input type='checkbox' name='menu_items[" . $key . "]' value='1'" .  ( isset( $menu_perms[$key] ) ? checked( $menu_perms[$key], '1', false ) : '' ) . " /> " . esc_html( $val ) . "</label><br/>"; 
    329329                        } 
    330330                        ?> 
    331                                 </td> 
    332                         </tr> 
    333                 </table> 
     331                                </div> 
     332                        </div> 
     333                </div> 
    334334 
    335335                <?php do_action( 'wpmu_options' ); // Add more options here ?> 
    336336 
  • wp-admin/network/site-settings.php

     
    104104<form method="post" action="site-settings.php?action=update-site"> 
    105105        <?php wp_nonce_field( 'edit-site' ); ?> 
    106106        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    107         <table class="form-table"> 
     107        <div class="form-fields"> 
    108108                <?php 
    109109                $blog_prefix = $wpdb->get_blog_prefix( $id ); 
    110110                $options = $wpdb->get_results( "SELECT * FROM {$blog_prefix}options WHERE option_name NOT LIKE '\_%' AND option_name NOT LIKE '%user_roles'" ); 
     
    124124                        } 
    125125                        if ( strpos( $option->option_value, "\n" ) !== false ) { 
    126126                        ?> 
    127                                 <tr class="form-field"> 
    128                                         <th scope="row"><?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></th> 
    129                                         <td><textarea class="<?php echo $class; ?>" rows="5" cols="40" name="option[<?php echo esc_attr( $option->option_name ) ?>]" id="<?php echo esc_attr( $option->option_name ) ?>"<?php disabled( $disabled ) ?>><?php echo esc_textarea( $option->option_value ) ?></textarea></td> 
    130                                 </tr> 
     127                                <div class="field-row"> 
     128                                        <div class="field-label"><?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></div> 
     129                                        <div class="field-input"><textarea class="<?php echo $class; ?>" rows="5" cols="40" name="option[<?php echo esc_attr( $option->option_name ) ?>]" id="<?php echo esc_attr( $option->option_name ) ?>"<?php disabled( $disabled ) ?>><?php echo esc_textarea( $option->option_value ) ?></textarea></div> 
     130                                </div> 
    131131                        <?php 
    132132                        } else { 
    133133                        ?> 
    134                                 <tr class="form-field"> 
    135                                         <th scope="row"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th> 
     134                                <div class="field-row"> 
     135                                        <div class="field-label"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></div> 
    136136                                        <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?> 
    137                                         <td><code><?php echo esc_html( $option->option_value ) ?></code></td> 
     137                                        <div class="field-input"><code><?php echo esc_html( $option->option_value ) ?></code></div> 
    138138                                        <?php } else { ?> 
    139                                         <td><input class="<?php echo $class; ?>" name="option[<?php echo esc_attr( $option->option_name ) ?>]" type="text" id="<?php echo esc_attr( $option->option_name ) ?>" value="<?php echo esc_attr( $option->option_value ) ?>" size="40" <?php disabled( $disabled ) ?> /></td> 
     139                                        <div class="field-input"><input class="<?php echo $class; ?>" name="option[<?php echo esc_attr( $option->option_name ) ?>]" type="text" id="<?php echo esc_attr( $option->option_name ) ?>" value="<?php echo esc_attr( $option->option_value ) ?>" size="40" <?php disabled( $disabled ) ?> /></div> 
    140140                                        <?php } ?> 
    141                                 </tr> 
     141                                </div> 
    142142                        <?php 
    143143                        } 
    144144                } // End foreach 
    145145                do_action( 'wpmueditblogaction', $id ); 
    146146                ?> 
    147         </table> 
     147        </div> 
    148148        <?php submit_button(); ?> 
    149149</form> 
    150150 
  • wp-admin/network/site-users.php

     
    245245<form action="site-users.php?action=adduser" id="adduser" method="post"> 
    246246        <?php wp_nonce_field( 'edit-site' ); ?> 
    247247        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    248         <table class="form-table"> 
    249                 <tr> 
    250                         <th scope="row"><?php _e( 'Username' ); ?></th> 
    251                         <td><input type="text" class="regular-text" name="newuser" id="newuser" /></td> 
    252                 </tr> 
    253                 <tr> 
    254                         <th scope="row"><?php _e( 'Role'); ?></th> 
    255                         <td><select name="new_role" id="new_role_0"> 
     248        <div class="form-fields"> 
     249                <div class="field-row"> 
     250                        <div class="field-label"><?php _e( 'Username' ); ?></div> 
     251                        <div class="field-input"><input type="text" class="regular-text" name="newuser" id="newuser" /></div> 
     252                </div> 
     253                <div class="field-row"> 
     254                        <div class="field-label"><?php _e( 'Role'); ?></div> 
     255                        <div class="field-input"><select name="new_role" id="new_role_0"> 
    256256                        <?php 
    257257                        reset( $editblog_roles ); 
    258258                        foreach ( $editblog_roles as $role => $role_assoc ){ 
     
    261261                                echo '<option ' . $selected . ' value="' . esc_attr( $role ) . '">' . esc_html( $name ) . '</option>'; 
    262262                        } 
    263263                        ?> 
    264                         </select></td> 
    265                 </tr> 
    266         </table> 
     264                        </select></div> 
     265                </div> 
     266        </div> 
    267267        <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 
    268268        <?php submit_button( __('Add User'), 'primary', 'add-user', false, array( 'id' => 'submit-add-existing-user' ) ); ?> 
    269269</form> 
     
    274274<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> 
    275275        <?php wp_nonce_field( 'edit-site' ); ?> 
    276276        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    277         <table class="form-table"> 
    278                 <tr> 
    279                         <th scope="row"><?php _e( 'Username' ) ?></th> 
    280                         <td><input type="text" class="regular-text" name="user[username]" /></td> 
    281                 </tr> 
    282                 <tr> 
    283                         <th scope="row"><?php _e( 'Email' ) ?></th> 
    284                         <td><input type="text" class="regular-text" name="user[email]" /></td> 
    285                 </tr> 
    286                 <tr> 
    287                         <th scope="row"><?php _e( 'Role'); ?></th> 
    288                         <td><select name="new_role" id="new_role_0"> 
     277        <div class="form-fields"> 
     278                <div class="field-row"> 
     279                        <div class="field-label"><?php _e( 'Username' ) ?></div> 
     280                        <div class="field-input"><input type="text" class="regular-text" name="user[username]" /></div> 
     281                </div> 
     282                <div class="field-row"> 
     283                        <div class="field-label"><?php _e( 'Email' ) ?></div> 
     284                        <div class="field-input"><input type="text" class="regular-text" name="user[email]" /></div> 
     285                </div> 
     286                <div class="field-row"> 
     287                        <div class="field-label"><?php _e( 'Role'); ?></div> 
     288                        <div class="field-input"><select name="new_role" id="new_role_0"> 
    289289                        <?php 
    290290                        reset( $editblog_roles ); 
    291291                        foreach ( $editblog_roles as $role => $role_assoc ){ 
     
    294294                                echo '<option ' . $selected . ' value="' . esc_attr( $role ) . '">' . esc_html( $name ) . '</option>'; 
    295295                        } 
    296296                        ?> 
    297                         </select></td> 
    298                 </tr> 
    299                 <tr class="form-field"> 
    300                         <td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></td> 
    301                 </tr> 
    302         </table> 
     297                        </select></div> 
     298                </div> 
     299                <div class="field-row"> 
     300                        <div class="field-input field-full"> 
     301                                <?php _e( 'Username and password will be mailed to the above email address.' ) ?> 
     302                        </div> 
     303                </div> 
     304        </div> 
    303305        <?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ) ?> 
    304306        <?php submit_button( __('Add New User'), 'primary', 'add-user', false, array( 'id' => 'submit-add-user' ) ); ?> 
    305307</form> 
  • wp-admin/network/user-new.php

     
    8181        </div> 
    8282<?php } ?> 
    8383        <form action="<?php echo network_admin_url('user-new.php?action=add-user'); ?>" id="adduser" method="post">      
    84         <table class="form-table"> 
    85                 <tr class="form-field form-required"> 
    86                         <th scope="row"><?php _e( 'Username' ) ?></th> 
    87                         <td><input type="text" class="regular-text" name="user[username]" /></td> 
    88                 </tr> 
    89                 <tr class="form-field form-required"> 
    90                         <th scope="row"><?php _e( 'Email' ) ?></th> 
    91                         <td><input type="text" class="regular-text" name="user[email]" /></td> 
    92                 </tr> 
    93                 <tr class="form-field"> 
    94                         <td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></td> 
    95                 </tr> 
    96         </table> 
     84        <div class="form-fields"> 
     85                <div class="field-row form-required"> 
     86                        <div class="field-label"><?php _e( 'Username' ) ?></div> 
     87                        <div class="form-input"><input type="text" class="regular-text" name="user[username]" /></div> 
     88                </div> 
     89                <div class="field-row form-required"> 
     90                        <div class="field-label"><?php _e( 'Email' ) ?></div> 
     91                        <div class="form-input"><input type="text" class="regular-text" name="user[email]" /></div> 
     92                </div> 
     93                <div class="field-row"> 
     94                        <td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></div> 
     95                </div> 
     96        </div> 
    9797        <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 
    9898        <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?> 
    9999        </form> 
  • wp-admin/options-discussion.php

     
    3333<form method="post" action="options.php"> 
    3434<?php settings_fields('discussion'); ?> 
    3535 
    36 <table class="form-table"> 
    37 <tr valign="top"> 
    38 <th scope="row"><?php _e('Default article settings'); ?></th> 
    39 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend> 
     36<div class="form-fields"> 
     37<div class="field-row"> 
     38<div class="field-label"><?php _e('Default article settings'); ?></div> 
     39<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend> 
    4040<label for="default_pingback_flag"> 
    4141<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> /> 
    4242<?php _e('Attempt to notify any blogs linked to from the article'); ?></label> 
     
    5050<?php _e('Allow people to post comments on new articles'); ?></label> 
    5151<br /> 
    5252<small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small> 
    53 </fieldset></td> 
    54 </tr> 
    55 <tr valign="top"> 
    56 <th scope="row"><?php _e('Other comment settings'); ?></th> 
    57 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend> 
     53</fieldset></div> 
     54</div> 
     55<div class="field-row"> 
     56<div class="field-label"><?php _e('Other comment settings'); ?></div> 
     57<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend> 
    5858<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail'); ?></label> 
    5959<br /> 
    6060<label for="comment_registration"> 
     
    110110printf( __('Comments should be displayed with the %s comments at the top of each page'), $comment_order ); 
    111111 
    112112?></label> 
    113 </fieldset></td> 
    114 </tr> 
    115 <tr valign="top"> 
    116 <th scope="row"><?php _e('E-mail me whenever'); ?></th> 
    117 <td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever'); ?></span></legend> 
     113</fieldset></div> 
     114</div> 
     115<div class="field-row"> 
     116<div class="field-label"><?php _e('E-mail me whenever'); ?></div> 
     117<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever'); ?></span></legend> 
    118118<label for="comments_notify"> 
    119119<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> /> 
    120120<?php _e('Anyone posts a comment'); ?> </label> 
     
    122122<label for="moderation_notify"> 
    123123<input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_option('moderation_notify')); ?> /> 
    124124<?php _e('A comment is held for moderation'); ?> </label> 
    125 </fieldset></td> 
    126 </tr> 
    127 <tr valign="top"> 
    128 <th scope="row"><?php _e('Before a comment appears'); ?></th> 
    129 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend> 
     125</fieldset></div> 
     126</div> 
     127<div class="field-row"> 
     128<div class="field-label"><?php _e('Before a comment appears'); ?></div> 
     129<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend> 
    130130<label for="comment_moderation"> 
    131131<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> /> 
    132132<?php _e('An administrator must always approve the comment'); ?> </label> 
    133133<br /> 
    134134<label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment'); ?></label> 
    135 </fieldset></td> 
    136 </tr> 
    137 <tr valign="top"> 
    138 <th scope="row"><?php _e('Comment Moderation'); ?></th> 
    139 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend> 
     135</fieldset></div> 
     136</div> 
     137<div class="field-row"> 
     138<div class="field-label"><?php _e('Comment Moderation'); ?></div> 
     139<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend> 
    140140<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p> 
    141141 
    142142<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.'); ?></label></p> 
    143143<p> 
    144144<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php echo esc_textarea( get_option( 'moderation_keys' ) ); ?></textarea> 
    145145</p> 
    146 </fieldset></td> 
    147 </tr> 
    148 <tr valign="top"> 
    149 <th scope="row"><?php _e('Comment Blacklist'); ?></th> 
    150 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend> 
     146</fieldset></div> 
     147</div> 
     148<div class="field-row"> 
     149<div class="field-label"><?php _e('Comment Blacklist'); ?></div> 
     150<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend> 
    151151<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.'); ?></label></p> 
    152152<p> 
    153153<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea> 
    154154</p> 
    155 </fieldset></td> 
    156 </tr> 
     155</fieldset></div> 
     156</div> 
    157157<?php do_settings_fields('discussion', 'default'); ?> 
    158158</table> 
    159159 
     
    163163 
    164164<?php // the above would be a good place to link to codex documentation on the gravatar functions, for putting it in themes. anything like that? ?> 
    165165 
    166 <table class="form-table"> 
    167 <tr valign="top"> 
    168 <th scope="row"><?php _e('Avatar Display'); ?></th> 
    169 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend> 
     166<div class="form-fields"> 
     167<div class="field-row"> 
     168<div class="field-label"><?php _e('Avatar Display'); ?></div> 
     169<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend> 
    170170<?php 
    171171        $yesorno = array( 0 => __( 'Don&#8217;t show Avatars' ), 1 => __( 'Show Avatars' ) ); 
    172172        foreach ( $yesorno as $key => $value) { 
     
    174174                echo "\n\t<label><input type='radio' name='show_avatars' value='" . esc_attr($key) . "' $selected/> $value</label><br />"; 
    175175        } 
    176176?> 
    177 </fieldset></td> 
    178 </tr> 
    179 <tr valign="top"> 
    180 <th scope="row"><?php _e('Maximum Rating'); ?></th> 
    181 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend> 
     177</fieldset></div> 
     178</div> 
     179<div class="field-row"> 
     180<div class="field-label"><?php _e('Maximum Rating'); ?></div> 
     181<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend> 
    182182 
    183183<?php 
    184184$ratings = array( 
     
    197197endforeach; 
    198198?> 
    199199 
    200 </fieldset></td> 
    201 </tr> 
    202 <tr valign="top"> 
    203 <th scope="row"><?php _e('Default Avatar'); ?></th> 
    204 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend> 
     200</fieldset></div> 
     201</div> 
     202<div class="field-row"> 
     203<div class="field-label"><?php _e('Default Avatar'); ?></div> 
     204<div class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend> 
    205205 
    206206<?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br /> 
    207207 
     
    234234echo apply_filters('default_avatar_select', $avatar_list); 
    235235?> 
    236236 
    237 </fieldset></td> 
    238 </tr> 
     237</fieldset></div> 
     238</div> 
    239239<?php do_settings_fields('discussion', 'avatars'); ?> 
    240240</table> 
    241241 
  • wp-admin/options.php

     
    175175  <?php wp_nonce_field('options-options') ?> 
    176176  <input type="hidden" name="action" value="update" /> 
    177177  <input type='hidden' name='option_page' value='options' /> 
    178   <table class="form-table"> 
     178  <div class="form-fields"> 
    179179<?php 
    180180$options = $wpdb->get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" ); 
    181181 
     
    201201        } 
    202202        $name = esc_attr( $option->option_name ); 
    203203        echo " 
    204 <tr> 
    205         <th scope='row'><label for='$name'>" . esc_html( $option->option_name ) . "</label></th> 
    206 <td>"; 
     204<div class='field-row'> 
     205        <div class='field-label'><label for='$name'>" . esc_html( $option->option_name ) . "</label></div> 
     206<div>"; 
    207207        if ( strpos( $value, "\n" ) !== false ) 
    208208                echo "<textarea class='$class' name='$name' id='$name' cols='30' rows='5'>" . esc_textarea( $value ) . "</textarea>"; 
    209209        else 
    210210                echo "<input class='regular-text $class' type='text' name='$name' id='$name' value='" . esc_attr( $value ) . "'" . disabled( $disabled, true, false ) . " />"; 
    211         echo "</td> 
    212 </tr>"; 
     211        echo "</div> 
     212</div>"; 
    213213endforeach; 
    214214?> 
    215   </table> 
     215  </div> 
    216216 
    217217<input type="hidden" name="page_options" value="<?php echo esc_attr( implode( ',', $options_to_update ) ); ?>" /> 
    218218 
  • wp-admin/user-edit.php

     
    6262 */ 
    6363function use_ssl_preference($user) { 
    6464?> 
    65         <tr> 
    66                 <th scope="row"><?php _e('Use https')?></th> 
    67                 <td><label for="use_ssl"><input name="use_ssl" type="checkbox" id="use_ssl" value="1" <?php checked('1', $user->use_ssl); ?> /> <?php _e('Always use https when visiting the admin'); ?></label></td> 
    68         </tr> 
     65        <div class="field-row"> 
     66                <div class="field-input"><?php _e('Use https')?></div> 
     67                <div class="field-input"><label for="use_ssl"><input name="use_ssl" type="checkbox" id="use_ssl" value="1" <?php checked('1', $user->use_ssl); ?> /> <?php _e('Always use https when visiting the admin'); ?></label></div> 
     68        </div> 
    6969<?php 
    7070} 
    7171 
     
    192192 
    193193<h3><?php _e('Personal Options'); ?></h3> 
    194194 
    195 <table class="form-table"> 
     195<div class="form-fields"> 
    196196<?php if ( rich_edit_exists() && !( IS_PROFILE_PAGE && !$user_can_edit ) ) : // don't bother showing the option if the editor has been removed ?> 
    197         <tr> 
    198                 <th scope="row"><?php _e('Visual Editor')?></th> 
    199                 <td><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="false" <?php checked('false', $profileuser->rich_editing); ?> /> <?php _e('Disable the visual editor when writing'); ?></label></td> 
    200         </tr> 
     197        <div class="field-row"> 
     198                <div class="field-label"><?php _e('Visual Editor')?></div> 
     199                <div class="field-input"><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="false" <?php checked('false', $profileuser->rich_editing); ?> /> <?php _e('Disable the visual editor when writing'); ?></label></div> 
     200        </div> 
    201201<?php endif; ?> 
    202202<?php if ( count($_wp_admin_css_colors) > 1 && has_action('admin_color_scheme_picker') ) : ?> 
    203 <tr> 
    204 <th scope="row"><?php _e('Admin Color Scheme')?></th> 
    205 <td><?php do_action( 'admin_color_scheme_picker' ); ?></td> 
    206 </tr> 
     203<div class="field-row"> 
     204<div class="field-label"><?php _e('Admin Color Scheme')?></div> 
     205<div class="field-input"><?php do_action( 'admin_color_scheme_picker' ); ?></div> 
     206</div> 
    207207<?php 
    208208endif; // $_wp_admin_css_colors 
    209209if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?> 
    210 <tr> 
    211 <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th> 
    212 <td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>'); ?></td> 
    213 </tr> 
     210<div class="field-row"> 
     211<div class="field-label"><?php _e( 'Keyboard Shortcuts' ); ?></div> 
     212<div class="field-input"><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>'); ?></div> 
     213</div> 
    214214<?php endif; ?> 
    215 <tr class="show-admin-bar"> 
    216 <th scope="row"><?php _e('Show Admin Bar')?></th> 
    217 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Show Admin Bar') ?></span></legend> 
     215<div class="field-row show-admin-bar"> 
     216<div class="field-label"><?php _e('Show Admin Bar')?></div> 
     217<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Show Admin Bar') ?></span></legend> 
    218218<label for="admin_bar_front"> 
    219219<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1" <?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> /> 
    220220<?php /* translators: Show admin bar when viewing site */ _e( 'when viewing site' ); ?></label><br /> 
    221221<label for="admin_bar_admin"> 
    222222<input name="admin_bar_admin" type="checkbox" id="admin_bar_admin" value="1" <?php checked( _get_admin_bar_pref( 'admin', $profileuser->ID ) ); ?> /> 
    223223<?php /* translators: Show admin bar in dashboard */ _e( 'in dashboard' ); ?></label></fieldset> 
    224 </td> 
    225 </tr> 
     224</div> 
     225</div> 
    226226<?php do_action('personal_options', $profileuser); ?> 
    227 </table> 
     227</div> 
    228228<?php 
    229229        if ( IS_PROFILE_PAGE ) 
    230230                do_action('profile_personal_options', $profileuser); 
     
    232232 
    233233<h3><?php _e('Name') ?></h3> 
    234234 
    235 <table class="form-table"> 
    236         <tr> 
    237                 <th><label for="user_login"><?php _e('Username'); ?></label></th> 
    238                 <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr($profileuser->user_login); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e('Usernames cannot be changed.'); ?></span></td> 
    239         </tr> 
     235<div class="form-fields"> 
     236        <div class="field-row"> 
     237                <div class="field-label"><label for="user_login"><?php _e('Username'); ?></label></div> 
     238                <div class="field-input"><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr($profileuser->user_login); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e('Usernames cannot be changed.'); ?></span></div> 
     239        </div> 
    240240 
    241241<?php if ( !IS_PROFILE_PAGE && !is_network_admin() ) : ?> 
    242 <tr><th><label for="role"><?php _e('Role:') ?></label></th> 
    243 <td><select name="role" id="role"> 
     242<div class="field-row"><div class="field-label"><label for="role"><?php _e('Role:') ?></label></div> 
     243<div class="field-input"><select name="role" id="role"> 
    244244<?php 
    245245// Get the highest/primary role for this user 
    246246// TODO: create a function that does this: wp_get_user_role() 
     
    260260<?php endif; //!IS_PROFILE_PAGE 
    261261 
    262262if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_can( 'manage_network_options' ) && !isset($super_admins) ) { ?> 
    263 <tr><th><label for="role"><?php _e('Super Admin'); ?></label></th> 
    264 <td> 
     263<div class="field-row"><div class="field-label"><label for="role"><?php _e('Super Admin'); ?></label></div> 
     264<div class="field-input"> 
    265265<?php if ( $profileuser->user_email != get_site_option( 'admin_email' ) ) : ?> 
    266266<p><label><input type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( $profileuser->ID ) ); ?> /> <?php _e( 'Grant this user super admin privileges for the Network.' ); ?></label></p> 
    267267<?php else : ?> 
    268268<p><?php _e( 'Super admin privileges cannot be removed because this user has the network admin email.' ); ?></p> 
    269269<?php endif; ?> 
    270 </td></tr> 
     270</div></div> 
    271271<?php } ?> 
    272272 
    273 <tr> 
    274         <th><label for="first_name"><?php _e('First Name') ?></label></th> 
    275         <td><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr($profileuser->first_name) ?>" class="regular-text" /></td> 
    276 </tr> 
     273<div class="field-row"> 
     274        <div class="field-label"><label for="first_name"><?php _e('First Name') ?></label></div> 
     275        <div class="field-input"><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr($profileuser->first_name) ?>" class="regular-text" /></div> 
     276</div> 
    277277 
    278 <tr> 
    279         <th><label for="last_name"><?php _e('Last Name') ?></label></th> 
    280         <td><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr($profileuser->last_name) ?>" class="regular-text" /></td> 
    281 </tr> 
     278<div class="field-row"> 
     279        <div class="field-label"><label for="last_name"><?php _e('Last Name') ?></label></div> 
     280        <div class="field-input"><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr($profileuser->last_name) ?>" class="regular-text" /></div> 
     281</div> 
    282282 
    283 <tr> 
    284         <th><label for="nickname"><?php _e('Nickname'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 
    285         <td><input type="text" name="nickname" id="nickname" value="<?php echo esc_attr($profileuser->nickname) ?>" class="regular-text" /></td> 
    286 </tr> 
     283<div class="field-row"> 
     284        <div class="field-label"><label for="nickname"><?php _e('Nickname'); ?> <span class="description"><?php _e('(required)'); ?></span></label></div> 
     285        <div class="field-input"><input type="text" name="nickname" id="nickname" value="<?php echo esc_attr($profileuser->nickname) ?>" class="regular-text" /></div> 
     286</div> 
    287287 
    288 <tr> 
    289         <th><label for="display_name"><?php _e('Display name publicly as') ?></label></th> 
    290         <td> 
     288<div class="field-row"> 
     289        <div class="field-label"><label for="display_name"><?php _e('Display name publicly as') ?></label></div> 
     290        <div class="field-input"> 
    291291                <select name="display_name" id="display_name"> 
    292292                <?php 
    293293                        $public_display = array(); 
     
    318318                        } 
    319319                ?> 
    320320                </select> 
    321         </td> 
    322 </tr> 
    323 </table> 
     321        </div> 
     322</div> 
     323</div> 
    324324 
    325325<h3><?php _e('Contact Info') ?></h3> 
    326326 
    327 <table class="form-table"> 
    328 <tr> 
    329         <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 
    330         <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" /> 
     327<div class="form-fields"> 
     328<div class="field-row"> 
     329        <div class="field-label"><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></div> 
     330        <div class="field-input"><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" /> 
    331331        <?php 
    332332        $new_email = get_option( $current_user->ID . '_new_email' ); 
    333333        if ( $new_email && $new_email != $current_user->user_email ) : ?> 
     
    335335        <p><?php printf( __('There is a pending change of your e-mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), $new_email['newemail'], esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?></p> 
    336336        </div> 
    337337        <?php endif; ?> 
    338         </td> 
    339 </tr> 
     338        </div> 
     339</div> 
    340340 
    341 <tr> 
    342         <th><label for="url"><?php _e('Website') ?></label></th> 
    343         <td><input type="text" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></td> 
    344 </tr> 
     341<div class="field-row"> 
     342        <div class="field-label"><label for="url"><?php _e('Website') ?></label></div> 
     343        <div class="field-input"><input type="text" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></div> 
     344</div> 
    345345 
    346346<?php 
    347347        foreach (_wp_get_user_contactmethods( $profileuser ) as $name => $desc) { 
    348348?> 
    349 <tr> 
    350         <th><label for="<?php echo $name; ?>"><?php echo apply_filters('user_'.$name.'_label', $desc); ?></label></th> 
    351         <td><input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr($profileuser->$name) ?>" class="regular-text" /></td> 
    352 </tr> 
     349<div class="field-row"> 
     350        <div class="field-label"><label for="<?php echo $name; ?>"><?php echo apply_filters('user_'.$name.'_label', $desc); ?></label></div> 
     351        <div class="field-input"><input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr($profileuser->$name) ?>" class="regular-text" /></div> 
     352</div> 
    353353<?php 
    354354        } 
    355355?> 
    356 </table> 
     356</div> 
    357357 
    358358<h3><?php IS_PROFILE_PAGE ? _e('About Yourself') : _e('About the user'); ?></h3> 
    359359 
    360 <table class="form-table"> 
    361 <tr> 
    362         <th><label for="description"><?php _e('Biographical Info'); ?></label></th> 
    363         <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br /> 
    364         <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></td> 
    365 </tr> 
     360<div class="form-fields"> 
     361<div class="field-row"> 
     362        <div class="field-label"><label for="description"><?php _e('Biographical Info'); ?></label></div> 
     363        <div class="field-input"><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br /> 
     364        <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></div> 
     365</div> 
    366366 
    367367<?php 
    368368$show_password_fields = apply_filters('show_password_fields', true, $profileuser); 
    369369if ( $show_password_fields ) : 
    370370?> 
    371 <tr id="password"> 
    372         <th><label for="pass1"><?php _e('New Password'); ?></label></th> 
    373         <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <span class="description"><?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?></span><br /> 
     371<div id="password"> 
     372        <div class="field-label"><label for="pass1"><?php _e('New Password'); ?></label></div> 
     373        <div class="field-input"><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <span class="description"><?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?></span><br /> 
    374374                <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <span class="description"><?php _e("Type your new password again."); ?></span><br /> 
    375375                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 
    376376                <p class="description indicator-hint"><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p> 
    377         </td> 
    378 </tr> 
     377        </div> 
     378</div> 
    379379<?php endif; ?> 
    380 </table> 
     380</div> 
    381381 
    382382<?php 
    383383        if ( IS_PROFILE_PAGE ) 
     
    388388 
    389389<?php if ( count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser) ) { ?> 
    390390<br class="clear" /> 
    391         <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform"> 
    392                 <tr> 
    393                         <th scope="row"><?php _e('Additional Capabilities') ?></th> 
    394                         <td><?php 
     391        <div class="form-fields editform"> 
     392                <div class="field-row"> 
     393                        <div class="field-input"><?php _e('Additional Capabilities') ?></div> 
     394                        <div class="field-input"><?php 
    395395                        $output = ''; 
    396396                        foreach ( $profileuser->caps as $cap => $value ) { 
    397397                                if ( !$wp_roles->is_role($cap) ) { 
     
    401401                                } 
    402402                        } 
    403403                        echo $output; 
    404                         ?></td> 
    405                 </tr> 
    406         </table> 
     404                        ?></div> 
     405                </div> 
     406        </div> 
    407407<?php } ?> 
    408408 
    409409<input type="hidden" name="action" value="update" /> 
  • wp-admin/css/wp-admin.dev.css

     
    21632163        box-shadow: none; 
    21642164} 
    21652165 
    2166 .postbox table.form-table { 
     2166.postbox table.form-table, 
     2167.postbox .form-fields { 
    21672168        margin-bottom: 0; 
    21682169} 
    21692170 
     
    40764077        margin: 8px; 
    40774078} 
    40784079 
    4079 .form-table td.imgedit-response { 
     4080.form-table td.imgedit-response, 
     4081.form-fields .imgedit-response { 
    40804082        padding: 0; 
    40814083} 
    40824084 
     
    41164118  15.0 - Comments Screen 
    41174119------------------------------------------------------------------------------*/ 
    41184120 
     4121.form-table, 
     4122.form-fields { 
     4123        margin-top: 0.5em; 
     4124        width: 100%; 
     4125        clear: both; 
     4126} 
     4127 
    41194128.form-table { 
    41204129        border-collapse: collapse; 
    4121         margin-top: 0.5em; 
    4122         width: 100%; 
    41234130        margin-bottom: -8px; 
     4131} 
     4132 
     4133.form-fields .field-row { 
    41244134        clear: both; 
    41254135} 
    41264136 
    4127 .form-table td { 
     4137.form-table td, 
     4138.form-fields .field-input { 
    41284139        margin-bottom: 9px; 
    41294140        padding: 8px 10px; 
    41304141        line-height: 20px; 
    41314142        font-size: 12px; 
    41324143} 
    41334144 
     4145.form-fields .field-input { 
     4146        margin: 0 0 0 220px; 
     4147        overflow: hidden; 
     4148} 
     4149 
     4150.editcomment .field-input { 
     4151        margin: 0 0 0 120px; 
     4152} 
     4153 
    41344154.form-table th, 
    4135 .form-wrap label { 
     4155.form-wrap label, 
     4156.form-fields .field-label, 
     4157.form-fields label { 
    41364158        font-weight: normal; 
    41374159        text-shadow: rgba(255,255,255,1) 0 1px 0; 
    41384160} 
    41394161 
    4140 .form-table th { 
    4141         vertical-align: top; 
     4162.form-table th, 
     4163.form-fields .field-label { 
     4164        line-height: 20px; 
    41424165        text-align: left; 
    41434166        padding: 10px; 
    41444167        width: 200px; 
    41454168} 
    41464169 
    4147 .form-table th.th-full { 
     4170.form-table th { 
     4171        vertical-align: top; 
     4172} 
     4173 
     4174.form-fields .field-label { 
     4175        float: left; 
     4176} 
     4177 
     4178.editcomment .field-label { 
     4179        width: 100px; 
     4180} 
     4181 
     4182.form-table th.th-full, 
     4183.form-fields .field-full { 
    41484184        width: auto; 
    41494185} 
    41504186 
    4151 .form-table div.color-option { 
     4187.color-option { 
    41524188        display: block; 
    41534189        clear: both; 
    41544190        margin-top: 12px; 
    41554191} 
    41564192 
    4157 .form-table input.tog { 
     4193input.tog { 
    41584194        margin-top: 2px; 
    41594195        margin-right: 2px; 
    41604196        float: left; 
     
    41644200        margin-top: 4px; 
    41654201} 
    41664202 
    4167 .form-table table.color-palette { 
     4203.form-fields .field-input p { 
     4204        margin-top: 0; 
     4205} 
     4206 
     4207table.color-palette { 
    41684208        vertical-align: bottom; 
    41694209        float: left; 
    41704210        margin: -12px 3px 11px; 
    41714211} 
    41724212 
    4173 .form-table .color-palette td { 
    4174         border-width: 1px 1px 0; 
    4175         border-style: solid solid none; 
     4213.color-palette td { 
    41764214        height: 10px; 
    41774215        line-height: 20px; 
     4216        padding: 8px 10px; 
    41784217        width: 10px; 
    41794218} 
    41804219 
     
    46194658  18.0 - Users 
    46204659------------------------------------------------------------------------------*/ 
    46214660 
    4622 #profile-page .form-table textarea { 
     4661#profile-page textarea { 
    46234662        width: 500px; 
    46244663        margin-bottom: 6px; 
    46254664} 
    46264665 
    4627 #profile-page .form-table #rich_editing { 
     4666#profile-page #rich_editing { 
    46284667        margin-right: 5px 
    46294668} 
    46304669 
     
    48244863        margin: 0; 
    48254864} 
    48264865 
    4827 table.form-table td .updated { 
     4866.form-table td .updated, 
     4867.form-fields .field-input .updated { 
    48284868        font-size: 13px; 
    48294869} 
    48304870 
     
    76907730        } 
    76917731 
    76927732        /* users */ 
    7693         #profile-page .form-table textarea { 
     7733        #profile-page textarea { 
    76947734                max-width: 400px; 
    76957735                width: auto; 
    76967736        } 
  • wp-admin/css/install.dev.css

     
    6868.step { 
    6969        margin: 20px 0 15px; 
    7070} 
    71 .step, th { 
     71.step, .field-label { 
    7272        text-align: left; 
    7373        padding: 0; 
    7474} 
     
    113113        border-radius: 3px; 
    114114} 
    115115 
    116 .form-table { 
    117         border-collapse: collapse; 
     116.form-fields { 
    118117        margin-top: 1em; 
    119118        width: 100%; 
    120119} 
    121120 
    122 .form-table td { 
     121.form-fields .field-input { 
    123122        margin-bottom: 9px; 
     123        margin-left: 150px; 
    124124        padding: 10px; 
    125         border-bottom: 8px solid #fff; 
    126125        font-size: 12px; 
    127126} 
    128127 
    129 .form-table th { 
     128.form-fields .field-full { 
     129        margin-left: 0; 
     130} 
     131 
     132.form-fields .field-label { 
     133        float: left; 
    130134        font-size: 13px; 
     135        font-weight: bold; 
    131136        text-align: left; 
    132137        padding: 16px 10px 10px 10px; 
    133         border-bottom: 8px solid #fff; 
    134138        width: 130px; 
    135139        vertical-align: top; 
    136140} 
    137141 
    138 .form-table tr { 
     142.form-fields .field-row { 
    139143        background: #f3f3f3; 
    140144} 
    141145 
    142 .form-table code { 
     146.form-fields code { 
    143147        line-height: 18px; 
    144148        font-size: 18px; 
    145149} 
    146150 
    147 .form-table p { 
     151.form-fields p { 
    148152        margin: 4px 0 0 0; 
    149153        font-size: 11px; 
    150154} 
    151155 
    152 .form-table input { 
     156.form-fields input { 
    153157        line-height: 20px; 
    154158        font-size: 15px; 
    155159        padding: 2px; 
    156160} 
    157161 
    158 .form-table th p { 
     162.form-fields p { 
    159163        font-weight: normal; 
    160164} 
    161165 
     
    229233} 
    230234 
    231235.rtl .step, 
    232 .rtl th, 
    233 .rtl .form-table th { 
     236.rtl .field-label, 
     237.rtl .form-fields .field-label { 
    234238        text-align: right; 
    235239} 
    236240 
  • wp-admin/options-reading.php

     
    6363 
    6464<?php if ( ! get_pages() ) : ?> 
    6565<input name="show_on_front" type="hidden" value="posts" /> 
    66 <table class="form-table"> 
     66<div class="form-fields"> 
    6767<?php 
    6868        if ( 'posts' != get_option( 'show_on_front' ) ) : 
    6969                update_option( 'show_on_front', 'posts' ); 
     
    7373        if ( 'page' == get_option( 'show_on_front' ) && ! get_option( 'page_on_front' ) && ! get_option( 'page_for_posts' ) ) 
    7474                update_option( 'show_on_front', 'posts' ); 
    7575?> 
    76 <table class="form-table"> 
    77 <tr valign="top"> 
    78 <th scope="row"><?php _e( 'Front page displays' ); ?></th> 
    79 <td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend> 
     76<div class="form-fields"> 
     77<div class="field-row"> 
     78<div class="field-label"><?php _e( 'Front page displays' ); ?></div> 
     79<div class="field-input" id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend> 
    8080        <p><label> 
    8181                <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> /> 
    8282                <?php _e( 'Your latest posts' ); ?> 
     
    9494<?php if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) == get_option( 'page_on_front' ) ) : ?> 
    9595<div id="front-page-warning" class="error inline"><p><?php _e( '<strong>Warning:</strong> these pages should not be the same!' ); ?></p></div> 
    9696<?php endif; ?> 
    97 </fieldset></td> 
    98 </tr> 
     97</fieldset></div> 
     98</div> 
    9999<?php endif; ?> 
    100 <tr valign="top"> 
    101 <th scope="row"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></th> 
    102 <td> 
     100<div class="field-row"> 
     101<div class="field-label"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></div> 
     102<div class="field-input"> 
    103103<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?> 
    104 </td> 
    105 </tr> 
    106 <tr valign="top"> 
    107 <th scope="row"><label for="posts_per_rss"><?php _e( 'Syndication feeds show the most recent' ); ?></label></th> 
    108 <td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td> 
    109 </tr> 
    110 <tr valign="top"> 
    111 <th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th> 
    112 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend> 
     104</div> 
     105</div> 
     106<div class="field-row"> 
     107<div class="field-label"><label for="posts_per_rss"><?php _e( 'Syndication feeds show the most recent' ); ?></label></div> 
     108<div class="field-input"><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></div> 
     109</div> 
     110<div class="field-row"> 
     111<div class="field-label"><?php _e( 'For each article in a feed, show' ); ?> </div> 
     112<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend> 
    113113<p><label><input name="rss_use_excerpt"  type="radio" value="0" <?php checked( 0, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Full text' ); ?></label><br /> 
    114114<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked( 1, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Summary' ); ?></label></p> 
    115 </fieldset></td> 
    116 </tr> 
     115</fieldset></div> 
     116</div> 
    117117 
    118 <tr valign="top"> 
    119 <th scope="row"><label for="blog_charset"><?php _e( 'Encoding for pages and feeds' ); ?></label></th> 
    120 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option( 'blog_charset' ); ?>" class="regular-text" /> 
    121 <span class="description"><?php _e( 'The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended, if you are adventurous there are some <a href="http://en.wikipedia.org/wiki/Character_set">other encodings</a>)' ); ?></span></td> 
    122 </tr> 
     118<div class="field-row"> 
     119<div class="field-label"><label for="blog_charset"><?php _e( 'Encoding for pages and feeds' ); ?></label></div> 
     120<div class="field-input"><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option( 'blog_charset' ); ?>" class="regular-text" /> 
     121<span class="description"><?php _e( 'The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended, if you are adventurous there are some <a href="http://en.wikipedia.org/wiki/Character_set">other encodings</a>)' ); ?></span></div> 
     122</div> 
    123123<?php do_settings_fields( 'reading', 'default' ); ?> 
    124 </table> 
     124</div> 
    125125 
    126126<?php do_settings_sections( 'reading' ); ?> 
    127127 
  • wp-admin/setup-config.php

     
    116116        ?> 
    117117<form method="post" action="setup-config.php?step=2"> 
    118118        <p>Below you should enter your database connection details. If you're not sure about these, contact your host. </p> 
    119         <table class="form-table"> 
    120                 <tr> 
    121                         <th scope="row"><label for="dbname">Database Name</label></th> 
    122                         <td><input name="dbname" id="dbname" type="text" size="25" value="wordpress" /></td> 
    123                         <td>The name of the database you want to run WP in. </td> 
    124                 </tr> 
    125                 <tr> 
    126                         <th scope="row"><label for="uname">User Name</label></th> 
    127                         <td><input name="uname" id="uname" type="text" size="25" value="username" /></td> 
    128                         <td>Your MySQL username</td> 
    129                 </tr> 
    130                 <tr> 
    131                         <th scope="row"><label for="pwd">Password</label></th> 
    132                         <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td> 
    133                         <td>...and MySQL password.</td> 
    134                 </tr> 
    135                 <tr> 
    136                         <th scope="row"><label for="dbhost">Database Host</label></th> 
    137                         <td><input name="dbhost" id="dbhost" type="text" size="25" value="localhost" /></td> 
    138                         <td>You should be able to get this info from your web host, if <code>localhost</code> does not work.</td> 
    139                 </tr> 
    140                 <tr> 
    141                         <th scope="row"><label for="prefix">Table Prefix</label></th> 
    142                         <td><input name="prefix" id="prefix" type="text" value="wp_" size="25" /></td> 
    143                         <td>If you want to run multiple WordPress installations in a single database, change this.</td> 
    144                 </tr> 
    145         </table> 
     119        <div class="form-fields"> 
     120                <div class="field-row"> 
     121                        <div class="field-label"><label for="dbname">Database Name</label></div> 
     122                        <div class="field-input"><input name="dbname" id="dbname" type="text" size="25" value="wordpress" /></div> 
     123                        <div class="field-input">The name of the database you want to run WP in. </div> 
     124                </div> 
     125                <div class="field-row"> 
     126                        <div class="field-label"><label for="uname">User Name</label></div> 
     127                        <div class="field-input"><input name="uname" id="uname" type="text" size="25" value="username" /></div> 
     128                        <div class="field-input">Your MySQL username</div> 
     129                </div> 
     130                <div class="field-row"> 
     131                        <div class="field-label"><label for="pwd">Password</label></div> 
     132                        <div class="field-input"><input name="pwd" id="pwd" type="text" size="25" value="password" /></div> 
     133                        <div class="field-input">...and MySQL password.</div> 
     134                </div> 
     135                <div class="field-row"> 
     136                        <div class="field-label"><label for="dbhost">Database Host</label></div> 
     137                        <div class="field-input"><input name="dbhost" id="dbhost" type="text" size="25" value="localhost" /></div> 
     138                        <div class="field-input">You should be able to get this info from your web host, if <code>localhost</code> does not work.</div> 
     139                </div> 
     140                <div class="field-row"> 
     141                        <div class="field-label"><label for="prefix">Table Prefix</label></div> 
     142                        <div class="field-input"><input name="prefix" id="prefix" type="text" value="wp_" size="25" /></div> 
     143                        <div class="field-input">If you want to run multiple WordPress installations in a single database, change this.</div> 
     144                </div> 
     145        </div> 
    146146        <?php if ( isset( $_GET['noapi'] ) ) { ?><input name="noapi" type="hidden" value="true" /><?php } ?> 
    147147        <p class="step"><input name="submit" type="submit" value="Submit" class="button" /></p> 
    148148</form> 
  • wp-admin/install.php

     
    9292<p class="message"><?php printf( __( '<strong>ERROR</strong>: %s' ), $error ); ?></p> 
    9393<?php } ?> 
    9494<form id="setup" method="post" action="install.php?step=2"> 
    95         <table class="form-table"> 
    96                 <tr> 
    97                         <th scope="row"><label for="weblog_title"><?php _e( 'Site Title' ); ?></label></th> 
    98                         <td><input name="weblog_title" type="text" id="weblog_title" size="25" value="<?php echo esc_attr( $weblog_title ); ?>" /></td> 
    99                 </tr> 
    100                 <tr> 
    101                         <th scope="row"><label for="user_name"><?php _e('Username'); ?></label></th> 
    102                         <td> 
     95        <div class="form-fields"> 
     96                <div class="field-row"> 
     97                        <div class="field-label"><label for="weblog_title"><?php _e( 'Site Title' ); ?></label></div> 
     98                        <div class="field-input"><input name="weblog_title" type="text" id="weblog_title" size="25" value="<?php echo esc_attr( $weblog_title ); ?>" /></div> 
     99                </div> 
     100                <div class="field-row"> 
     101                        <div class="field-label"><label for="user_name"><?php _e('Username'); ?></label></div> 
     102                        <div class="field-input"> 
    103103                        <?php 
    104104                        if ( $user_table ) { 
    105105                                _e('User(s) already exists.'); 
     
    108108                                <p><?php _e( 'Usernames can have only alphanumeric characters, spaces, underscores, hyphens, periods and the @ symbol.' ); ?></p> 
    109109                        <?php 
    110110                        } ?> 
    111                         </td> 
    112                 </tr> 
     111                        </div> 
     112                </div> 
    113113                <?php if ( ! $user_table ) : ?> 
    114                 <tr> 
    115                         <th scope="row"> 
     114                <div class="field-row"> 
     115                        <div class="field-label"> 
    116116                                <label for="admin_password"><?php _e('Password, twice'); ?></label> 
    117117                                <p><?php _e('A password will be automatically generated for you if you leave this blank.'); ?></p> 
    118                         </th> 
    119                         <td> 
     118                        </div> 
     119                        <div class="field-input"> 
    120120                                <input name="admin_password" type="password" id="pass1" size="25" value="" /> 
    121121                                <p><input name="admin_password2" type="password" id="pass2" size="25" value="" /></p> 
    122122                                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 
    123123                                <p><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p> 
    124                         </td> 
    125                 </tr> 
     124                        </div> 
     125                </div> 
    126126                <?php endif; ?> 
    127                 <tr> 
    128                         <th scope="row"><label for="admin_email"><?php _e( 'Your E-mail' ); ?></label></th> 
    129                         <td><input name="admin_email" type="text" id="admin_email" size="25" value="<?php echo esc_attr( $admin_email ); ?>" /> 
    130                         <p><?php _e( 'Double-check your email address before continuing.' ); ?></p></td> 
    131                 </tr> 
    132                 <tr> 
    133                         <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td> 
    134                 </tr> 
    135         </table> 
     127                <div class="field-row"> 
     128                        <div class="field-label"><label for="admin_email"><?php _e( 'Your E-mail' ); ?></label></div> 
     129                        <div class="field-input"><input name="admin_email" type="text" id="admin_email" size="25" value="<?php echo esc_attr( $admin_email ); ?>" /> 
     130                        <p><?php _e( 'Double-check your email address before continuing.' ); ?></p></div> 
     131                </div> 
     132                <div class="field-row"> 
     133                        <div class="field-input field-full"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></div> 
     134                </div> 
     135        </div> 
    136136        <p class="step"><input type="submit" name="Submit" value="<?php esc_attr_e( 'Install WordPress' ); ?>" class="button" /></p> 
    137137</form> 
    138138<?php 
     
    220220 
    221221<p><?php _e( 'WordPress has been installed. Were you expecting more steps? Sorry to disappoint.' ); ?></p> 
    222222 
    223 <table class="form-table"> 
    224         <tr> 
    225                 <th><?php _e( 'Username' ); ?></th> 
    226                 <td><code><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></code></td> 
    227         </tr> 
    228         <tr> 
    229                 <th><?php _e( 'Password' ); ?></th> 
    230                 <td><?php 
     223<div class="form-fields"> 
     224        <div class="field-row"> 
     225                <div class="field-label"><?php _e( 'Username' ); ?></div> 
     226                <div class="field-input"><code><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></code></div> 
     227        </div> 
     228        <div class="field-row"> 
     229                <div class="field-label"><?php _e( 'Password' ); ?></div> 
     230                <div class="field-input"><?php 
    231231                if ( ! empty( $password ) && empty($admin_password_check) ) 
    232232                        echo '<code>'. esc_html($password) .'</code><br />'; 
    233233                echo "<p>$password_message</p>"; ?> 
    234                 </td> 
    235         </tr> 
    236 </table> 
     234                </div> 
     235        </div> 
     236</div> 
    237237 
    238238<p class="step"><a href="../wp-login.php" class="button"><?php _e( 'Log In' ); ?></a></p> 
    239239 
  • wp-admin/options-permalink.php

     
    172172); 
    173173?> 
    174174<h3><?php _e('Common settings'); ?></h3> 
    175 <table class="form-table"> 
    176         <tr> 
    177                 <th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th> 
    178                 <td><code><?php echo get_option('home'); ?>/?p=123</code></td> 
    179         </tr> 
    180         <tr> 
    181                 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th> 
    182                 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td> 
    183         </tr> 
    184         <tr> 
    185                 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[2]); ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th> 
    186                 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td> 
    187         </tr> 
    188         <tr> 
    189                 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[3]); ?>" class="tog" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th> 
    190                 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . _x( 'archives', 'sample permalink base' ) . '/123'; ?></code></td> 
    191         </tr> 
    192         <tr> 
    193                 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[4]); ?>" class="tog" <?php checked($structures[4], $permalink_structure); ?> /> <?php _e('Post name'); ?></label></th> 
    194                 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td> 
    195         </tr> 
    196         <tr> 
    197                 <th> 
     175<div class="form-fields"> 
     176        <div class="field-row"> 
     177                <div class="field-label"><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></div> 
     178                <div class="field-input"><code><?php echo get_option('home'); ?>/?p=123</code></div> 
     179        </div> 
     180        <div class="field-row"> 
     181                <div class="field-label"><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></div> 
     182                <div class="field-input"><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></div> 
     183        </div> 
     184        <div class="field-row"> 
     185                <div class="field-label"><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[2]); ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></div> 
     186                <div class="field-input"><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></div> 
     187        </div> 
     188        <div class="field-row"> 
     189                <div class="field-label"><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[3]); ?>" class="tog" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></div> 
     190                <div class="field-input"><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . _x( 'archives', 'sample permalink base' ) . '/123'; ?></code></div> 
     191        </div> 
     192        <div class="field-row"> 
     193                <div class="field-label"><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[4]); ?>" class="tog" <?php checked($structures[4], $permalink_structure); ?> /> <?php _e('Post name'); ?></label></div> 
     194                <div class="field-input"><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></div> 
     195        </div> 
     196        <div class="field-row"> 
     197                <div class="field-label"> 
    198198                        <label><input name="selection" id="custom_selection" type="radio" value="custom" class="tog" <?php checked( !in_array($permalink_structure, $structures) ); ?> /> 
    199199                        <?php _e('Custom Structure'); ?> 
    200200                        </label> 
    201                 </th> 
    202                 <td> 
     201                </div> 
     202                <div class="field-input"> 
    203203                        <?php echo $blog_prefix; ?> 
    204204                        <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo esc_attr($permalink_structure); ?>" class="regular-text code" /> 
    205                 </td> 
    206         </tr> 
    207 </table> 
     205                </div> 
     206        </div> 
     207</div> 
    208208 
    209209<h3><?php _e('Optional'); ?></h3> 
    210210<?php if ( $is_apache || $iis7_permalinks ) : ?> 
     
    213213        <p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p> 
    214214<?php endif; ?> 
    215215 
    216 <table class="form-table"> 
    217         <tr> 
    218                 <th><label for="category_base"><?php /* translators: prefix for category permalinks */ _e('Category base'); ?></label></th> 
    219                 <td><?php echo $blog_prefix; ?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></td> 
    220         </tr> 
    221         <tr> 
    222                 <th><label for="tag_base"><?php _e('Tag base'); ?></label></th> 
    223                 <td><?php echo $blog_prefix; ?> <input name="tag_base" id="tag_base" type="text" value="<?php echo esc_attr($tag_base); ?>" class="regular-text code" /></td> 
    224         </tr> 
     216<div class="form-fields"> 
     217        <div class="field-row"> 
     218                <div class="field-label"><label for="category_base"><?php /* translators: prefix for category permalinks */ _e('Category base'); ?></label></div> 
     219                <div class="field-input"><?php echo $blog_prefix; ?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></div> 
     220        </div> 
     221        <div class="field-row"> 
     222                <div class="field-label"><label for="tag_base"><?php _e('Tag base'); ?></label></div> 
     223                <div class="field-input"><?php echo $blog_prefix; ?> <input name="tag_base" id="tag_base" type="text" value="<?php echo esc_attr($tag_base); ?>" class="regular-text code" /></div> 
     224        </div> 
    225225        <?php do_settings_fields('permalink', 'optional'); ?> 
    226 </table> 
     226</div> 
    227227 
    228228<?php do_settings_sections('permalink'); ?> 
    229229 
  • wp-admin/options-writing.php

     
    3333<form method="post" action="options.php"> 
    3434<?php settings_fields('writing'); ?> 
    3535 
    36 <table class="form-table"> 
    37 <tr valign="top"> 
    38 <th scope="row"><label for="default_post_edit_rows"> <?php _e('Size of the post box') ?></label></th> 
    39 <td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" class="small-text" /> 
    40 <?php _e('lines') ?></td> 
    41 </tr> 
    42 <tr valign="top"> 
    43 <th scope="row"><?php _e('Formatting') ?></th> 
    44 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend> 
     36<div class="form-fields"> 
     37<div class="field-row"> 
     38<div class="field-label"><label for="default_post_edit_rows"> <?php _e('Size of the post box') ?></label></div> 
     39<div class="field-input"><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" class="small-text" /> 
     40<?php _e('lines') ?></div> 
     41</div> 
     42<div class="field-row"> 
     43<div class="field-label"><?php _e('Formatting') ?></div> 
     44<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend> 
    4545<label for="use_smilies"> 
    4646<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> /> 
    4747<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br /> 
    4848<label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked('1', get_option('use_balanceTags')); ?> /> <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label> 
    49 </fieldset></td> 
    50 </tr> 
    51 <tr valign="top"> 
    52 <th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th> 
    53 <td> 
     49</fieldset></div> 
     50</div> 
     51<div class="field-row"> 
     52<div class="field-label"><label for="default_category"><?php _e('Default Post Category') ?></label></div> 
     53<div class="field-input"> 
    5454<?php 
    5555wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_category', 'orderby' => 'name', 'selected' => get_option('default_category'), 'hierarchical' => true)); 
    5656?> 
    57 </td> 
    58 </tr> 
     57</div> 
     58</div> 
    5959<?php 
    6060if ( current_theme_supports( 'post-formats' ) ) : 
    6161        $post_formats = get_theme_support( 'post-formats' ); 
    6262        if ( is_array( $post_formats[0] ) ) : 
    6363?> 
    64 <tr valign="top"> 
    65 <th scope="row"><label for="default_post_format"><?php _e('Default Post Format') ?></label></th> 
    66 <td> 
     64<div class="field-row"> 
     65<div class="field-label"><label for="default_post_format"><?php _e('Default Post Format') ?></label></div> 
     66<div class="field-input"> 
    6767        <select name="default_post_format" id="default_post_format"> 
    6868                <option value="0"><?php _e('Standard'); ?></option> 
    6969<?php foreach ( $post_formats[0] as $format ): ?> 
    7070                <option<?php selected( get_option('default_post_format'), $format ); ?> value="<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></option> 
    7171<?php endforeach; ?> 
    7272        </select> 
    73 </td> 
    74 </tr> 
     73</div> 
     74</div> 
    7575<?php endif; endif; ?> 
    76 <tr valign="top"> 
    77 <th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th> 
    78 <td> 
     76<div class="field-row"> 
     77<div class="field-label"><label for="default_link_category"><?php _e('Default Link Category') ?></label></div> 
     78<div class="field-input"> 
    7979<?php 
    8080wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category', 'orderby' => 'name', 'selected' => get_option('default_link_category'), 'hierarchical' => true, 'taxonomy' => 'link_category')); 
    8181?> 
    82 </td> 
    83 </tr> 
     82</div> 
     83</div> 
    8484<?php do_settings_fields('writing', 'default'); ?> 
    85 </table> 
     85</div> 
    8686 
    8787 
    8888<h3 class="title"><?php _e('Press This') ?></h3> 
     
    9999<h3><?php _e('Post via e-mail') ?></h3> 
    100100<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p> 
    101101 
    102 <table class="form-table"> 
    103 <tr valign="top"> 
    104 <th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th> 
    105 <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" /> 
     102<div class="form-fields"> 
     103<div class="field-row"> 
     104<div class="field-label"><label for="mailserver_url"><?php _e('Mail Server') ?></label></div> 
     105<div class="field-input"><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" /> 
    106106<label for="mailserver_port"><?php _e('Port') ?></label> 
    107107<input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" class="small-text" /> 
    108 </td> 
    109 </tr> 
    110 <tr valign="top"> 
    111 <th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></th> 
    112 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text" /></td> 
    113 </tr> 
    114 <tr valign="top"> 
    115 <th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></th> 
    116 <td> 
     108</div> 
     109</div> 
     110<div class="field-row"> 
     111<div class="field-label"><label for="mailserver_login"><?php _e('Login Name') ?></label></div> 
     112<div class="field-input"><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text" /></div> 
     113</div> 
     114<div class="field-row"> 
     115<div class="field-label"><label for="mailserver_pass"><?php _e('Password') ?></label></div> 
     116<div class="field-input"> 
    117117<input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" class="regular-text" /> 
    118 </td> 
    119 </tr> 
    120 <tr valign="top"> 
    121 <th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th> 
    122 <td> 
     118</div> 
     119</div> 
     120<div class="field-row"> 
     121<div class="field-label"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></div> 
     122<div class="field-input"> 
    123123<?php 
    124124wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_email_category', 'orderby' => 'name', 'selected' => get_option('default_email_category'), 'hierarchical' => true)); 
    125125?> 
    126 </td> 
    127 </tr> 
     126</div> 
     127</div> 
    128128<?php do_settings_fields('writing', 'post_via_email'); ?> 
    129 </table> 
     129</div> 
    130130<?php } ?> 
    131131 
    132132<h3><?php _e('Remote Publishing') ?></h3> 
    133133<p><?php printf(__('To post to WordPress from a desktop blogging client or remote website that uses the Atom Publishing Protocol or one of the XML-RPC publishing interfaces you must enable them below.')) ?></p> 
    134 <table class="form-table"> 
    135 <tr valign="top"> 
    136 <th scope="row"><?php _e('Atom Publishing Protocol') ?></th> 
    137 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend> 
     134<div class="form-fields"> 
     135<div class="field-row"> 
     136<div class="field-label"><?php _e('Atom Publishing Protocol') ?></div> 
     137<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend> 
    138138<label for="enable_app"> 
    139139<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> /> 
    140140<?php _e('Enable the Atom Publishing Protocol.') ?></label><br /> 
    141 </fieldset></td> 
    142 </tr> 
    143 <tr valign="top"> 
    144 <th scope="row"><?php _e('XML-RPC') ?></th> 
    145 <td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend> 
     141</fieldset></div> 
     142</div> 
     143<div class="field-row"> 
     144<div class="field-label"><?php _e('XML-RPC') ?></div> 
     145<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend> 
    146146<label for="enable_xmlrpc"> 
    147147<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> /> 
    148148<?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br /> 
    149 </fieldset></td> 
    150 </tr> 
     149</fieldset></div> 
     150</div> 
    151151<?php do_settings_fields('writing', 'remote_publishing'); ?> 
    152 </table> 
     152</div> 
    153153 
    154154<?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?> 
    155155<h3><?php _e('Update Services') ?></h3> 
  • wp-admin/custom-background.php

     
    178178        } else { 
    179179?> 
    180180<h3><?php _e('Background Image'); ?></h3> 
    181 <table class="form-table"> 
    182 <tbody> 
    183 <tr valign="top"> 
    184 <th scope="row"><?php _e('Preview'); ?></th> 
    185 <td> 
     181<div class="form-fields"> 
     182<div class="field-row"> 
     183<div class="field-label"><?php _e('Preview'); ?></div> 
     184<div class="field-input"> 
    186185<?php 
    187186$background_styles = ''; 
    188187if ( $bgcolor = get_background_color() ) 
     
    202201<?php } ?> 
    203202</div> 
    204203<?php } ?> 
    205 </td> 
    206 </tr> 
     204</div> 
     205</div> 
    207206<?php if ( get_background_image() ) : ?> 
    208 <tr valign="top"> 
    209 <th scope="row"><?php _e('Remove Image'); ?></th> 
    210 <td> 
     207<div class="field-row"> 
     208<div class="field-label"><?php _e('Remove Image'); ?></div> 
     209<div class="field-input"> 
    211210<form method="post" action=""> 
    212211<?php wp_nonce_field('custom-background-remove', '_wpnonce-custom-background-remove'); ?> 
    213212<?php submit_button( __( 'Remove Background Image' ), 'button', 'remove-background', false ); ?><br/> 
    214213<?php _e('This will remove the background image. You will not be able to restore any customizations.') ?> 
    215214</form> 
    216 </td> 
    217 </tr> 
     215</div> 
     216</div> 
    218217<?php endif; ?> 
    219218 
    220219<?php if ( defined( 'BACKGROUND_IMAGE' ) ) : // Show only if a default background image exists ?> 
    221 <tr valign="top"> 
    222 <th scope="row"><?php _e('Restore Original Image'); ?></th> 
    223 <td> 
     220<div class="field-row"> 
     221<div class="field-label"><?php _e('Restore Original Image'); ?></div> 
     222<div class="field-input"> 
    224223<form method="post" action=""> 
    225224<?php wp_nonce_field('custom-background-reset', '_wpnonce-custom-background-reset'); ?> 
    226225<?php submit_button( __( 'Restore Original Image' ), 'button', 'reset-background', false ); ?><br/> 
    227226<?php _e('This will restore the original background image. You will not be able to restore any customizations.') ?> 
    228227</form> 
    229 </td> 
    230 </tr> 
     228</div> 
     229</div> 
    231230 
    232231<?php endif; ?> 
    233 <tr valign="top"> 
    234 <th scope="row"><?php _e('Upload Image'); ?></th> 
    235 <td><form enctype="multipart/form-data" id="upload-form" method="post" action=""> 
     232<div class="field-row"> 
     233<div class="field-label"><?php _e('Upload Image'); ?></div> 
     234<div class="field-input"><form enctype="multipart/form-data" id="upload-form" method="post" action=""> 
    236235<label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" /> 
    237236<input type="hidden" name="action" value="save" /> 
    238237<?php wp_nonce_field('custom-background-upload', '_wpnonce-custom-background-upload') ?> 
    239238<?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 
    240239</form> 
    241 </td> 
    242 </tr> 
     240</div> 
     241</div> 
    243242</tbody> 
    244 </table> 
     243</div> 
    245244 
    246245<h3><?php _e('Display Options') ?></h3> 
    247246<form method="post" action=""> 
    248 <table class="form-table"> 
    249 <tbody> 
     247<div class="form-fields"> 
    250248<?php if ( get_background_image() ) : ?> 
    251 <tr valign="top"> 
    252 <th scope="row"><?php _e( 'Position' ); ?></th> 
    253 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend> 
     249<div class="field-row"> 
     250<div class="field-label"><?php _e( 'Position' ); ?></div> 
     251<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend> 
    254252<label> 
    255253<input name="background-position-x" type="radio" value="left"<?php checked('left', get_theme_mod('background_position_x', 'left')); ?> /> 
    256254<?php _e('Left') ?> 
     
    263261<input name="background-position-x" type="radio" value="right"<?php checked('right', get_theme_mod('background_position_x', 'left')); ?> /> 
    264262<?php _e('Right') ?> 
    265263</label> 
    266 </fieldset></td> 
    267 </tr> 
     264</fieldset></div> 
     265</div> 
    268266 
    269 <tr valign="top"> 
    270 <th scope="row"><?php _e( 'Repeat' ); ?></th> 
    271 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend> 
     267<div class="field-row"> 
     268<div class="field-label"><?php _e( 'Repeat' ); ?></div> 
     269<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend> 
    272270<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked('no-repeat', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('No Repeat'); ?></label> 
    273271        <label><input type="radio" name="background-repeat" value="repeat"<?php checked('repeat', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('Tile'); ?></label> 
    274272        <label><input type="radio" name="background-repeat" value="repeat-x"<?php checked('repeat-x', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('Tile Horizontally'); ?></label> 
    275273        <label><input type="radio" name="background-repeat" value="repeat-y"<?php checked('repeat-y', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('Tile Vertically'); ?></label> 
    276 </fieldset></td> 
    277 </tr> 
     274</fieldset></div> 
     275</div> 
    278276 
    279 <tr valign="top"> 
    280 <th scope="row"><?php _e( 'Attachment' ); ?></th> 
    281 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend> 
     277<div class="field-row"> 
     278<div class="field-label"><?php _e( 'Attachment' ); ?></div> 
     279<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend> 
    282280<label> 
    283281<input name="background-attachment" type="radio" value="scroll" <?php checked('scroll', get_theme_mod('background_attachment', 'scroll')); ?> /> 
    284282<?php _e('Scroll') ?> 
     
    287285<input name="background-attachment" type="radio" value="fixed" <?php checked('fixed', get_theme_mod('background_attachment', 'scroll')); ?> /> 
    288286<?php _e('Fixed') ?> 
    289287</label> 
    290 </fieldset></td> 
    291 </tr> 
     288</fieldset></div> 
     289</div> 
    292290<?php endif; // get_background_image() ?> 
    293 <tr valign="top"> 
    294 <th scope="row"><?php _e( 'Color' ); ?></th> 
    295 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend> 
     291<div class="field-row"> 
     292<div class="field-label"><?php _e( 'Color' ); ?></div> 
     293<div class="field-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend> 
    296294<?php $show_clear = get_background_color() ? '' : ' style="display:none"'; ?> 
    297295<input type="text" name="background-color" id="background-color" value="#<?php echo esc_attr(get_background_color()) ?>" /> 
    298296<a class="hide-if-no-js" href="#" id="pickcolor"><?php _e('Select a Color'); ?></a> <span<?php echo $show_clear; ?> class="hide-if-no-js" id="clearcolor"> (<a href="#"><?php _e( 'Clear' ); ?></a>)</span> 
    299297<div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> 
    300 </fieldset></td> 
    301 </tr> 
    302 </tbody> 
    303 </table> 
     298</fieldset></div> 
     299</div> 
     300</div> 
    304301 
    305302<?php wp_nonce_field('custom-background'); ?> 
    306303<?php submit_button( null, 'primary', 'save-background-options' ); ?>