WordPress.org

Make WordPress Core

Ticket #16413: 16413.diff

File 16413.diff, 154.7 KB (added by andrewryno, 5 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="form-row"> 
     216                                <div class="form-label"><label><input type='radio' name='subdomain_install' value='1'<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></div> 
     217                                <div class="form-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="form-row"> 
     220                                <div class="form-label"><label><input type='radio' name='subdomain_install' value='0'<?php checked( ! $subdomain_install ); ?> /> <?php _e( 'Sub-directories' ); ?></label></div> 
     221                                <div class="form-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 ); ?></h3> 
    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="form-row"> 
     235                                <div class="form-label"><?php esc_html_e( 'Server Address' ); ?></div> 
     236                                <div class="form-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="form-row"> 
     247                                <div class="form-label"><?php esc_html_e( 'Sub-directory Install' ); ?></div> 
     248                                <div class="form-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="form-row"> 
     257                                <div class="form-label"><?php esc_html_e( 'Sub-directory Install' ); ?></div> 
     258                                <div class="form-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="form-row"> 
     267                                <div class="form-label"><?php esc_html_e( 'Sub-domain Install' ); ?></div> 
     268                                <div class="form-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="form-row"> 
     275                                <div class="form-label"><?php esc_html_e( 'Server Address' ); ?></div> 
     276                                <div class="form-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="form-row"> 
     282                                <div class="form-label"><?php esc_html_e( 'Network Title' ); ?></div> 
     283                                <div class="form-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="form-row"> 
     289                                <div class="form-label"><?php esc_html_e( 'Admin E-mail Address' ); ?></div> 
     290                                <div class="form-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="form-row"> 
     39<div class="form-label"><?php _e('Site Visibility') ?></div> 
     40<div class="form-input"> 
     41<fieldset><legend class="screen-reader-text"><span><?php _e('Site Visibility') ?> </span></legend> 
    4142<input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> /> 
    4243<label for="blog-public"><?php _e('I would like my site to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers');?></label><br/> 
    4344<input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> /> 
    4445<label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label> 
    4546<?php do_action('blog_privacy_selector'); ?> 
    46 </fieldset></td> 
    47 </tr> 
     47</fieldset> 
     48</div> 
     49</div> 
    4850<?php do_settings_fields('privacy', 'default'); ?> 
    49 </table> 
     51</div> 
    5052 
    5153<?php do_settings_sections('privacy'); ?> 
    5254 
  • wp-admin/includes/file.php

     
    10211021        } 
    10221022        _e('If you do not remember your credentials, you should contact your web host.'); 
    10231023?></p> 
    1024 <table class="form-table"> 
    1025 <tr valign="top"> 
    1026 <th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th> 
    1027 <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> 
    1028 </tr> 
     1024<div class="form-fields"> 
     1025<div class="form-row"> 
     1026<div class="form-label"><label for="hostname"><?php _e('Hostname') ?></label></div> 
     1027<div class="form-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> 
     1028</div> 
    10291029 
    1030 <tr valign="top"> 
    1031 <th scope="row"><label for="username"><?php echo $label_user; ?></label></th> 
    1032 <td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td> 
    1033 </tr> 
     1030<div class="form-row"> 
     1031<div class="form-label"><label for="username"><?php echo $label_user; ?></label></div> 
     1032<div class="form-input"><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></div> 
     1033</div> 
    10341034 
    1035 <tr valign="top"> 
    1036 <th scope="row"><label for="password"><?php echo $label_pass; ?></label></th> 
    1037 <td><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></td> 
    1038 </tr> 
     1035<div class="form-row"> 
     1036<div class="form-label"><label for="password"><?php echo $label_pass; ?></label></div> 
     1037<div class="form-input"><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></div> 
     1038</div> 
    10391039 
    10401040<?php if ( isset($types['ssh']) ) : ?> 
    1041 <tr id="ssh_keys" valign="top" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>"> 
    1042 <th scope="row"><?php _e('Authentication Keys') ?> 
     1041<div class="form-row" id="ssh_keys" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>"> 
     1042<div class="form-label"><?php _e('Authentication Keys') ?> 
    10431043<div class="key-labels textright"> 
    10441044<label for="public_key"><?php _e('Public Key:') ?></label ><br /> 
    10451045<label for="private_key"><?php _e('Private Key:') ?></label> 
    1046 </div></th> 
    1047 <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" /> 
    1048 <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> 
    1049 </tr> 
     1046</div></div> 
     1047<div class="form-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" /> 
     1048<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> 
     1049</div> 
    10501050<?php endif; ?> 
    10511051 
    1052 <tr valign="top"> 
    1053 <th scope="row"><?php _e('Connection Type') ?></th> 
    1054 <td> 
     1052<div class="form-row"> 
     1053<div class="form-label"><?php _e('Connection Type') ?></div> 
     1054<div class="form-input"> 
    10551055<fieldset><legend class="screen-reader-text"><span><?php _e('Connection Type') ?></span></legend> 
    10561056<?php 
    10571057        $disabled = disabled( (defined('FTP_SSL') && FTP_SSL) || (defined('FTP_SSH') && FTP_SSH), true, false ); 
     
    10621062        </label> 
    10631063        <?php endforeach; ?> 
    10641064</fieldset> 
    1065 </td> 
    1066 </tr> 
    1067 </table> 
     1065</div> 
     1066</div> 
     1067</div> 
    10681068 
    10691069<?php 
    10701070foreach ( (array) $extra_fields as $field ) { 
  • wp-admin/includes/meta-boxes.php

     
    760760        </tr> 
    761761        <tr> 
    762762                <td colspan="2"> 
    763                         <table cellpadding="3" cellspacing="5" class="form-table"> 
    764                                 <tr> 
    765                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th> 
    766                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend> 
     763                        <div class="form-fields"> 
     764                                <div class="form-row"> 
     765                                        <div class="form-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </div> 
     766                                        <div class="form-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend> 
    767767                                                <label for="me"> 
    768768                                                <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 
    769769                                                <?php _e('another web address of mine') ?></label> 
    770                                         </fieldset></td> 
    771                                 </tr> 
    772                                 <tr> 
    773                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th> 
    774                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend> 
     770                                        </fieldset></div> 
     771                                </div> 
     772                                <div class="form-row"> 
     773                                        <div class="form-label"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </div> 
     774                                        <div class="form-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend> 
    775775                                                <label for="contact"> 
    776776                                                <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> 
    777777                                                <label for="acquaintance"> 
     
    780780                                                <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> 
    781781                                                <label for="friendship"> 
    782782                                                <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
    783                                         </fieldset></td> 
    784                                 </tr> 
    785                                 <tr> 
    786                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th> 
    787                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend> 
     783                                        </fieldset></div> 
     784                                </div> 
     785                                <div class="form-row"> 
     786                                        <div class="form-label"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </div> 
     787                                        <div class="form-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend> 
    788788                                                <label for="met"> 
    789789                                                <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> 
    790790                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label> 
    791                                         </fieldset></td> 
    792                                 </tr> 
    793                                 <tr> 
    794                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th> 
    795                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend> 
     791                                        </fieldset></div> 
     792                                </div> 
     793                                <div class="form-row"> 
     794                                        <div class="form-label"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </div> 
     795                                        <div class="form-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend> 
    796796                                                <label for="co-worker"> 
    797797                                                <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> 
    798798                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label> 
    799799                                                <label for="colleague"> 
    800800                                                <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> /> 
    801801                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('colleague') ?></label> 
    802                                         </fieldset></td> 
    803                                 </tr> 
    804                                 <tr> 
    805                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th> 
    806                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend> 
     802                                        </fieldset></div> 
     803                                </div> 
     804                                <div class="form-row"> 
     805                                        <div class="form-label"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </div> 
     806                                        <div class="form-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend> 
    807807                                                <label for="co-resident"> 
    808808                                                <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> /> 
    809809                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label> 
     
    813813                                                <label for="geographical"> 
    814814                                                <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical'); ?> /> 
    815815                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
    816                                         </fieldset></td> 
    817                                 </tr> 
    818                                 <tr> 
    819                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th> 
    820                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend> 
     816                                        </fieldset></div> 
     817                                </div> 
     818                                <div class="form-row"> 
     819                                        <div class="form-label"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </div> 
     820                                        <div class="form-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend> 
    821821                                                <label for="child"> 
    822822                                                <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?>  /> 
    823823                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label> 
     
    836836                                                <label for="family"> 
    837837                                                <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family'); ?> /> 
    838838                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 
    839                                         </fieldset></td> 
    840                                 </tr> 
    841                                 <tr> 
    842                                         <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th> 
    843                                         <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend> 
     839                                        </fieldset></div> 
     840                                </div> 
     841                                <div class="form-row"> 
     842                                        <div class="form-label"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </div> 
     843                                        <div class="form-input"><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend> 
    844844                                                <label for="muse"> 
    845845                                                <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> 
    846846                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label> 
     
    853853                                                <label for="romantic"> 
    854854                                                <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> /> 
    855855                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sweetheart') ?></label> 
    856                                         </fieldset></td> 
    857                                 </tr> 
    858                         </table> 
     856                                        </fieldset></div> 
     857                                </div> 
     858                        </div> 
    859859                </td> 
    860860        </tr> 
    861861</table> 
     
    873873 */ 
    874874function link_advanced_meta_box($link) { 
    875875?> 
    876 <table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5"> 
    877         <tr class="form-field"> 
    878                 <th valign="top"  scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th> 
    879                 <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> 
    880         </tr> 
    881         <tr class="form-field"> 
    882                 <th valign="top"  scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th> 
    883                 <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> 
    884         </tr> 
    885         <tr class="form-field"> 
    886                 <th valign="top"  scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th> 
    887                 <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> 
    888         </tr> 
    889         <tr class="form-field"> 
    890                 <th valign="top"  scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th> 
    891                 <td><select name="link_rating" id="link_rating" size="1"> 
     876<div class="form-fields"> 
     877        <div class="form-row form-field"> 
     878                <div class="form-label"><label for="link_image"><?php _e('Image Address') ?></label></div> 
     879                <div class="form-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> 
     880        </div> 
     881        <div class="form-row form-field"> 
     882                <div class="form-label"><label for="rss_uri"><?php _e('RSS Address') ?></label></div> 
     883                <div class="form-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> 
     884        </div> 
     885        <div class="form-row form-field"> 
     886                <div class="form-label"><label for="link_notes"><?php _e('Notes') ?></label></div> 
     887                <div class="form-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> 
     888        </div> 
     889        <div class="form-row form-field"> 
     890                <div class="form-label"><label for="link_rating"><?php _e('Rating') ?></label></div> 
     891                <div class="form-input"><select name="link_rating" id="link_rating" size="1"> 
    892892                <?php 
    893893                        for ($r = 0; $r <= 10; $r++) { 
    894894                                echo('            <option value="'. esc_attr($r) .'" '); 
     
    897897                                echo('>'.$r.'</option>'); 
    898898                        } 
    899899                ?></select>&nbsp;<?php _e('(Leave at 0 for no rating.)') ?> 
    900                 </td> 
    901         </tr> 
    902 </table> 
     900                </div> 
     901        </div> 
     902</div> 
    903903<?php 
    904904} 
    905905 
  • wp-admin/includes/template.php

     
    622622        $minute = '<input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />'; 
    623623 
    624624        echo '<div class="timestamp-wrap">'; 
     625        echo '<input type="radio" name="publish_when[]" value="immediately" id="immediately" checked="checked" /> <label for="immediately">' . __( 'Immediately' ) . '</label><br />'; 
     626        echo '<input type="radio" name="publish_when[]" value="future" id="future" /> <label for="future">'; 
    625627        /* translators: 1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input */ 
    626628        printf(__('%1$s%2$s, %3$s @ %4$s : %5$s'), $month, $day, $year, $hour, $minute); 
    627  
     629        echo '</label>'; 
    628630        echo '</div><input type="hidden" id="ss" name="ss" value="' . $ss . '" />'; 
    629631 
    630632        if ( $multi ) return; 
     
    11601162                call_user_func($section['callback'], $section); 
    11611163                if ( !isset($wp_settings_fields) || !isset($wp_settings_fields[$page]) || !isset($wp_settings_fields[$page][$section['id']]) ) 
    11621164                        continue; 
    1163                 echo '<table class="form-table">'; 
     1165                echo '<div class="form-fields">'; 
    11641166                do_settings_fields($page, $section['id']); 
    1165                 echo '</table>'; 
     1167                echo '</div>'; 
    11661168        } 
    11671169} 
    11681170 
     
    11871189                return; 
    11881190 
    11891191        foreach ( (array) $wp_settings_fields[$page][$section] as $field ) { 
    1190                 echo '<tr valign="top">'; 
     1192                echo '<div class="field-row">'; 
    11911193                if ( !empty($field['args']['label_for']) ) 
    1192                         echo '<th scope="row"><label for="' . $field['args']['label_for'] . '">' . $field['title'] . '</label></th>'; 
     1194                        echo '<div class="form-label"><label for="' . $field['args']['label_for'] . '">' . $field['title'] . '</label></div>'; 
    11931195                else 
    1194                         echo '<th scope="row">' . $field['title'] . '</th>'; 
    1195                 echo '<td>'; 
     1196                        echo '<div class="form-label">' . $field['title'] . '</div>'; 
     1197                echo '<div class="field-input">'; 
    11961198                call_user_func($field['callback'], $field['args']); 
    1197                 echo '</td>'; 
    1198                 echo '</tr>'; 
     1199                echo '</div>'; 
     1200                echo '</div>'; 
    11991201        } 
    12001202} 
    12011203 
  • wp-admin/includes/ms.php

     
    612612 
    613613function choose_primary_blog() { 
    614614        ?> 
    615         <table class="form-table"> 
    616         <tr> 
    617         <?php /* translators: My sites label */ ?> 
    618                 <th scope="row"><?php _e( 'Primary Site' ); ?></th> 
    619                 <td> 
    620                 <?php 
    621                 $all_blogs = get_blogs_of_user( get_current_user_id() ); 
    622                 $primary_blog = get_user_meta( get_current_user_id(), 'primary_blog', true ); 
    623                 if ( count( $all_blogs ) > 1 ) { 
    624                         $found = false; 
    625                         ?> 
    626                         <select name="primary_blog"> 
    627                                 <?php foreach( (array) $all_blogs as $blog ) { 
    628                                         if ( $primary_blog == $blog->userblog_id ) 
    629                                                 $found = true; 
    630                                         ?><option value="<?php echo $blog->userblog_id ?>"<?php selected( $primary_blog,  $blog->userblog_id ); ?>><?php echo esc_url( get_home_url( $blog->userblog_id ) ) ?></option><?php 
    631                                 } ?> 
    632                         </select> 
     615        <div class="form-fields"> 
     616                <div class="form-row"> 
     617                <?php /* translators: My sites label */ ?> 
     618                        <div class="form-label"><?php _e( 'Primary Site' ); ?></div> 
     619                        <div class="form-input"> 
    633620                        <?php 
    634                         if ( !$found ) { 
     621                        $all_blogs = get_blogs_of_user( get_current_user_id() ); 
     622                        $primary_blog = get_user_meta( get_current_user_id(), 'primary_blog', true ); 
     623                        if ( count( $all_blogs ) > 1 ) { 
     624                                $found = false; 
     625                                ?> 
     626                                <select name="primary_blog"> 
     627                                        <?php foreach( (array) $all_blogs as $blog ) { 
     628                                                if ( $primary_blog == $blog->userblog_id ) 
     629                                                        $found = true; 
     630                                                ?><option value="<?php echo $blog->userblog_id ?>"<?php selected( $primary_blog,  $blog->userblog_id ); ?>><?php echo esc_url( get_home_url( $blog->userblog_id ) ) ?></option><?php 
     631                                        } ?> 
     632                                </select> 
     633                                <?php 
     634                                if ( !$found ) { 
     635                                        $blog = array_shift( $all_blogs ); 
     636                                        update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id ); 
     637                                } 
     638                        } elseif ( count( $all_blogs ) == 1 ) { 
    635639                                $blog = array_shift( $all_blogs ); 
    636                                 update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id ); 
     640                                echo $blog->domain; 
     641                                if ( $primary_blog != $blog->userblog_id ) // Set the primary blog again if it's out of sync with blog list. 
     642                                        update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id ); 
     643                        } else { 
     644                                echo "N/A"; 
    637645                        } 
    638                 } elseif ( count( $all_blogs ) == 1 ) { 
    639                         $blog = array_shift( $all_blogs ); 
    640                         echo $blog->domain; 
    641                         if ( $primary_blog != $blog->userblog_id ) // Set the primary blog again if it's out of sync with blog list. 
    642                                 update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id ); 
    643                 } else { 
    644                         echo "N/A"; 
    645                 } 
    646                 ?> 
    647                 </td> 
    648         </tr> 
     646                        ?> 
     647                        </div> 
     648                </div> 
    649649        <?php if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) : ?> 
    650                 <tr> 
    651                         <th scope="row" colspan="2" class="th-full"> 
     650                <div class="form-row"> 
     651                        <div class="form-input input-full"> 
    652652                                <a href="<?php echo apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php' ) ); ?>"><?php _e( 'Create a New Site' ); ?></a> 
    653653                        </th> 
    654                 </tr> 
     654                </div> 
    655655        <?php endif; ?> 
    656         </table> 
     656        </div> 
    657657        <?php 
    658658} 
    659659 
  • 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"> 
    158157<?php if ( 'diff' == $action ) : ?> 
    159 <tr id="revision"> 
    160         <th scope="row"></th> 
    161         <th scope="col" class="th-full"> 
     158<div class="form-row" id="revision"> 
     159        <div class="form-input input-full"> 
    162160                <span class="alignleft"><?php printf( __('Older: %s'), wp_post_revision_title( $left_revision ) ); ?></span> 
    163161                <span class="alignright"><?php printf( __('Newer: %s'), wp_post_revision_title( $right_revision ) ); ?></span> 
    164         </th> 
    165 </tr> 
     162        </div> 
     163</div> 
    166164<?php endif; 
    167165 
    168166// use get_post_to_edit filters? 
     
    180178        } 
    181179        ?> 
    182180 
    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> 
     181        <div class="form-row" id="revision-field-<?php echo $field; ?>"> 
     182                <div class="form-label"><?php echo esc_html( $field_title ); ?></div> 
     183                <div class="form-input"><div class="pre"><?php echo $content; ?></div></div> 
     184        </div> 
    187185 
    188186        <?php 
    189187 
     
    193191 
    194192        ?> 
    195193 
    196         <tr><td colspan="2"><div class="updated"><p><?php _e( 'These revisions are identical.' ); ?></p></div></td></tr> 
     194        <div class="form-row"><div class="form-input"><div class="updated"><p><?php _e( 'These revisions are identical.' ); ?></p></div></div></div> 
    197195 
    198196        <?php 
    199197 
     
    201199 
    202200?> 
    203201 
    204 </table> 
     202</div> 
    205203 
    206 <br class="clear" /> 
    207  
    208204<h3><?php echo $title; ?></h3> 
    209205 
    210206<?php 
  • wp-admin/custom-header.php

     
    432432<?php } ?> 
    433433 
    434434<h3><?php _e( 'Header Image' ) ?></h3> 
    435 <table class="form-table"> 
    436 <tbody> 
    437  
    438  
    439 <tr valign="top"> 
    440 <th scope="row"><?php _e( 'Preview' ); ?></th> 
    441 <td > 
     435<div class="form-fields"> 
     436<div class="form-row"> 
     437<div class="form-label"><?php _e( 'Preview' ); ?></div> 
     438<div class="form-input"> 
    442439        <?php if ( $this->admin_image_div_callback ) { 
    443440          call_user_func( $this->admin_image_div_callback ); 
    444441        } else { 
     
    454451                <div id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></div> 
    455452        </div> 
    456453        <?php } ?> 
    457 </td> 
    458 </tr> 
     454</div> 
     455</div> 
    459456<?php if ( current_theme_supports( 'custom-header-uploads' ) ) : ?> 
    460 <tr valign="top"> 
    461 <th scope="row"><?php _e( 'Upload Image' ); ?></th> 
    462 <td> 
     457<div class="form-row"> 
     458<div class="form-label"><?php _e( 'Upload Image' ); ?></div> 
     459<div class="form-input"> 
    463460        <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 /> 
    464461        <?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> 
    465462        <form enctype="multipart/form-data" id="upload-form" method="post" action="<?php echo esc_attr( add_query_arg( 'step', 2 ) ) ?>"> 
     
    471468                <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 
    472469        </p> 
    473470        </form> 
    474 </td> 
    475 </tr> 
     471</div> 
     472</div> 
    476473<?php endif; ?> 
    477 </tbody> 
    478 </table> 
     474</div> 
    479475 
    480476<form method="post" action="<?php echo esc_attr( add_query_arg( 'step', 1 ) ) ?>"> 
    481 <table class="form-table"> 
    482 <tbody> 
     477<div class="form-fields"> 
    483478        <?php if ( ! empty( $this->default_headers ) ) : ?> 
    484 <tr valign="top"> 
    485 <th scope="row"><?php _e( 'Default Images' ); ?></th> 
    486 <td> 
     479<div class="form-row"> 
     480<div class="form-label"><?php _e( 'Default Images' ); ?></div> 
     481<div class="form-input"> 
    487482<?php if ( current_theme_supports( 'custom-header-uploads' ) ) : ?> 
    488483        <p><?php _e( 'If you don&lsquo;t want to upload your own image, you can use one of these cool headers.' ) ?></p> 
    489484<?php else: ?> 
     
    492487        <?php 
    493488                $this->show_default_header_selector(); 
    494489        ?> 
    495 </td> 
    496 </tr> 
     490</div> 
     491</div> 
    497492        <?php endif; 
    498493 
    499494        if ( get_header_image() ) : ?> 
    500 <tr valign="top"> 
    501 <th scope="row"><?php _e( 'Remove Image' ); ?></th> 
    502 <td> 
     495<div class="form-row"> 
     496<div class="form-label"><?php _e( 'Remove Image' ); ?></div> 
     497<div class="form-input"> 
    503498        <p><?php _e( 'This will remove the header image. You will not be able to restore any customizations.' ) ?></p> 
    504499        <?php submit_button( __( 'Remove Header Image' ), 'button', 'removeheader', false ); ?> 
    505 </td> 
    506 </tr> 
     500</div> 
     501</div> 
    507502        <?php endif; 
    508503 
    509504        if ( defined( 'HEADER_IMAGE' ) ) : ?> 
    510 <tr valign="top"> 
    511 <th scope="row"><?php _e( 'Reset Image' ); ?></th> 
    512 <td> 
     505<div class="form-row"> 
     506<div class="form-label"><?php _e( 'Reset Image' ); ?></div> 
     507<div class="form-input"> 
    513508        <p><?php _e( 'This will restore the original header image. You will not be able to restore any customizations.' ) ?></p> 
    514509        <?php submit_button( __( 'Restore Original Header Image' ), 'button', 'resetheader', false ); ?> 
    515 </td> 
    516 </tr> 
     510</div> 
     511</div> 
    517512        <?php endif; ?> 
    518 </tbody> 
    519 </table> 
     513</div> 
    520514 
    521515        <?php if ( $this->header_text() ) : ?> 
    522516<h3><?php _e( 'Header Text' ) ?></h3> 
    523 <table class="form-table"> 
    524 <tbody> 
    525 <tr valign="top" class="hide-if-no-js"> 
    526 <th scope="row"><?php _e( 'Display Text' ); ?></th> 
    527 <td> 
     517<div class="form-fields"> 
     518<div class="form-row" class="hide-if-no-js"> 
     519<div class="form-label"><?php _e( 'Display Text' ); ?></div> 
     520<div class="form-input"> 
    528521        <p> 
    529522        <?php $hidetext = get_theme_mod( 'header_textcolor', HEADER_TEXTCOLOR ); ?> 
    530523        <label><input type="radio" value="1" name="hidetext" id="hidetext"<?php checked( ( 'blank' == $hidetext || empty( $hidetext ) )  ? true : false ); ?> /> <?php _e( 'No' ); ?></label> 
    531524        <label><input type="radio" value="0" name="hidetext" id="showtext"<?php checked( ( 'blank' == $hidetext || empty( $hidetext ) ) ? false : true ); ?> /> <?php _e( 'Yes' ); ?></label> 
    532525        </p> 
    533 </td> 
    534 </tr> 
    535  
    536 <tr valign="top" id="text-color-row"> 
    537 <th scope="row"><?php _e( 'Text Color' ); ?></th> 
    538 <td> 
     526</div> 
     527</div> 
     528<div class="form-row" id="text-color-row"> 
     529<div class="form-label"><?php _e( 'Text Color' ); ?></div> 
     530<div class="form-input"> 
    539531        <p> 
    540532                <input type="text" name="text-color" id="text-color" value="#<?php echo esc_attr( get_theme_mod( 'header_textcolor', HEADER_TEXTCOLOR ) ); ?>" /> 
    541533                <span class="description hide-if-js"><?php _e( 'If you want to hide header text, add <strong>#blank</strong> as text color.' );?></span> 
    542534                <input type="button" class="button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color' ); ?>" id="pickcolor" /> 
    543535        </p> 
    544536        <div id="color-picker" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> 
    545 </td> 
    546 </tr> 
    547  
     537</div> 
     538</div> 
    548539        <?php if ( defined('HEADER_TEXTCOLOR') && get_theme_mod('header_textcolor') ) { ?> 
    549 <tr valign="top"> 
    550 <th scope="row"><?php _e('Reset Text Color'); ?></th> 
    551 <td> 
     540<div class="form-row"> 
     541<div class="form-label"><?php _e('Reset Text Color'); ?></div> 
     542<div class="form-input"> 
    552543        <p><?php _e( 'This will restore the original header text. You will not be able to restore any customizations.' ) ?></p> 
    553544        <?php submit_button( __( 'Restore Original Header Text' ), 'button', 'resettext', false ); ?> 
    554 </td> 
    555 </tr> 
     545</div> 
     546</div> 
    556547        <?php } ?> 
    557  
    558 </tbody> 
    559 </table> 
     548</div> 
    560549        <?php endif; 
    561550 
    562551do_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<div class="form-fields comment-ays"> 
     154<div class="form-row alt"> 
     155<div class="form-label"><?php _e('Author'); ?></div> 
     156<div class="form-field"><?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="form-row"> 
     160<div class="form-label"><?php _e('E-mail'); ?></div> 
     161<div class="form-field"><?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="form-field"> 
     166<div class="form-label"><?php _e('URL'); ?></div> 
     167<div class="form-field"><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="form-row"> 
     171<div class="form-label"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></div> 
     172<div class="form-field"><?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 
  • 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="form-row form-field form-required"> 
     241                <div class="form-label"><label for="adduser-email"><?php echo $label; ?></label></div> 
     242                <div class="form-input"><input name="email" type="text" id="adduser-email" value="" /></div> 
     243        </div> 
     244        <div class="form-row form-field"> 
     245                <div class="form-label"><label for="adduser-role"><?php _e('Role'); ?></label></div> 
     246                <div class="form-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="form-row"> 
     253                <div class="form-label"><label for="adduser-noconfirmation"><?php _e('Skip Confirmation Email') ?></label></div> 
     254                <div class="form-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="form-row form-field form-required"> 
     287                <div class="form-label"><label for="user_login"><?php _e('Username'); ?> <span class="description"><?php _e('(required)'); ?></span></label></div> 
     288                <div class="form-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="form-row form-field form-required"> 
     291                <div class="form-label"><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></div> 
     292                <div class="form-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="form-row form-field"> 
     296                <div class="form-label"><label for="first_name"><?php _e('First Name') ?> </label></div> 
     297                <div class="form-input"><input name="first_name" type="text" id="first_name" value="<?php echo esc_attr($new_user_firstname); ?>" /></div> 
     298        </div> 
     299        <div class="form-row form-field"> 
     300                <div class="form-label"><label for="last_name"><?php _e('Last Name') ?> </label></div> 
     301                <div class="form-input"><input name="last_name" type="text" id="last_name" value="<?php echo esc_attr($new_user_lastname); ?>" /></div> 
     302        </div> 
     303        <div class="form-row form-field"> 
     304                <div class="form-label"><label for="url"><?php _e('Website') ?></label></div> 
     305                <div class="form-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="form-row form-field form-required"> 
     309                <div class="form-label"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(twice, required)'); ?></span></label></div> 
     310                <div class="form-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="form-row"> 
     319                <div class="form-label"><label for="send_password"><?php _e('Send Password?') ?></label></div> 
     320                <div class="form-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="form-row form-field"> 
     325                <div class="form-label"><label for="role"><?php _e('Role'); ?></label></div> 
     326                <div class="form-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="form-row"> 
     337                <div class="form-label"><label for="noconfirmation"><?php _e('Skip Confirmation Email') ?></label></div> 
     338                <div class="form-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="form-row"> 
     85<div class="form-label"><label for="blogname"><?php _e('Site Title') ?></label></div> 
     86<div class="form-input"><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></div> 
     87</div> 
     88<div class="form-row"> 
     89<div class="form-label"><label for="blogdescription"><?php _e('Tagline') ?></label></div> 
     90<div class="form-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="form-row"> 
     95<div class="form-label"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></div> 
     96<div class="form-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="form-row"> 
     99<div class="form-label"><label for="home"><?php _e('Site address (URL)') ?></label></div> 
     100<div class="form-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="form-row"> 
     104<div class="form-label"><label for="admin_email"><?php _e('E-mail address') ?> </label></div> 
     105<div class="form-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="form-row"> 
     109<div class="form-label"><?php _e('Membership') ?></div> 
     110<div class="form-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="form-row"> 
     116<div class="form-label"><label for="default_role"><?php _e('New User Default Role') ?></label></div> 
     117<div class="form-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="form-row"> 
     123<div class="form-label"><label for="new_admin_email"><?php _e('E-mail address') ?> </label></div> 
     124<div class="form-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>'), $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="form-row"> 
    137137<?php 
    138138if ( !wp_timezone_supported() ) : // no magic timezone support here 
    139139?> 
    140 <th scope="row"><label for="gmt_offset"><?php _e('Timezone') ?> </label></th> 
    141 <td> 
     140<div class="form-label"><label for="gmt_offset"><?php _e('Timezone') ?> </label></div> 
     141<div class="form-input"> 
    142142<select name="gmt_offset" id="gmt_offset"> 
    143143<?php 
    144144$current_offset = get_option('gmt_offset'); 
     
    170170<?php endif; ?> 
    171171<br /> 
    172172<span class="description"><?php _e('Unfortunately, you have to manually update this for daylight saving time. The PHP Date/Time library is not supported by your web host.'); ?></span> 
    173 </td> 
     173</div> 
    174174<?php 
    175175else: // looks like we can do nice timezone selection! 
    176176$current_offset = get_option('gmt_offset'); 
     
    193193} 
    194194 
    195195?> 
    196 <th scope="row"><label for="timezone_string"><?php _e('Timezone') ?></label></th> 
    197 <td> 
     196<div class="form-label"><label for="timezone_string"><?php _e('Timezone') ?></label></div> 
     197<div class="form-input"> 
    198198 
    199199<select id="timezone_string" name="timezone_string"> 
    200200<?php echo wp_timezone_choice($tzstring); ?> 
     
    248248        ?> 
    249249        </span> 
    250250<?php endif; ?> 
    251 </td> 
     251</div> 
    252252 
    253253<?php endif; ?> 
    254 </tr> 
    255 <tr> 
    256 <th scope="row"><?php _e('Date Format') ?></th> 
    257 <td> 
     254</div> 
     255<div class="form-row"> 
     256<div class="form-label"><?php _e('Date Format') ?></div> 
     257<div class="form-input"> 
    258258        <fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend> 
    259259<?php 
    260260 
     
    283283        echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date and time formatting</a>.') . "</p>\n"; 
    284284?> 
    285285        </fieldset> 
    286 </td> 
    287 </tr> 
    288 <tr> 
    289 <th scope="row"><?php _e('Time Format') ?></th> 
    290 <td> 
     286</div> 
     287</div> 
     288<div class="form-row"> 
     289<div class="form-label"><?php _e('Time Format') ?></div> 
     290<div class="form-input"> 
    291291        <fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend> 
    292292<?php 
    293293 
     
    314314        ; 
    315315?> 
    316316        </fieldset> 
    317 </td> 
    318 </tr> 
    319 <tr> 
    320 <th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th> 
    321 <td><select name="start_of_week" id="start_of_week"> 
     317</div> 
     318</div> 
     319<div class="form-row"> 
     320<div class="form-label"><label for="start_of_week"><?php _e('Week Starts On') ?></label></div> 
     321<div class="form-input"><select name="start_of_week" id="start_of_week"> 
    322322<?php 
    323323for ($day_index = 0; $day_index <= 6; $day_index++) : 
    324324        $selected = (get_option('start_of_week') == $day_index) ? 'selected="selected"' : ''; 
    325325        echo "\n\t<option value='" . esc_attr($day_index) . "' $selected>" . $wp_locale->get_weekday($day_index) . '</option>'; 
    326326endfor; 
    327327?> 
    328 </select></td> 
    329 </tr> 
     328</select></div> 
     329</div> 
    330330<?php do_settings_fields('general', 'default'); ?> 
    331331<?php 
    332332        $languages = get_available_languages(); 
    333333        if ( is_multisite() && !empty( $languages ) ): 
    334334?> 
    335         <tr valign="top"> 
    336                 <th width="33%" scope="row"><?php _e('Site language:') ?></th> 
    337                 <td> 
     335        <div class="form-row"> 
     336                <div class="form-label"><?php _e('Site language:') ?></div> 
     337                <div class="form-input"> 
    338338                        <select name="WPLANG" id="WPLANG"> 
    339339                                <?php mu_dropdown_languages( $languages, get_option('WPLANG') ); ?> 
    340340                        </select> 
    341                 </td> 
    342         </tr> 
     341                </div> 
     342        </div> 
    343343<?php 
    344344        endif; 
    345345?> 
    346 </table> 
     346</div> 
    347347 
    348348<?php do_settings_sections('general'); ?> 
    349349 
  • 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="form-row"> 
     44<div class="form-label"><?php _e('Thumbnail size') ?></div> 
     45<div class="form-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="form-row"> 
     56<div class="form-label"><?php _e('Medium size') ?></div> 
     57<div class="form-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="form-row"> 
     66<div class="form-label"><?php _e('Large size') ?></div> 
     67<div class="form-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'); ?> 
    76 </table> 
     76</div> 
    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="form-row"> 
     83<div class="form-label"><?php _e('Auto-embeds'); ?></div> 
     84<div class="form-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="form-row"> 
     90<div class="form-label"><?php _e('Maximum embed size') ?></div> 
     91<div class="form-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'); ?> 
    101 </table> 
     101</div> 
    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="form-row"> 
     107<div class="form-label"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></div> 
     108<div class="form-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="form-row"> 
     114<div class="form-label"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></div> 
     115<div class="form-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 
    120 <tr> 
    121 <th scope="row" colspan="2" class="th-full"> 
     120<div class="form-row"> 
     121<div class="form-label label-full"> 
    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> 
     127</div> 
    128128 
    129129<?php do_settings_fields('media', 'uploads'); ?> 
    130 </table> 
     130</div> 
    131131<?php endif; ?> 
    132132 
    133133<?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="form-row"> 
     90        <div class="form-label first"><?php _e( 'Name:' ); ?></div> 
     91        <div class="form-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="form-row"> 
     94        <div class="form-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="form-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="form-row"> 
     105        <div class="form-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="form-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="form-field form-required"> 
     40                        <div class="form-label"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></div> 
     41                        <div class="form-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="form-field"> 
     46                        <div class="form-label"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></div> 
     47                        <div class="form-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="form-field"> 
     53                        <div class="form-label"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></div> 
     54                        <div class="form-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="form-field"> 
     63                        <div class="form-label"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></div> 
     64                        <div class="form-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="form-row form-field form-required"> 
     117                        <div class="form-input"><?php _e( 'Site Address' ) ?></div> 
     118                        <div class="form-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="form-row form-field form-required"> 
     129                        <div class="form-input"><?php _e( 'Site Title' ) ?></div> 
     130                        <div class="form-input"><input name="blog[title]" type="text" class="regular-text" title="<?php _e( 'Title' ) ?>"/></div> 
     131                </div> 
     132                <div class="form-row form-field form-required"> 
     133                        <div class="form-input"><?php _e( 'Admin Email' ) ?></div> 
     134                        <div class="form-input"><input name="blog[email]" type="text" class="regular-text" title="<?php _e( 'Email' ) ?>"/></div> 
     135                </div> 
     136                <div class="form-row 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.' ) ?></div> 
     138                </div> 
     139        </div> 
    140140        <?php submit_button( __('Add Site'), 'primary', 'add-site' ); ?> 
    141141        </form> 
    142142</div> 
  • wp-admin/network/site-info.php

     
    111111<form method="post" action="site-info.php?action=update-site"> 
    112112        <?php wp_nonce_field( 'edit-site' ); ?> 
    113113        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    114         <table class="form-table"> 
    115                 <tr class="form-field form-required"> 
    116                         <th scope="row"><?php _e( 'Domain' ) ?></th> 
     114        <dev class="form-fields"> 
     115                <div class="form-input form-field form-required"> 
     116                        <div class="field-label"><?php _e( 'Domain' ) ?></div> 
    117117                        <?php 
    118118                        $protocol = is_ssl() ? 'https://' : 'http://'; 
    119119                        if ( $is_main_site ) { ?> 
    120                         <td><code><?php echo $protocol; echo esc_attr( $details->domain ) ?></code></td> 
     120                        <div class="field-input"><code><?php echo $protocol; echo esc_attr( $details->domain ) ?></code></div> 
    121121                        <?php } else { ?> 
    122                         <td><?php echo $protocol; ?><input name="blog[domain]" type="text" id="domain" value="<?php echo esc_attr( $details->domain ) ?>" size="33" /></td> 
     122                        <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> 
    123123                        <?php } ?> 
    124                 </tr> 
    125                 <tr class="form-field form-required"> 
    126                         <th scope="row"><?php _e( 'Path' ) ?></th> 
     124                </div> 
     125                <div class="form-input form-field form-required"> 
     126                        <div class="field-label"><?php _e( 'Path' ) ?></div> 
    127127                        <?php if ( $is_main_site ) { ?> 
    128                         <td><code><?php echo esc_attr( $details->path ) ?></code></td> 
     128                        <div class="field-input"><code><?php echo esc_attr( $details->path ) ?></code></div> 
    129129                        <?php } else { ?> 
    130                         <td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style='margin-bottom:5px;' /> 
    131                         <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> 
     130                        <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;' /> 
     131                        <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> 
    132132                        <?php } ?> 
    133                 </tr> 
    134                 <tr class="form-field"> 
    135                         <th scope="row"><?php _ex( 'Registered', 'site' ) ?></th> 
    136                         <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ) ?>" size="40" /></td> 
    137                 </tr> 
    138                 <tr class="form-field"> 
    139                         <th scope="row"><?php _e( 'Last Updated' ); ?></th> 
    140                         <td><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ) ?>" size="40" /></td> 
    141                 </tr> 
     133                </div> 
     134                <div class="form-input form-field"> 
     135                        <div class="field-label"><?php _ex( 'Registered', 'site' ) ?></div> 
     136                        <div class="field-input"><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ) ?>" size="40" /></div> 
     137                </div> 
     138                <div class="form-input form-field"> 
     139                        <div class="field-label"><?php _e( 'Last Updated' ); ?></div> 
     140                        <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> 
     141                </div> 
    142142                <?php 
    143143                $attribute_fields = array( 'public' => __( 'Public' ) ); 
    144144                if ( ! $is_main_site ) { 
     
    148148                } 
    149149                $attribute_fields['mature'] = __( 'Mature' ); 
    150150                ?> 
    151                 <tr> 
    152                         <th scope="row"><?php _e( 'Attributes' ); ?></th> 
    153                         <td> 
     151                <div class="field-row"> 
     152                        <div class="field-label"><?php _e( 'Attributes' ); ?></div> 
     153                        <div class="field-input"> 
    154154                        <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?> 
    155155                                <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 ) ) ); ?> /> 
    156156                                <?php echo $field_label; ?></label><br/> 
    157157                        <?php endforeach; ?> 
    158                         </td> 
    159                 </tr> 
    160         </table> 
     158                        </div> 
     159                </div> 
     160        </div> 
    161161        <?php submit_button(); ?> 
    162162</form> 
    163163 
  • wp-admin/network/settings.php

     
    4949        <form method="post" action="edit.php?action=siteoptions"> 
    5050                <?php wp_nonce_field( 'siteoptions' ); ?> 
    5151                <h3><?php _e( 'Operational Settings' ); ?></h3> 
    52                 <table class="form-table"> 
    53                         <tr valign="top"> 
    54                                 <th scope="row"><label for="site_name"><?php _e( 'Network Name' ) ?></label></th> 
    55                                 <td> 
     52                <div class="form-fields"> 
     53                        <div class="form-row"> 
     54                                <div class="form-label"><label for="site_name"><?php _e( 'Network Name' ) ?></label></div> 
     55                                <div class="form-input"> 
    5656                                        <input name="site_name" type="text" id="site_name" class="regular-text" value="<?php echo esc_attr( $current_site->site_name ) ?>" /> 
    5757                                        <br /> 
    5858                                        <?php _e( 'What you would like to call this website.' ) ?> 
    59                                 </td> 
    60                         </tr> 
     59                                </div> 
     60                        </div> 
    6161 
    62                         <tr valign="top"> 
    63                                 <th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th> 
    64                                 <td> 
     62                        <div class="form-row"> 
     63                                <div class="form-label"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></div> 
     64                                <div class="form-input"> 
    6565                                        <input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" /> 
    6666                                        <br /> 
    6767                                        <?php printf( __( 'Registration and support emails will come from this address. An address such as <code>support@%s</code> is recommended.' ), $current_site->domain ); ?> 
    68                                 </td> 
    69                         </tr> 
    70                 </table> 
     68                                </div> 
     69                        </div> 
     70                </div> 
    7171                <h3><?php _e( 'Registration Settings' ); ?></h3> 
    72                 <table class="form-table"> 
    73                         <tr valign="top"> 
    74                                 <th scope="row"><?php _e( 'Allow new registrations' ) ?></th> 
     72                <div class="form-fields"> 
     73                        <div class="form-row"> 
     74                                <div class="form-label"><?php _e( 'Allow new registrations' ) ?></div> 
    7575                                <?php 
    7676                                if ( !get_site_option( 'registration' ) ) 
    7777                                        update_site_option( 'registration', 'none' ); 
    7878                                $reg = get_site_option( 'registration' ); 
    7979                                ?> 
    80                                 <td> 
     80                                <div class="form-input"> 
    8181                                        <label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled.' ); ?></label><br /> 
    8282                                        <label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br /> 
    8383                                        <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 /> 
     
    8585                                        <?php if ( is_subdomain_install() ) 
    8686                                                _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.' ); 
    8787                                        ?> 
    88                                 </td> 
    89                         </tr> 
     88                                </div> 
     89                        </div> 
    9090 
    91                         <tr valign="top"> 
    92                                 <th scope="row"><?php _e( 'Registration notification' ) ?></th> 
     91                        <div class="form-row"> 
     92                                <div class="form-label"><?php _e( 'Registration notification' ) ?></div> 
    9393                                <?php 
    9494                                if ( !get_site_option( 'registrationnotification' ) ) 
    9595                                        update_site_option( 'registrationnotification', 'yes' ); 
    9696                                ?> 
    97                                 <td> 
     97                                <div class="form-input"> 
    9898                                        <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> 
    99                                 </td> 
    100                         </tr> 
     99                                </div> 
     100                        </div> 
    101101 
    102                         <tr valign="top" id="addnewusers"> 
    103                                 <th scope="row"><?php _e( 'Add New Users' ) ?></th> 
    104                                 <td> 
     102                        <div class="form-row" id="addnewusers"> 
     103                                <div class="form-label"><?php _e( 'Add New Users' ) ?></div> 
     104                                <div class="form-input"> 
    105105                                        <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> 
    106                                 </td> 
    107                         </tr> 
     106                                </div> 
     107                        </div> 
    108108 
    109                         <tr valign="top"> 
    110                                 <th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></th> 
    111                                 <td> 
     109                        <div class="form-row"> 
     110                                <div class="form-label"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></div> 
     111                                <div class="form-input"> 
    112112                                        <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" /> 
    113113                                        <br /> 
    114114                                        <?php _e( 'Users are not allowed to register these sites. Separate names by spaces.' ) ?> 
    115                                 </td> 
    116                         </tr> 
     115                                </div> 
     116                        </div> 
    117117 
    118                         <tr valign="top"> 
    119                                 <th scope="row"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></th> 
    120                                 <td> 
     118                        <div class="form-row"> 
     119                                <div class="form-label"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></div> 
     120                                <div class="form-input"> 
    121121                                        <?php $limited_email_domains = get_site_option( 'limited_email_domains' ); 
    122122                                        $limited_email_domains = str_replace( ' ', "\n", $limited_email_domains ); ?> 
    123123                                        <textarea name="limited_email_domains" id="limited_email_domains" cols="45" rows="5"> 
    124124<?php echo esc_textarea( $limited_email_domains == '' ? '' : implode( "\n", (array) $limited_email_domains ) ); ?></textarea> 
    125125                                        <br /> 
    126126                                        <?php _e( 'If you want to limit site registrations to certain domains. One domain per line.' ) ?> 
    127                                 </td> 
    128                         </tr> 
     127                                </div> 
     128                        </div> 
    129129 
    130                         <tr valign="top"> 
    131                                 <th scope="row"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></th> 
    132                                 <td> 
     130                        <div class="form-row"> 
     131                                <div class="form-label"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></div> 
     132                                <div class="form-input"> 
    133133                                        <textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5"> 
    134134<?php echo esc_textarea( get_site_option( 'banned_email_domains' ) == '' ? '' : implode( "\n", (array) get_site_option( 'banned_email_domains' ) ) ); ?></textarea> 
    135135                                        <br /> 
    136136                                        <?php _e( 'If you want to ban domains from site registrations. One domain per line.' ) ?> 
    137                                 </td> 
    138                         </tr> 
     137                                </div> 
     138                        </div> 
    139139 
    140                 </table> 
     140                </div> 
    141141                <h3><?php _e('New Site Settings'); ?></h3> 
    142                 <table class="form-table"> 
     142                <div class="form-fields"> 
    143143 
    144                         <tr valign="top"> 
    145                                 <th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></th> 
    146                                 <td> 
     144                        <div class="form-row"> 
     145                                <div class="form-label"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></div> 
     146                                <div class="form-input"> 
    147147                                        <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text"> 
    148148<?php echo esc_textarea( stripslashes( get_site_option( 'welcome_email' ) ) ) ?></textarea> 
    149149                                        <br /> 
    150150                                        <?php _e( 'The welcome email sent to new site owners.' ) ?> 
    151                                 </td> 
    152                         </tr> 
    153                         <tr valign="top"> 
    154                                 <th scope="row"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></th> 
    155                                 <td> 
     151                                </div> 
     152                        </div> 
     153                        <div class="form-row"> 
     154                                <div class="form-label"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></div> 
     155                                <div class="form-input"> 
    156156                                        <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text"> 
    157157<?php echo esc_textarea( stripslashes( get_site_option( 'welcome_user_email' ) ) ) ?></textarea> 
    158158                                        <br /> 
    159159                                        <?php _e( 'The welcome email sent to new users.' ) ?> 
    160                                 </td> 
    161                         </tr> 
    162                         <tr valign="top"> 
    163                                 <th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th> 
    164                                 <td> 
     160                                </div> 
     161                        </div> 
     162                        <div class="form-row"> 
     163                                <div class="form-label"><label for="first_post"><?php _e( 'First Post' ) ?></label></div> 
     164                                <div class="form-input"> 
    165165                                        <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text"> 
    166166<?php echo esc_textarea( stripslashes( get_site_option( 'first_post' ) ) ) ?></textarea> 
    167167                                        <br /> 
    168168                                        <?php _e( 'The first post on a new site.' ) ?> 
    169                                 </td> 
    170                         </tr> 
    171                         <tr valign="top"> 
    172                                 <th scope="row"><label for="first_page"><?php _e( 'First Page' ) ?></label></th> 
    173                                 <td> 
     169                                </div> 
     170                        </div> 
     171                        <div class="form-row"> 
     172                                <div class="form-label"><label for="first_page"><?php _e( 'First Page' ) ?></label></div> 
     173                                <div class="form-input"> 
    174174                                        <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text"> 
    175175<?php echo esc_textarea( stripslashes( get_site_option('first_page') ) ) ?></textarea> 
    176176                                        <br /> 
    177177                                        <?php _e( 'The first page on a new site.' ) ?> 
    178                                 </td> 
    179                         </tr> 
    180                         <tr valign="top"> 
    181                                 <th scope="row"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></th> 
    182                                 <td> 
     178                                </div> 
     179                        </div> 
     180                        <div class="form-row"> 
     181                                <div class="form-label"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></div> 
     182                                <div class="form-input"> 
    183183                                        <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text"> 
    184184<?php echo esc_textarea( stripslashes( get_site_option('first_comment') ) ) ?></textarea> 
    185185                                        <br /> 
    186186                                        <?php _e( 'The first comment on a new site.' ) ?> 
    187                                 </td> 
    188                         </tr> 
    189                         <tr valign="top"> 
    190                                 <th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th> 
    191                                 <td> 
     187                                </div> 
     188                        </div> 
     189                        <div class="form-row"> 
     190                                <div class="form-label"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></div> 
     191                                <div class="form-input"> 
    192192                                        <input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" /> 
    193193                                        <br /> 
    194194                                        <?php _e( 'The author of the first comment on a new site.' ) ?> 
    195                                 </td> 
    196                         </tr> 
    197                         <tr valign="top"> 
    198                                 <th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th> 
    199                                 <td> 
     195                                </div> 
     196                        </div> 
     197                        <div class="form-row"> 
     198                                <div class="form-label"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></div> 
     199                                <div class="form-input"> 
    200200                                        <input type="text" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" /> 
    201201                                        <br /> 
    202202                                        <?php _e( 'The URL for the first comment on a new site.' ) ?> 
    203                                 </td> 
    204                         </tr> 
    205                 </table> 
     203                                </div> 
     204                        </div> 
     205                </div> 
    206206                <h3><?php _e( 'Upload Settings' ); ?></h3> 
    207                 <table class="form-table"> 
    208                         <tr valign="top"> 
    209                                 <th scope="row"><?php _e( 'Media upload buttons' ) ?></th> 
     207                <div class="form-fields"> 
     208                        <div class="form-row"> 
     209                                <div class="form-label"><?php _e( 'Media upload buttons' ) ?></div> 
    210210                                <?php $mu_media_buttons = get_site_option( 'mu_media_buttons', array() ); ?> 
    211                                 <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 /> 
     211                                <div class="form-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 /> 
    212212                                <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 /> 
    213213                                <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 /> 
    214                                 <?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> 
    215                         </tr> 
     214                                <?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> 
     215                        </div> 
    216216 
    217                         <tr valign="top"> 
    218                                 <th scope="row"><?php _e( 'Site upload space' ) ?></th> 
    219                                 <td> 
     217                        <div class="form-row"> 
     218                                <div class="form-label"><?php _e( 'Site upload space' ) ?></div> 
     219                                <div class="form-input"> 
    220220                                <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 /> 
    221                                 </td> 
    222                         </tr> 
     221                                </div> 
     222                        </div> 
    223223 
    224                         <tr valign="top"> 
    225                                 <th scope="row"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></th> 
    226                                 <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> 
    227                         </tr> 
     224                        <div class="form-row"> 
     225                                <div class="form-label"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></div> 
     226                                <div class="form-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> 
     227                        </div> 
    228228 
    229                         <tr valign="top"> 
    230                                 <th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th> 
    231                                 <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> 
    232                         </tr> 
    233                 </table> 
     229                        <div class="form-row"> 
     230                                <div class="form-label"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></div> 
     231                                <div class="form-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> 
     232                        </div> 
     233                </div> 
    234234 
    235235<?php 
    236236                $languages = get_available_languages(); 
     
    238238                        $lang = get_site_option( 'WPLANG' ); 
    239239?> 
    240240                <h3><?php _e( 'Language Settings' ); ?></h3> 
    241                 <table class="form-table"> 
    242                                 <tr valign="top"> 
    243                                         <th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th> 
    244                                         <td> 
    245                                                 <select name="WPLANG" id="WPLANG"> 
    246                                                         <?php mu_dropdown_languages( $languages, get_site_option( 'WPLANG' ) ); ?> 
    247                                                 </select> 
    248                                         </td> 
    249                                 </tr> 
    250                 </table> 
     241                <div class="form-fields"> 
     242                        <div class="form-row"> 
     243                                <div class="form-label"><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></div> 
     244                                <div class="form-input"> 
     245                                        <select name="WPLANG" id="WPLANG"> 
     246                                                <?php mu_dropdown_languages( $languages, get_site_option( 'WPLANG' ) ); ?> 
     247                                        </select> 
     248                                </div> 
     249                        </div> 
     250                </div> 
    251251<?php 
    252252                } // languages 
    253253?> 
    254254 
    255255                <h3><?php _e( 'Menu Settings' ); ?></h3> 
    256                 <table id="menu" class="form-table"> 
    257                         <tr valign="top"> 
    258                                 <th scope="row"><?php _e( 'Enable administration menus' ); ?></th> 
    259                                 <td> 
     256                <div id="menu" class="form-fields"> 
     257                        <div class="form-row"> 
     258                                <div class="form-label"><?php _e( 'Enable administration menus' ); ?></div> 
     259                                <div class="form-input"> 
    260260                        <?php 
    261261                        $menu_perms = get_site_option( 'menu_items' ); 
    262262                        $menu_items = apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' ) ) ); 
     
    264264                                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/>"; 
    265265                        } 
    266266                        ?> 
    267                                 </td> 
    268                         </tr> 
    269                 </table> 
     267                                </div> 
     268                        </div> 
     269                </div> 
    270270 
    271271                <?php do_action( 'wpmu_options' ); // Add more options here ?> 
    272272 
  • wp-admin/network/site-settings.php

     
    101101<form method="post" action="site-settings.php?action=update-site"> 
    102102        <?php wp_nonce_field( 'edit-site' ); ?> 
    103103        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    104         <table class="form-table"> 
     104        <div class="form-fields"> 
    105105                <?php 
    106106                $blog_prefix = $wpdb->get_blog_prefix( $id ); 
    107107                $options = $wpdb->get_results( "SELECT * FROM {$blog_prefix}options WHERE option_name NOT LIKE '\_%' AND option_name NOT LIKE '%user_roles'" ); 
     
    121121                        } 
    122122                        if ( strpos( $option->option_value, "\n" ) !== false ) { 
    123123                        ?> 
    124                                 <tr class="form-field"> 
    125                                         <th scope="row"><?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></th> 
    126                                         <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> 
    127                                 </tr> 
     124                                <div class="form-row form-field"> 
     125                                        <div class="form-label"><?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></div> 
     126                                        <div class="form-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> 
     127                                </div> 
    128128                        <?php 
    129129                        } else { 
    130130                        ?> 
    131                                 <tr class="form-field"> 
    132                                         <th scope="row"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th> 
     131                                <div class="form-row form-field"> 
     132                                        <div class="form-label"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></div> 
    133133                                        <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?> 
    134                                         <td><code><?php echo esc_html( $option->option_value ) ?></code></td> 
     134                                        <div class="form-input"><code><?php echo esc_html( $option->option_value ) ?></code></div> 
    135135                                        <?php } else { ?> 
    136                                         <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> 
     136                                        <div class="form-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> 
    137137                                        <?php } ?> 
    138                                 </tr> 
     138                                </div> 
    139139                        <?php 
    140140                        } 
    141141                } // End foreach 
    142142                do_action( 'wpmueditblogaction', $id ); 
    143143                ?> 
    144         </table> 
     144        </div> 
    145145        <?php submit_button(); ?> 
    146146</form> 
    147147 
  • wp-admin/network/site-users.php

     
    244244<form action="site-users.php?action=adduser" id="adduser" method="post"> 
    245245        <?php wp_nonce_field( 'edit-site' ); ?> 
    246246        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    247         <table class="form-table"> 
    248                 <tr> 
    249                         <th scope="row"><?php _e( 'Username' ); ?></th> 
    250                         <td><input type="text" class="regular-text" name="newuser" id="newuser" /></td> 
    251                 </tr> 
    252                 <tr> 
    253                         <th scope="row"><?php _e( 'Role'); ?></th> 
    254                         <td><select name="new_role" id="new_role_0"> 
     247        <div class="form-fields"> 
     248                <div class="form-row"> 
     249                        <div class="form-label"><?php _e( 'Username' ); ?></div> 
     250                        <div class="form-input"><input type="text" class="regular-text" name="newuser" id="newuser" /></div> 
     251                </div> 
     252                <div class="form-row"> 
     253                        <div class="form-label"><?php _e( 'Role'); ?></div> 
     254                        <div class="form-input"><select name="new_role" id="new_role_0"> 
    255255                        <?php 
    256256                        reset( $editblog_roles ); 
    257257                        foreach ( $editblog_roles as $role => $role_assoc ){ 
     
    260260                                echo '<option ' . $selected . ' value="' . esc_attr( $role ) . '">' . esc_html( $name ) . '</option>'; 
    261261                        } 
    262262                        ?> 
    263                         </select></td> 
    264                 </tr> 
    265         </table> 
     263                        </select></div> 
     264                </div> 
     265        </div> 
    266266        <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 
    267267        <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?> 
    268268</form> 
     
    273273<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> 
    274274        <?php wp_nonce_field( 'edit-site' ); ?> 
    275275        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    276         <table class="form-table"> 
    277                 <tr> 
    278                         <th scope="row"><?php _e( 'Username' ) ?></th> 
    279                         <td><input type="text" class="regular-text" name="user[username]" /></td> 
    280                 </tr> 
    281                 <tr> 
    282                         <th scope="row"><?php _e( 'Email' ) ?></th> 
    283                         <td><input type="text" class="regular-text" name="user[email]" /></td> 
    284                 </tr> 
    285                 <tr> 
    286                         <th scope="row"><?php _e( 'Role'); ?></th> 
    287                         <td><select name="new_role" id="new_role_0"> 
     276        <div class="form-fields"> 
     277                <div class="form-row"> 
     278                        <div class="form-label"><?php _e( 'Username' ) ?></div> 
     279                        <div class="form-input"><input type="text" class="regular-text" name="user[username]" /></div> 
     280                </div> 
     281                <div class="form-row"> 
     282                        <div class="form-label"><?php _e( 'Email' ) ?></div> 
     283                        <div class="form-input"><input type="text" class="regular-text" name="user[email]" /></div> 
     284                </div> 
     285                <div class="form-row"> 
     286                        <div class="form-label"><?php _e( 'Role'); ?></div> 
     287                        <div class="form-input"><select name="new_role" id="new_role_0"> 
    288288                        <?php 
    289289                        reset( $editblog_roles ); 
    290290                        foreach ( $editblog_roles as $role => $role_assoc ){ 
     
    293293                                echo '<option ' . $selected . ' value="' . esc_attr( $role ) . '">' . esc_html( $name ) . '</option>'; 
    294294                        } 
    295295                        ?> 
    296                         </select></td> 
    297                 </tr> 
    298                 <tr class="form-field"> 
    299                         <td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></td> 
    300                 </tr> 
    301         </table> 
     296                        </select></div> 
     297                </div> 
     298                <div class="form-row form-field"> 
     299                        <div class="form-input input-full"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></div> 
     300                </div> 
     301        </div> 
    302302        <?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ) ?> 
    303303        <?php submit_button( __('Add New User'), 'primary', 'add-user' ); ?> 
    304304</form> 
  • wp-admin/network/user-new.php

     
    7272                echo '<div id="message" class="updated"><p>' . $msg . '</p></div>'; 
    7373} ?> 
    7474        <form action="<?php echo network_admin_url('user-new.php?action=add-user'); ?>" id="adduser" method="post">      
    75         <table class="form-table"> 
    76                 <tr class="form-field form-required"> 
    77                         <th scope="row"><?php _e( 'Username' ) ?></th> 
    78                         <td><input type="text" class="regular-text" name="user[username]" /></td> 
    79                 </tr> 
    80                 <tr class="form-field form-required"> 
    81                         <th scope="row"><?php _e( 'Email' ) ?></th> 
    82                         <td><input type="text" class="regular-text" name="user[email]" /></td> 
    83                 </tr> 
    84                 <tr class="form-field"> 
    85                         <td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></td> 
    86                 </tr> 
    87         </table> 
     75        <div class="form-fields"> 
     76                <div class="form-row form-field form-required"> 
     77                        <div class="form-label"><?php _e( 'Username' ) ?></div> 
     78                        <div class="form-input"><input type="text" class="regular-text" name="user[username]" /></div> 
     79                </div> 
     80                <div class="form-row form-field form-required"> 
     81                        <div class="form-label"><?php _e( 'Email' ) ?></div> 
     82                        <div class="form-input"><input type="text" class="regular-text" name="user[email]" /></div> 
     83                </div> 
     84                <div class="form-row form-field"> 
     85                        <div class="form-input input-full"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></div> 
     86                </div> 
     87        </div> 
    8888        <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 
    8989        <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?> 
    9090        </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="form-row"> 
     38<div class="form-label"><?php _e('Default article settings') ?></div> 
     39<div class="form-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="form-row"> 
     56<div class="form-label"><?php _e('Other comment settings') ?></div> 
     57<div class="form-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="form-row"> 
     116<div class="form-label"><?php _e('E-mail me whenever') ?></div> 
     117<div class="form-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="form-row"> 
     128<div class="form-label"><?php _e('Before a comment appears') ?></div> 
     129<div class="form-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="form-row"> 
     138<div class="form-label"><?php _e('Comment Moderation') ?></div> 
     139<div class="form-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="form-row"> 
     149<div class="form-label"><?php _e('Comment Blacklist') ?></div> 
     150<div class="form-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'); ?> 
    158 </table> 
     158</div> 
    159159 
    160160<h3><?php _e('Avatars') ?></h3> 
    161161 
     
    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="form-row"> 
     168<div class="form-label"><?php _e('Avatar Display') ?></div> 
     169<div class="form-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="form-row"> 
     180<div class="form-label"><?php _e('Maximum Rating') ?></div> 
     181<div class="form-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="form-row"> 
     203<div class="form-label"><?php _e('Default Avatar') ?></div> 
     204<div class="form-input 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'); ?> 
    240 </table> 
     240</div> 
    241241 
    242242<?php do_settings_sections('discussion'); ?> 
    243243 
  • wp-admin/options.php

     
    171171  <?php wp_nonce_field('options-options') ?> 
    172172  <input type="hidden" name="action" value="update" /> 
    173173  <input type='hidden' name='option_page' value='options' /> 
    174   <table class="form-table"> 
     174  <div class="form-fields"> 
    175175<?php 
    176176$options = $wpdb->get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" ); 
    177177 
     
    197197        } 
    198198        $name = esc_attr( $option->option_name ); 
    199199        echo " 
    200 <tr> 
    201         <th scope='row'><label for='$name'>" . esc_html( $option->option_name ) . "</label></th> 
    202 <td>"; 
     200<div class='form-row'> 
     201        <div class='form-label'><label for='$name'>" . esc_html( $option->option_name ) . "</label></div> 
     202<div class='form-input'>"; 
    203203        if ( strpos( $value, "\n" ) !== false ) 
    204204                echo "<textarea class='$class' name='$name' id='$name' cols='30' rows='5'>" . esc_textarea( $value ) . "</textarea>"; 
    205205        else 
    206206                echo "<input class='regular-text $class' type='text' name='$name' id='$name' value='" . esc_attr( $value ) . "'" . disabled( $disabled, true, false ) . " />"; 
    207         echo "</td> 
    208 </tr>"; 
     207        echo "</div> 
     208</div>"; 
    209209endforeach; 
    210210?> 
    211   </table> 
     211  </div> 
    212212 
    213213<input type="hidden" name="page_options" value="<?php echo esc_attr( implode( ',', $options_to_update ) ); ?>" /> 
    214214 
  • wp-admin/user-edit.php

     
    6565 */ 
    6666function use_ssl_preference($user) { 
    6767?> 
    68         <tr> 
    69                 <th scope="row"><?php _e('Use https')?></th> 
    70                 <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> 
    71         </tr> 
     68        <div class="form-row"> 
     69                <div class="form-label"><?php _e('Use https')?></div> 
     70                <div class="form-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> 
     71        </div> 
    7272<?php 
    7373} 
    7474 
     
    185185 
    186186<h3><?php _e('Personal Options'); ?></h3> 
    187187 
    188 <table class="form-table"> 
     188<div class="form-fields"> 
    189189<?php if ( rich_edit_exists() && !( IS_PROFILE_PAGE && !$user_can_edit ) ) : // don't bother showing the option if the editor has been removed ?> 
    190         <tr> 
    191                 <th scope="row"><?php _e('Visual Editor')?></th> 
    192                 <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> 
    193         </tr> 
     190        <div class="form-row"> 
     191                <div class="form-label"><?php _e('Visual Editor')?></div> 
     192                <div class="form-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> 
     193        </div> 
    194194<?php endif; ?> 
    195195<?php if ( count($_wp_admin_css_colors) > 1 && has_action('admin_color_scheme_picker') ) : ?> 
    196 <tr> 
    197 <th scope="row"><?php _e('Admin Color Scheme')?></th> 
    198 <td><?php do_action( 'admin_color_scheme_picker' ); ?></td> 
    199 </tr> 
     196<div class="form-row"> 
     197<div class="form-label"><?php _e('Admin Color Scheme')?></div> 
     198<div class="form-input"><?php do_action( 'admin_color_scheme_picker' ); ?></div> 
     199</div> 
    200200<?php 
    201201endif; // $_wp_admin_css_colors 
    202202if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?> 
    203 <tr> 
    204 <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th> 
    205 <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> 
    206 </tr> 
     203<div class="form-row"> 
     204<div class="form-label"><?php _e( 'Keyboard Shortcuts' ); ?></div> 
     205<div class="form-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> 
     206</div> 
    207207<?php endif; ?> 
    208 <tr class="show-admin-bar"> 
    209 <th scope="row"><?php _e('Show Admin Bar')?></th> 
    210 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Show Admin Bar') ?></span></legend> 
     208<div class="form-row" class="show-admin-bar"> 
     209<div class="form-label"><?php _e('Show Admin Bar')?></div> 
     210<div class="form-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Show Admin Bar') ?></span></legend> 
    211211<label for="admin_bar_front"> 
    212212<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1" <?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> /> 
    213213<?php /* translators: Show admin bar when viewing site */ _e( 'when viewing site' ); ?></label><br /> 
    214214<label for="admin_bar_admin"> 
    215215<input name="admin_bar_admin" type="checkbox" id="admin_bar_admin" value="1" <?php checked( _get_admin_bar_pref( 'admin', $profileuser->ID ) ); ?> /> 
    216216<?php /* translators: Show admin bar in dashboard */ _e( 'in dashboard' ); ?></label> 
    217 </td> 
    218 </tr> 
     217</div> 
     218</div> 
    219219<?php do_action('personal_options', $profileuser); ?> 
    220 </table> 
     220</div> 
    221221<?php 
    222222        if ( IS_PROFILE_PAGE ) 
    223223                do_action('profile_personal_options', $profileuser); 
     
    225225 
    226226<h3><?php _e('Name') ?></h3> 
    227227 
    228 <table class="form-table"> 
    229         <tr> 
    230                 <th><label for="user_login"><?php _e('Username'); ?></label></th> 
    231                 <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> 
    232         </tr> 
     228<div class="form-fields"> 
     229        <div class="form-row"> 
     230                <div class="form-label"><label for="user_login"><?php _e('Username'); ?></label></div> 
     231                <div class="form-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> 
     232        </div> 
    233233 
    234234<?php if ( !IS_PROFILE_PAGE && !is_network_admin() ) : ?> 
    235 <tr><th><label for="role"><?php _e('Role:') ?></label></th> 
    236 <td><select name="role" id="role"> 
     235<div class="form-row"><div class="form-label"><label for="role"><?php _e('Role:') ?></label></div> 
     236<div class="form-input"><select name="role" id="role"> 
    237237<?php 
    238238// Get the highest/primary role for this user 
    239239// TODO: create a function that does this: wp_get_user_role() 
     
    253253<?php endif; //!IS_PROFILE_PAGE 
    254254 
    255255if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_can( 'manage_network_options' ) && !isset($super_admins) ) { ?> 
    256 <tr><th><label for="role"><?php _e('Super Admin'); ?></label></th> 
    257 <td> 
     256<div class="form-row"><div class="form-label"><label for="role"><?php _e('Super Admin'); ?></label></div> 
     257<div class="form-input"> 
    258258<?php if ( $profileuser->user_email != get_site_option( 'admin_email' ) ) : ?> 
    259259<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> 
    260260<?php else : ?> 
    261261<p><?php _e( 'Super admin privileges cannot be removed because this user has the network admin email.' ); ?></p> 
    262262<?php endif; ?> 
    263 </td></tr> 
     263</div></div> 
    264264<?php } ?> 
    265265 
    266 <tr> 
    267         <th><label for="first_name"><?php _e('First Name') ?></label></th> 
    268         <td><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr($profileuser->first_name) ?>" class="regular-text" /></td> 
    269 </tr> 
     266<div class="form-row"> 
     267        <div class="form-label"><label for="first_name"><?php _e('First Name') ?></label></div> 
     268        <div class="form-input"><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr($profileuser->first_name) ?>" class="regular-text" /></div> 
     269</div> 
    270270 
    271 <tr> 
    272         <th><label for="last_name"><?php _e('Last Name') ?></label></th> 
    273         <td><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr($profileuser->last_name) ?>" class="regular-text" /></td> 
    274 </tr> 
     271<div class="form-row"> 
     272        <div class="form-label"><label for="last_name"><?php _e('Last Name') ?></label></div> 
     273        <div class="form-input"><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr($profileuser->last_name) ?>" class="regular-text" /></div> 
     274</div> 
    275275 
    276 <tr> 
    277         <th><label for="nickname"><?php _e('Nickname'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 
    278         <td><input type="text" name="nickname" id="nickname" value="<?php echo esc_attr($profileuser->nickname) ?>" class="regular-text" /></td> 
    279 </tr> 
     276<div class="form-row"> 
     277        <div class="form-label"><label for="nickname"><?php _e('Nickname'); ?> <span class="description"><?php _e('(required)'); ?></span></label></div> 
     278        <div class="form-input"><input type="text" name="nickname" id="nickname" value="<?php echo esc_attr($profileuser->nickname) ?>" class="regular-text" /></div> 
     279</div> 
    280280 
    281 <tr> 
    282         <th><label for="display_name"><?php _e('Display name publicly as') ?></label></th> 
    283         <td> 
     281<div class="form-row"> 
     282        <div class="form-label"><label for="display_name"><?php _e('Display name publicly as') ?></label></div> 
     283        <div class="form-input"> 
    284284                <select name="display_name" id="display_name"> 
    285285                <?php 
    286286                        $public_display = array(); 
     
    305305                        } 
    306306                ?> 
    307307                </select> 
    308         </td> 
    309 </tr> 
    310 </table> 
     308        </div> 
     309</div> 
     310</div> 
    311311 
    312312<h3><?php _e('Contact Info') ?></h3> 
    313313 
    314 <table class="form-table"> 
    315 <tr> 
    316         <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 
    317         <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" /> 
     314<div class="form-fields"> 
     315<div class="form-row"> 
     316        <div class="form-label"><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></div> 
     317        <div class="form-input"><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" /> 
    318318        <?php 
    319319        $new_email = get_option( $current_user->ID . '_new_email' ); 
    320320        if ( $new_email && $new_email != $current_user->user_email ) : ?> 
     
    322322        <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> 
    323323        </div> 
    324324        <?php endif; ?> 
    325         </td> 
    326 </tr> 
     325        </div> 
     326</div> 
    327327 
    328 <tr> 
    329         <th><label for="url"><?php _e('Website') ?></label></th> 
    330         <td><input type="text" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></td> 
    331 </tr> 
     328<div class="form-row"> 
     329        <div class="form-label"><label for="url"><?php _e('Website') ?></label></div> 
     330        <div class="form-input"><input type="text" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></div> 
     331</div> 
    332332 
    333333<?php 
    334334        foreach (_wp_get_user_contactmethods( $profileuser ) as $name => $desc) { 
    335335?> 
    336 <tr> 
    337         <th><label for="<?php echo $name; ?>"><?php echo apply_filters('user_'.$name.'_label', $desc); ?></label></th> 
    338         <td><input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr($profileuser->$name) ?>" class="regular-text" /></td> 
    339 </tr> 
     336<div class="form-row"> 
     337        <div class="form-label"><label for="<?php echo $name; ?>"><?php echo apply_filters('user_'.$name.'_label', $desc); ?></label></div> 
     338        <div class="form-input"><input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr($profileuser->$name) ?>" class="regular-text" /></div> 
     339</div> 
    340340<?php 
    341341        } 
    342342?> 
    343 </table> 
     343</div> 
    344344 
    345345<h3><?php IS_PROFILE_PAGE ? _e('About Yourself') : _e('About the user'); ?></h3> 
    346346 
    347 <table class="form-table"> 
    348 <tr> 
    349         <th><label for="description"><?php _e('Biographical Info'); ?></label></th> 
    350         <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br /> 
    351         <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></td> 
    352 </tr> 
     347<div class="form-fields"> 
     348<div class="form-row"> 
     349        <div class="form-label"><label for="description"><?php _e('Biographical Info'); ?></label></div> 
     350        <div class="form-input"><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br /> 
     351        <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></div> 
     352</div> 
    353353 
    354354<?php 
    355355$show_password_fields = apply_filters('show_password_fields', true, $profileuser); 
    356356if ( $show_password_fields ) : 
    357357?> 
    358 <tr id="password"> 
    359         <th><label for="pass1"><?php _e('New Password'); ?></label></th> 
    360         <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 /> 
     358<div class="form-row" id="password"> 
     359        <div class="form-label"><label for="pass1"><?php _e('New Password'); ?></label></div> 
     360        <div class="form-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 /> 
    361361                <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <span class="description"><?php _e("Type your new password again."); ?></span><br /> 
    362362                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 
    363363                <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> 
    364         </td> 
    365 </tr> 
     364        </div> 
     365</div> 
    366366<?php endif; ?> 
    367 </table> 
     367</div> 
    368368 
    369369<?php 
    370370        if ( IS_PROFILE_PAGE ) 
     
    375375 
    376376<?php if ( count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser) ) { ?> 
    377377<br class="clear" /> 
    378         <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform"> 
    379                 <tr> 
    380                         <th scope="row"><?php _e('Additional Capabilities') ?></th> 
    381                         <td><?php 
     378        <div class="form-fields editform"> 
     379                <div class="form-row"> 
     380                        <div class="form-label"><?php _e('Additional Capabilities') ?></div> 
     381                        <div class="form-input"><?php 
    382382                        $output = ''; 
    383383                        foreach ( $profileuser->caps as $cap => $value ) { 
    384384                                if ( !$wp_roles->is_role($cap) ) { 
     
    388388                                } 
    389389                        } 
    390390                        echo $output; 
    391                         ?></td> 
    392                 </tr> 
    393         </table> 
     391                        ?></div> 
     392                </div> 
     393        </div> 
    394394<?php } ?> 
    395395 
    396396<input type="hidden" name="action" value="update" /> 
  • wp-admin/css/install-rtl.dev.css

     
    1515        font-family: Tahoma, arial; 
    1616        margin-right: 0; 
    1717} 
    18 .form-table th { 
     18.form-table th, 
     19.form-fields .form-label { 
    1920        text-align: right; 
    2021} 
    2122#user_login, #admin_email, #pass1, #pass2 { 
  • wp-admin/css/wp-admin-rtl.dev.css

     
    213213        margin-left: 5px; 
    214214} 
    215215/* Tables used on comment.php and option/setting pages */ 
    216 .form-table th { 
     216.form-table th, 
     217.form-fields .form-label { 
    217218        text-align: right; 
    218219} 
    219 .form-table input.tog { 
     220.form-fields input.tog { 
    220221        margin-right: 0; 
    221222        margin-left: 2px; 
    222223        float: right; 
    223224} 
    224 .form-table table.color-palette { 
     225.form-fields table.color-palette { 
    225226        float: right; 
    226227} 
    227 #profile-page .form-table #rich_editing { 
     228#profile-page .form-fields #rich_editing { 
    228229        margin-right: 0; 
    229230        margin-left: 5px; 
    230231} 
  • wp-admin/css/colors-classic.dev.css

     
    4848 
    4949body, 
    5050#wpbody, 
    51 .form-table .pre { 
     51.form-table .pre, 
     52.form-fields .pre { 
    5253        color: #174f69; 
    5354} 
    5455 
     
    143144} 
    144145 
    145146.form-table th, 
    146 .form-wrap label { 
     147.form-wrap label, 
     148.form-fields .form-label { 
    147149        color: #222; 
    148150        text-shadow: #fff 0 1px 0; 
    149151} 
     
    14551457        background-color: #bbb; 
    14561458} 
    14571459 
    1458 .form-table .color-palette td { 
     1460.form-table .color-palette td, 
     1461.form-fields .color-palette td { 
    14591462        border-color: #fff; 
    14601463} 
    14611464 
  • wp-admin/css/colors-fresh.dev.css

     
    4848 
    4949body, 
    5050#wpbody, 
    51 .form-table .pre { 
     51.form-table .pre, 
     52.form-fields .pre { 
    5253        color: #333; 
    5354} 
    5455 
     
    143144} 
    144145 
    145146.form-table th, 
    146 .form-wrap label { 
     147.form-wrap label, 
     148.form-fields .form-label { 
    147149        color: #222; 
    148150        text-shadow: #fff 0 1px 0; 
    149151} 
  • wp-admin/css/wp-admin.dev.css

     
    33513351  15.0 - Comments Screen 
    33523352------------------------------------------------------------------------------*/ 
    33533353 
    3354 .form-table { 
    3355         border-collapse: collapse; 
     3354.form-fields { 
     3355        clear: both; 
    33563356        margin-top: 0.5em; 
     3357        margin-bottom: -8px; 
    33573358        width: 100%; 
    3358         margin-bottom: -8px; 
    3359         clear: both; 
    33603359} 
    33613360 
    3362 .form-table td { 
    3363         margin-bottom: 9px; 
    3364         padding: 8px 10px; 
     3361.form-fields .form-row { 
     3362        clear: both; 
    33653363        line-height: 20px; 
    3366         font-size: 11px; 
     3364        overflow: hidden; 
    33673365} 
    33683366 
    3369 .form-table th, 
     3367.form-fields .form-label { 
     3368        float: left; 
     3369        padding: 10px; 
     3370        width: 200px; 
     3371} 
     3372 
     3373.form-fields .label-full { 
     3374        width: 100%; 
     3375} 
     3376 
     3377.form-fields .form-label, 
    33703378.form-wrap label { 
    3371         font-weight: normal; 
    33723379        text-shadow: rgba(255,255,255,1) 0 1px 0; 
    33733380} 
    33743381 
    3375 .form-table th { 
    3376         vertical-align: top; 
    3377         text-align: left; 
    3378         padding: 10px; 
    3379         width: 200px; 
     3382.form-fields .form-input { 
     3383        font-size: 11px; 
     3384        margin-left: 220px; 
     3385        padding: 8px 10px; 
    33803386} 
    33813387 
    3382 .form-table th.th-full { 
    3383         width: auto; 
     3388.form-fields .form-input.input-full { 
     3389        margin: 0; 
    33843390} 
    33853391 
    3386 .form-table div.color-option { 
     3392.form-fields .form-input p { 
     3393        margin-top: 4px; 
     3394} 
     3395 
     3396.form-fields div.color-option { 
    33873397        display: block; 
    33883398        clear: both; 
    33893399        margin-top: 12px; 
    33903400} 
    33913401 
    3392 .form-table input.tog { 
     3402.form-fields input.tog { 
     3403        clear: both; 
    33933404        margin-top: 2px; 
    33943405        margin-right: 2px; 
    33953406        float: left; 
     
    33993410        margin-top: 4px; 
    34003411} 
    34013412 
    3402 .form-table table.color-palette { 
     3413.form-fields table.color-palette { 
    34033414        vertical-align: bottom; 
    34043415        float: left; 
    34053416        margin: -12px 3px 11px; 
    34063417} 
    34073418 
    3408 .form-table .color-palette td { 
     3419.form-fields .color-palette td { 
    34093420        border-width: 1px 1px 0; 
    3410         border-style: solid solid none; 
     3421        border-style: none none; 
    34113422        height: 10px; 
    34123423        line-height: 20px; 
     3424        padding: 8px 10px; 
    34133425        width: 10px; 
    34143426} 
    34153427 
     3428.form-table { 
     3429        border-collapse: collapse; 
     3430        margin-top: 0.5em; 
     3431        width: 100%; 
     3432        margin-bottom: -8px; 
     3433        clear: both; 
     3434} 
     3435 
     3436.form-table td { 
     3437        margin-bottom: 9px; 
     3438        padding: 8px 10px; 
     3439        line-height: 20px; 
     3440        font-size: 11px; 
     3441} 
     3442 
     3443.form-table th, 
     3444.form-wrap label { 
     3445        font-weight: normal; 
     3446        text-shadow: rgba(255,255,255,1) 0 1px 0; 
     3447} 
     3448 
     3449.form-table th { 
     3450        vertical-align: top; 
     3451        text-align: left; 
     3452        padding: 10px; 
     3453        width: 200px; 
     3454} 
     3455 
     3456.form-table th.th-full { 
     3457        width: auto; 
     3458} 
     3459 
     3460.form-table td p { 
     3461        margin-top: 4px; 
     3462} 
     3463 
    34163464.commentlist li { 
    34173465        padding: 1em 1em .2em; 
    34183466        margin: 0; 
     
    38723920  18.0 - Users 
    38733921------------------------------------------------------------------------------*/ 
    38743922 
    3875 #profile-page .form-table textarea { 
     3923#profile-page .form-fields textarea { 
    38763924        width: 500px; 
    38773925        margin-bottom: 6px; 
    38783926} 
    38793927 
    3880 #profile-page .form-table #rich_editing { 
     3928#profile-page .form-fields #rich_editing { 
    38813929        margin-right: 5px 
    38823930} 
    38833931 
  • 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="form-row"> 
     78<div class="form-label"><?php _e( 'Front page displays' ); ?></div> 
     79<div class="form-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> 
    9998<?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> 
     99<div class="form-row"> 
     100<div class="form-label"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></div> 
     101<div class="form-input"> 
    103102<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> 
     103</div> 
     104</div> 
     105<div class="form-row"> 
     106<div class="form-label"><label for="posts_per_rss"><?php _e( 'Syndication feeds show the most recent' ); ?></label></div> 
     107<div class="form-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> 
     108</div> 
     109<div class="form-row"> 
     110<div class="form-label"><?php _e( 'For each article in a feed, show' ); ?> </div> 
     111<div class="form-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend> 
    113112<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 /> 
    114113<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> 
     114</fieldset></div> 
     115</div> 
    117116 
    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> 
     117<div class="form-row"> 
     118<div class="form-label"><label for="blog_charset"><?php _e( 'Encoding for pages and feeds' ); ?></label></div> 
     119<div class="form-input"><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option( 'blog_charset' ); ?>" class="regular-text" /> 
     120<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> 
     121</div> 
    123122<?php do_settings_fields( 'reading', 'default' ); ?> 
    124 </table> 
     123</div> 
    125124 
    126125<?php do_settings_sections( 'reading' ); ?> 
    127126 
  • 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') . '/sample-post/'; ?></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') . '/sample-post/'; ?></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; ?>/archives/123</code></td> 
    191         </tr> 
    192         <tr> 
    193                 <th> 
     175<div class="form-fields"> 
     176        <div class="form-row"> 
     177                <div class="form-label"><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></div> 
     178                <div class="form-input"><code><?php echo get_option('home'); ?>/?p=123</code></div> 
     179        </div> 
     180        <div class="form-row"> 
     181                <div class="form-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="form-input"><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></div> 
     183        </div> 
     184        <div class="form-row"> 
     185                <div class="form-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="form-input"><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/sample-post/'; ?></code></div> 
     187        </div> 
     188        <div class="form-row"> 
     189                <div class="form-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="form-input"><code><?php echo get_option('home') . $blog_prefix . $prefix; ?>/archives/123</code></div> 
     191        </div> 
     192        <div class="form-row"> 
     193                <div class="form-label"> 
    194194                        <label><input name="selection" id="custom_selection" type="radio" value="custom" class="tog" <?php checked( !in_array($permalink_structure, $structures) ); ?> /> 
    195195                        <?php _e('Custom Structure'); ?> 
    196196                        </label> 
    197                 </th> 
    198                 <td> 
     197                </div> 
     198                <div class="form-input"> 
    199199                        <?php echo $blog_prefix; ?> 
    200200                        <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo esc_attr($permalink_structure); ?>" class="regular-text code" /> 
    201                 </td> 
    202         </tr> 
    203 </table> 
     201                </div> 
     202        </div> 
     203</div> 
    204204 
    205205<h3><?php _e('Optional'); ?></h3> 
    206206<?php if ( $is_apache || $iis7_permalinks ) : ?> 
     
    209209        <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> 
    210210<?php endif; ?> 
    211211 
    212 <table class="form-table"> 
    213         <tr> 
    214                 <th><label for="category_base"><?php /* translators: prefix for category permalinks */ _e('Category base'); ?></label></th> 
    215                 <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> 
    216         </tr> 
    217         <tr> 
    218                 <th><label for="tag_base"><?php _e('Tag base'); ?></label></th> 
    219                 <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> 
    220         </tr> 
     212<div class="form-fields"> 
     213        <div class="form-row"> 
     214                <div class="form-label"><label for="category_base"><?php /* translators: prefix for category permalinks */ _e('Category base'); ?></label></div> 
     215                <div class="form-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> 
     216        </div> 
     217        <div class="form-row"> 
     218                <div class="form-label"><label for="tag_base"><?php _e('Tag base'); ?></label></div> 
     219                <div class="form-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> 
     220        </div> 
    221221        <?php do_settings_fields('permalink', 'optional'); ?> 
    222 </table> 
     222</div> 
    223223 
    224224<?php do_settings_sections('permalink'); ?> 
    225225 
  • 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="form-row"> 
     38<div class="form-label"><label for="default_post_edit_rows"> <?php _e('Size of the post box') ?></label></div> 
     39<div class="form-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="form-row"> 
     43<div class="form-label"><?php _e('Formatting') ?></div> 
     44<div class="form-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="form-row"> 
     52<div class="form-label"><label for="default_category"><?php _e('Default Post Category') ?></label></div> 
     53<div class="form-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="form-row"> 
     65<div class="form-label"><label for="default_post_format"><?php _e('Default Post Format') ?></label></div> 
     66<div class="form-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></label> 
    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="form-row"> 
     77<div class="form-label"><label for="default_link_category"><?php _e('Default Link Category') ?></label></div> 
     78<div class="form-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> 
     
    9595<h3><?php _e('Post via e-mail') ?></h3> 
    9696<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> 
    9797 
    98 <table class="form-table"> 
    99 <tr valign="top"> 
    100 <th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th> 
    101 <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" /> 
     98<div class="form-fields"> 
     99<div class="form-row"> 
     100<div class="form-label"><label for="mailserver_url"><?php _e('Mail Server') ?></label></div> 
     101<div class="form-input"><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" /> 
    102102<label for="mailserver_port"><?php _e('Port') ?></label> 
    103103<input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" class="small-text" /> 
    104 </td> 
    105 </tr> 
    106 <tr valign="top"> 
    107 <th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></th> 
    108 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text" /></td> 
    109 </tr> 
    110 <tr valign="top"> 
    111 <th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></th> 
    112 <td> 
     104</div> 
     105</div> 
     106<div class="form-row"> 
     107<div class="form-label"><label for="mailserver_login"><?php _e('Login Name') ?></label></div> 
     108<div class="form-input"><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text" /></div> 
     109</div> 
     110<div class="form-row"> 
     111<div class="form-label"><label for="mailserver_pass"><?php _e('Password') ?></label></div> 
     112<div class="form-input"> 
    113113<input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" class="regular-text" /> 
    114 </td> 
    115 </tr> 
    116 <tr valign="top"> 
    117 <th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th> 
    118 <td> 
     114</div> 
     115</div> 
     116<div class="form-row"> 
     117<div class="form-label"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></div> 
     118<div class="form-input"> 
    119119<?php 
    120120wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_email_category', 'orderby' => 'name', 'selected' => get_option('default_email_category'), 'hierarchical' => true)); 
    121121?> 
    122 </td> 
    123 </tr> 
     122</div> 
     123</div> 
    124124<?php do_settings_fields('writing', 'post_via_email'); ?> 
    125 </table> 
     125</div> 
    126126<?php } ?> 
    127127 
    128128<h3><?php _e('Remote Publishing') ?></h3> 
    129129<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> 
    130 <table class="form-table"> 
    131 <tr valign="top"> 
    132 <th scope="row"><?php _e('Atom Publishing Protocol') ?></th> 
    133 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend> 
     130<div class="form-fields"> 
     131<div class="form-row"> 
     132<div class="form-label"><?php _e('Atom Publishing Protocol') ?></div> 
     133<div class="form-input"><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend> 
    134134<label for="enable_app"> 
    135135<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> /> 
    136136<?php _e('Enable the Atom Publishing Protocol.') ?></label><br /> 
    137 </fieldset></td> 
    138 </tr> 
    139 <tr valign="top"> 
    140 <th scope="row"><?php _e('XML-RPC') ?></th> 
    141 <td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend> 
     137</fieldset></div> 
     138</div> 
     139<div class="form-row"> 
     140<div class="form-label"><?php _e('XML-RPC') ?></div> 
     141<div class="form-input"><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend> 
    142142<label for="enable_xmlrpc"> 
    143143<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> /> 
    144144<?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br /> 
    145 </fieldset></td> 
    146 </tr> 
     145</fieldset></div> 
     146</div> 
    147147<?php do_settings_fields('writing', 'remote_publishing'); ?> 
    148 </table> 
     148</div> 
    149149 
    150150<?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?> 
    151151<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="form-row"> 
     183<div class="form-label"><?php _e('Preview'); ?></div> 
     184<div class="form-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="form-row"> 
     208<div class="form-label"><?php _e('Remove Image'); ?></div> 
     209<div class="form-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="form-row"> 
     221<div class="form-label"><?php _e('Restore Original Image'); ?></div> 
     222<div class="form-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="form-row"> 
     233<div class="form-label"><?php _e('Upload Image'); ?></div> 
     234<div class="form-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</p> 
    241240</form> 
    242 </td> 
    243 </tr> 
    244 </tbody> 
    245 </table> 
     241</div> 
     242</div> 
     243</div> 
    246244 
    247245<h3><?php _e('Display Options') ?></h3> 
    248246<form method="post" action=""> 
    249 <table class="form-table"> 
    250 <tbody> 
     247<div class="form-fields"> 
    251248<?php if ( get_background_image() ) : ?> 
    252 <tr valign="top"> 
    253 <th scope="row"><?php _e( 'Position' ); ?></th> 
    254 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend> 
     249<div class="form-row"> 
     250<div class="form-label"><?php _e( 'Position' ); ?></div> 
     251<div class="form-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend> 
    255252<label> 
    256253<input name="background-position-x" type="radio" value="left"<?php checked('left', get_theme_mod('background_position_x', 'left')); ?> /> 
    257254<?php _e('Left') ?> 
     
    264261<input name="background-position-x" type="radio" value="right"<?php checked('right', get_theme_mod('background_position_x', 'left')); ?> /> 
    265262<?php _e('Right') ?> 
    266263</label> 
    267 </fieldset></td> 
    268 </tr> 
     264</fieldset></div> 
     265</div> 
    269266 
    270 <tr valign="top"> 
    271 <th scope="row"><?php _e( 'Repeat' ); ?></th> 
    272 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend> 
     267<div class="form-row"> 
     268<div class="form-label"><?php _e( 'Repeat' ); ?></div> 
     269<div class="form-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend> 
    273270<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked('no-repeat', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('No Repeat'); ?></option></label> 
    274271        <label><input type="radio" name="background-repeat" value="repeat"<?php checked('repeat', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile'); ?></option></label> 
    275272        <label><input type="radio" name="background-repeat" value="repeat-x"<?php checked('repeat-x', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile Horizontally'); ?></option></label> 
    276273        <label><input type="radio" name="background-repeat" value="repeat-y"<?php checked('repeat-y', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile Vertically'); ?></option></label> 
    277 </fieldset></td> 
    278 </tr> 
     274</fieldset></div> 
     275</div> 
    279276 
    280 <tr valign="top"> 
    281 <th scope="row"><?php _e( 'Attachment' ); ?></th> 
    282 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend> 
     277<div class="form-row"> 
     278<div class="form-label"><?php _e( 'Attachment' ); ?></div> 
     279<div class="form-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend> 
    283280<label> 
    284281<input name="background-attachment" type="radio" value="scroll" <?php checked('scroll', get_theme_mod('background_attachment', 'scroll')); ?> /> 
    285282<?php _e('Scroll') ?> 
     
    288285<input name="background-attachment" type="radio" value="fixed" <?php checked('fixed', get_theme_mod('background_attachment', 'scroll')); ?> /> 
    289286<?php _e('Fixed') ?> 
    290287</label> 
    291 </fieldset></td> 
    292 </tr> 
     288</fieldset></div> 
     289</div> 
    293290<?php endif; // get_background_image() ?> 
    294 <tr valign="top"> 
    295 <th scope="row"><?php _e( 'Color' ); ?></th> 
    296 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend> 
     291<div class="form-row"> 
     292<div class="form-label"><?php _e( 'Color' ); ?></div> 
     293<div class="form-input"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend> 
    297294<input type="text" name="background-color" id="background-color" value="#<?php echo esc_attr(get_background_color()) ?>" /> 
    298295<a class="hide-if-no-js" href="#" id="pickcolor"><?php _e('Select a Color'); ?></a> 
    299296<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> 
     297</fieldset></div> 
     298</div> 
     299</div> 
    304300 
    305301<?php wp_nonce_field('custom-background'); ?> 
    306302<?php submit_button( null, 'primary', 'save-background-options' ); ?>