WordPress.org

Make WordPress Core

Changeset 27029


Ignore:
Timestamp:
01/24/2014 07:05:15 PM (8 years ago)
Author:
azaozz
Message:

Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712.

Location:
trunk/src/wp-admin
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/comment.php

    r26518 r27029  
    175175<?php } ?>
    176176<tr>
    177 <th scope="row" valign="top"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
     177<th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
    178178<td><?php echo $comment->comment_content; ?></td>
    179179</tr>
  • trunk/src/wp-admin/custom-background.php

    r26878 r27029  
    192192<table class="form-table">
    193193<tbody>
    194 <tr valign="top">
     194<tr>
    195195<th scope="row"><?php _e( 'Preview' ); ?></th>
    196196<td>
     
    222222
    223223<?php if ( get_background_image() ) : ?>
    224 <tr valign="top">
     224<tr>
    225225<th scope="row"><?php _e('Remove Image'); ?></th>
    226226<td>
     
    236236<?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?>
    237237<?php if ( $default_image && get_background_image() != $default_image ) : ?>
    238 <tr valign="top">
     238<tr>
    239239<th scope="row"><?php _e('Restore Original Image'); ?></th>
    240240<td>
     
    248248<?php endif; ?>
    249249
    250 <tr valign="top">
     250<tr>
    251251<th scope="row"><?php _e('Select Image'); ?></th>
    252252<td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="">
     
    275275<tbody>
    276276<?php if ( get_background_image() ) : ?>
    277 <tr valign="top">
     277<tr>
    278278<th scope="row"><?php _e( 'Position' ); ?></th>
    279279<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend>
     
    293293</tr>
    294294
    295 <tr valign="top">
     295<tr>
    296296<th scope="row"><?php _e( 'Repeat' ); ?></th>
    297297<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend>
     
    303303</tr>
    304304
    305 <tr valign="top">
     305<tr>
    306306<th scope="row"><?php _ex( 'Attachment', 'Background Attachment' ); ?></th>
    307307<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend>
     
    317317</tr>
    318318<?php endif; // get_background_image() ?>
    319 <tr valign="top">
     319<tr>
    320320<th scope="row"><?php _e( 'Background Color' ); ?></th>
    321321<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend>
  • trunk/src/wp-admin/custom-header.php

    r26878 r27029  
    465465
    466466<?php if ( get_custom_header() || display_header_text() ) : ?>
    467 <tr valign="top">
     467<tr>
    468468<th scope="row"><?php _e( 'Preview' ); ?></th>
    469469<td>
     
    495495
    496496<?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?>
    497 <tr valign="top">
     497<tr>
    498498<th scope="row"><?php _e( 'Select Image' ); ?></th>
    499499<td>
     
    549549<tbody>
    550550    <?php if ( get_uploaded_header_images() ) : ?>
    551 <tr valign="top">
     551<tr>
    552552<th scope="row"><?php _e( 'Uploaded Images' ); ?></th>
    553553<td>
     
    560560    <?php endif;
    561561    if ( ! empty( $this->default_headers ) ) : ?>
    562 <tr valign="top">
     562<tr>
    563563<th scope="row"><?php _e( 'Default Images' ); ?></th>
    564564<td>
     
    575575    <?php endif;
    576576    if ( get_header_image() ) : ?>
    577 <tr valign="top">
     577<tr>
    578578<th scope="row"><?php _e( 'Remove Image' ); ?></th>
    579579<td>
     
    586586    $default_image = get_theme_support( 'custom-header', 'default-image' );
    587587    if ( $default_image && get_header_image() != $default_image ) : ?>
    588 <tr valign="top">
     588<tr>
    589589<th scope="row"><?php _e( 'Reset Image' ); ?></th>
    590590<td>
     
    603603<table class="form-table">
    604604<tbody>
    605 <tr valign="top">
     605<tr>
    606606<th scope="row"><?php _e( 'Header Text' ); ?></th>
    607607<td>
     
    612612</tr>
    613613
    614 <tr valign="top" class="displaying-header-text">
     614<tr class="displaying-header-text">
    615615<th scope="row"><?php _e( 'Text Color' ); ?></th>
    616616<td>
  • trunk/src/wp-admin/edit-form-comment.php

    r26518 r27029  
    2929<table class="form-table editcomment">
    3030<tbody>
    31 <tr valign="top">
     31<tr>
    3232    <td class="first"><?php _e( 'Name:' ); ?></td>
    3333    <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
    3434</tr>
    35 <tr valign="top">
     35<tr>
    3636    <td class="first">
    3737    <?php
     
    4444    <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td>
    4545</tr>
    46 <tr valign="top">
     46<tr>
    4747    <td class="first">
    4848    <?php
  • trunk/src/wp-admin/edit-tag-form.php

    r26895 r27029  
    8282    <table class="form-table">
    8383        <tr class="form-field form-required">
    84             <th scope="row" valign="top"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>
     84            <th scope="row"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>
    8585            <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" />
    8686            <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td>
     
    8888<?php if ( !global_terms_enabled() ) { ?>
    8989        <tr class="form-field">
    90             <th scope="row" valign="top"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
     90            <th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
    9191            <?php
    9292            /**
     
    104104<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
    105105        <tr class="form-field">
    106             <th scope="row" valign="top"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
     106            <th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
    107107            <td>
    108108                <?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'))); ?>
     
    114114<?php endif; // is_taxonomy_hierarchical() ?>
    115115        <tr class="form-field">
    116             <th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
     116            <th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
    117117            <td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br />
    118118            <span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
  • trunk/src/wp-admin/includes/class-wp-links-list-table.php

    r26340 r27029  
    115115            $edit_link = get_edit_bookmark_link( $link );
    116116?>
    117         <tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>>
     117        <tr id="link-<?php echo $link->link_id; ?>" <?php echo $style; ?>>
    118118<?php
    119119
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r26916 r27029  
    210210            $att_title = _draft_or_post_title();
    211211?>
    212     <tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
     212    <tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>'>
    213213<?php
    214214
  • trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php

    r26341 r27029  
    234234
    235235                    case 'id':?>
    236                         <th valign="top" scope="row">
     236                        <th scope="row">
    237237                            <?php echo $blog['blog_id'] ?>
    238238                        </th>
     
    307307
    308308                    case 'lastupdated':
    309                         echo "<td valign='top' class='$column_name column-$column_name'$style>";
     309                        echo "<td class='$column_name column-$column_name'$style>";
    310310                            if ( 'list' == $mode )
    311311                                $date = 'Y/m/d';
     
    317317                    break;
    318318                case 'registered':
    319                         echo "<td valign='top' class='$column_name column-$column_name'$style>";
     319                        echo "<td class='$column_name column-$column_name'$style>";
    320320                        if ( $blog['registered'] == '0000-00-00 00:00:00' )
    321321                            echo '&#x2014;';
     
    327327                    break;
    328328                case 'users':
    329                         echo "<td valign='top' class='$column_name column-$column_name'$style>";
     329                        echo "<td class='$column_name column-$column_name'$style>";
    330330                            $blogusers = get_users( array( 'blog_id' => $blog['blog_id'], 'number' => 6) );
    331331                            if ( is_array( $blogusers ) ) {
     
    351351                case 'plugins': ?>
    352352                    <?php if ( has_filter( 'wpmublogsaction' ) ) {
    353                     echo "<td valign='top' class='$column_name column-$column_name'$style>";
     353                    echo "<td class='$column_name column-$column_name'$style>";
    354354                        /**
    355355                         * Fires inside the auxiliary 'Actions' column of the Sites list table.
  • trunk/src/wp-admin/includes/file.php

    r26868 r27029  
    10531053?></p>
    10541054<table class="form-table">
    1055 <tr valign="top">
     1055<tr>
    10561056<th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th>
    10571057<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>
    10581058</tr>
    10591059
    1060 <tr valign="top">
     1060<tr>
    10611061<th scope="row"><label for="username"><?php echo $label_user; ?></label></th>
    10621062<td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td>
    10631063</tr>
    10641064
    1065 <tr valign="top">
     1065<tr>
    10661066<th scope="row"><label for="password"><?php echo $label_pass; ?></label></th>
    10671067<td><div><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></div>
     
    10701070
    10711071<?php if ( isset($types['ssh']) ) : ?>
    1072 <tr id="ssh_keys" valign="top" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
     1072<tr id="ssh_keys" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
    10731073<th scope="row"><?php _e('Authentication Keys') ?>
    10741074<div class="key-labels textright">
     
    10811081<?php endif; ?>
    10821082
    1083 <tr valign="top">
     1083<tr>
    10841084<th scope="row"><?php _e('Connection Type') ?></th>
    10851085<td>
  • trunk/src/wp-admin/includes/media.php

    r26908 r27029  
    13781378    <table class='slidetoggle describe $class'>
    13791379        <thead class='media-item-info' id='media-head-$post->ID'>
    1380         <tr valign='top'>
     1380        <tr>
    13811381            <td class='A1B1' id='thumbnail-head-$post->ID'>
    13821382            <p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p>
     
    14631463        $class .= $field['required'] ? ' form-required' : '';
    14641464
    1465         $item .= "\t\t<tr class='$class'>\n\t\t\t<th valign='top' scope='row' class='label'><label for='$name'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label></th>\n\t\t\t<td class='field'>";
     1465        $item .= "\t\t<tr class='$class'>\n\t\t\t<th scope='row' class='label'><label for='$name'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label></th>\n\t\t\t<td class='field'>";
    14661466        if ( !empty( $field[ $field['input'] ] ) )
    14671467            $item .= $field[ $field['input'] ];
     
    16101610
    16111611        $item .= "\t\t<tr class='$class'>";
    1612         $item .= "\t\t\t<th valign='top' scope='row' class='label'><label for='$id_attr'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label>";
     1612        $item .= "\t\t\t<th scope='row' class='label'><label for='$id_attr'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label>";
    16131613        $item .= "</th>\n\t\t\t<td class='field'>";
    16141614
     
    24302430        $caption = '
    24312431        <tr class="image-only">
    2432             <th valign="top" scope="row" class="label">
     2432            <th scope="row" class="label">
    24332433                <label for="caption"><span class="alignleft">' . __('Image Caption') . '</span></label>
    24342434            </th>
     
    24552455    <table class="describe ' . $table_class . '"><tbody>
    24562456        <tr>
    2457             <th valign="top" scope="row" class="label" style="width:130px;">
     2457            <th scope="row" class="label" style="width:130px;">
    24582458                <label for="src"><span class="alignleft">' . __('URL') . '</span></label>
    24592459                <span class="alignright"><abbr id="status_img" title="required" class="required">*</abbr></span>
     
    24632463
    24642464        <tr>
    2465             <th valign="top" scope="row" class="label">
     2465            <th scope="row" class="label">
    24662466                <label for="title"><span class="alignleft">' . __('Title') . '</span></label>
    24672467                <span class="alignright"><abbr title="required" class="required">*</abbr></span>
     
    24732473
    24742474        <tr class="image-only">
    2475             <th valign="top" scope="row" class="label">
     2475            <th scope="row" class="label">
    24762476                <label for="alt"><span class="alignleft">' . __('Alternative Text') . '</span></label>
    24772477            </th>
     
    24812481        ' . $caption . '
    24822482        <tr class="align image-only">
    2483             <th valign="top" scope="row" class="label"><p><label for="align">' . __('Alignment') . '</label></p></th>
     2483            <th scope="row" class="label"><p><label for="align">' . __('Alignment') . '</label></p></th>
    24842484            <td class="field">
    24852485                <input name="align" id="align-none" value="none" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'none' ? ' checked="checked"' : '').' />
     
    24952495
    24962496        <tr class="image-only">
    2497             <th valign="top" scope="row" class="label">
     2497            <th scope="row" class="label">
    24982498                <label for="url"><span class="alignleft">' . __('Link Image To:') . '</span></label>
    24992499            </th>
  • trunk/src/wp-admin/includes/ms.php

    r26503 r27029  
    537537
    538538    foreach ( $blogs as $blog ) {
    539         $output .= "<tr>";
    540         $output .= "<td valign='top'>";
    541         $output .= "{$blog->blogname}";
    542         $output .= "</td>";
    543         $output .= "<td valign='top'>";
    544         $output .= "<a href='" . esc_url( get_admin_url( $blog->userblog_id ) ) . "'>" . __( 'Visit Dashboard' ) . "</a> | <a href='" . esc_url( get_home_url( $blog->userblog_id ) ). "'>" . __( 'View Site' ) . "</a>" ;
    545         $output .= "</td>";
    546         $output .= "</tr>";
    547     }
     539        $output .= '<tr>';
     540        $output .= "<td>{$blog->blogname}</td>";
     541        $output .= '<td><a href="' . esc_url( get_admin_url( $blog->userblog_id ) ) . '">' . __( 'Visit Dashboard' ) . '</a> | ' .
     542            '<a href="' . esc_url( get_home_url( $blog->userblog_id ) ). '">' . __( 'View Site' ) . '</a></td>';
     543        $output .= '</tr>';
     544    }
     545
    548546    $output .= '</table>';
    549547
  • trunk/src/wp-admin/includes/template.php

    r26868 r27029  
    11681168
    11691169    foreach ( (array) $wp_settings_fields[$page][$section] as $field ) {
    1170         echo '<tr valign="top">';
     1170        echo '<tr>';
    11711171        if ( !empty($field['args']['label_for']) )
    11721172            echo '<th scope="row"><label for="' . esc_attr( $field['args']['label_for'] ) . '">' . $field['title'] . '</label></th>';
  • trunk/src/wp-admin/my-sites.php

    r26518 r27029  
    9292    $settings_html = apply_filters( 'myblogs_options', '', 'global' );
    9393    if ( $settings_html != '' ) {
    94         echo '<tr><td valign="top"><h3>' . __( 'Global Settings' ) . '</h3></td><td>';
     94        echo '<tr><td><h3>' . __( 'Global Settings' ) . '</h3></td><td>';
    9595        echo $settings_html;
    9696        echo '</td></tr>';
     
    117117        foreach ( $row as $user_blog ) {
    118118            $s = $i == 3 ? '' : 'border-right: 1px solid #ccc;';
    119             echo "<td valign='top' style='$s'>";
     119            echo "<td style='$s'>";
    120120            echo "<h3>{$user_blog->blogname}</h3>";
    121121            /**
  • trunk/src/wp-admin/network/settings.php

    r26641 r27029  
    9090        <h3><?php _e( 'Operational Settings' ); ?></h3>
    9191        <table class="form-table">
    92             <tr valign="top">
     92            <tr>
    9393                <th scope="row"><label for="site_name"><?php _e( 'Network Title' ) ?></label></th>
    9494                <td>
     
    9797            </tr>
    9898
    99             <tr valign="top">
     99            <tr>
    100100                <th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th>
    101101                <td>
     
    109109        <h3><?php _e( 'Registration Settings' ); ?></h3>
    110110        <table class="form-table">
    111             <tr valign="top">
     111            <tr>
    112112                <th scope="row"><?php _e( 'Allow new registrations' ) ?></th>
    113113                <?php
     
    129129            </tr>
    130130
    131             <tr valign="top">
     131            <tr>
    132132                <th scope="row"><?php _e( 'Registration notification' ) ?></th>
    133133                <?php
     
    140140            </tr>
    141141
    142             <tr valign="top" id="addnewusers">
     142            <tr id="addnewusers">
    143143                <th scope="row"><?php _e( 'Add New Users' ) ?></th>
    144144                <td>
     
    147147            </tr>
    148148
    149             <tr valign="top">
     149            <tr>
    150150                <th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></th>
    151151                <td>
     
    157157            </tr>
    158158
    159             <tr valign="top">
     159            <tr>
    160160                <th scope="row"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></th>
    161161                <td>
     
    170170            </tr>
    171171
    172             <tr valign="top">
     172            <tr>
    173173                <th scope="row"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></th>
    174174                <td>
     
    185185        <table class="form-table">
    186186
    187             <tr valign="top">
     187            <tr>
    188188                <th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></th>
    189189                <td>
     
    195195                </td>
    196196            </tr>
    197             <tr valign="top">
     197            <tr>
    198198                <th scope="row"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></th>
    199199                <td>
     
    205205                </td>
    206206            </tr>
    207             <tr valign="top">
     207            <tr>
    208208                <th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th>
    209209                <td>
     
    215215                </td>
    216216            </tr>
    217             <tr valign="top">
     217            <tr>
    218218                <th scope="row"><label for="first_page"><?php _e( 'First Page' ) ?></label></th>
    219219                <td>
     
    225225                </td>
    226226            </tr>
    227             <tr valign="top">
     227            <tr>
    228228                <th scope="row"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></th>
    229229                <td>
     
    235235                </td>
    236236            </tr>
    237             <tr valign="top">
     237            <tr>
    238238                <th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th>
    239239                <td>
     
    244244                </td>
    245245            </tr>
    246             <tr valign="top">
     246            <tr>
    247247                <th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th>
    248248                <td>
     
    256256        <h3><?php _e( 'Upload Settings' ); ?></h3>
    257257        <table class="form-table">
    258             <tr valign="top">
     258            <tr>
    259259                <th scope="row"><?php _e( 'Site upload space' ) ?></th>
    260260                <td>
     
    263263            </tr>
    264264
    265             <tr valign="top">
     265            <tr>
    266266                <th scope="row"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></th>
    267267                <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>
    268268            </tr>
    269269
    270             <tr valign="top">
     270            <tr>
    271271                <th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th>
    272272                <td><?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="number" min="0" style="width: 100px" id="fileupload_maxk" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" />' ); ?></td>
     
    281281        <h3><?php _e( 'Language Settings' ); ?></h3>
    282282        <table class="form-table">
    283                 <tr valign="top">
     283                <tr>
    284284                    <th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th>
    285285                    <td>
     
    296296        <h3><?php _e( 'Menu Settings' ); ?></h3>
    297297        <table id="menu" class="form-table">
    298             <tr valign="top">
     298            <tr>
    299299                <th scope="row"><?php _e( 'Enable administration menus' ); ?></th>
    300300                <td>
  • trunk/src/wp-admin/options-discussion.php

    r26724 r27029  
    3838
    3939<table class="form-table">
    40 <tr valign="top">
     40<tr>
    4141<th scope="row"><?php _e('Default article settings'); ?></th>
    4242<td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend>
     
    5656</fieldset></td>
    5757</tr>
    58 <tr valign="top">
     58<tr>
    5959<th scope="row"><?php _e('Other comment settings'); ?></th>
    6060<td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend>
     
    124124</fieldset></td>
    125125</tr>
    126 <tr valign="top">
     126<tr>
    127127<th scope="row"><?php _e('E-mail me whenever'); ?></th>
    128128<td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever'); ?></span></legend>
     
    136136</fieldset></td>
    137137</tr>
    138 <tr valign="top">
     138<tr>
    139139<th scope="row"><?php _e('Before a comment appears'); ?></th>
    140140<td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend>
     
    146146</fieldset></td>
    147147</tr>
    148 <tr valign="top">
     148<tr>
    149149<th scope="row"><?php _e('Comment Moderation'); ?></th>
    150150<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend>
     
    157157</fieldset></td>
    158158</tr>
    159 <tr valign="top">
     159<tr>
    160160<th scope="row"><?php _e('Comment Blacklist'); ?></th>
    161161<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend>
     
    176176
    177177<table class="form-table">
    178 <tr valign="top">
     178<tr>
    179179<th scope="row"><?php _e('Avatar Display'); ?></th>
    180180<td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend>
     
    185185</fieldset></td>
    186186</tr>
    187 <tr valign="top">
     187<tr>
    188188<th scope="row"><?php _e('Maximum Rating'); ?></th>
    189189<td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend>
     
    208208</fieldset></td>
    209209</tr>
    210 <tr valign="top">
     210<tr>
    211211<th scope="row"><?php _e('Default Avatar'); ?></th>
    212212<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend>
  • trunk/src/wp-admin/options-general.php

    r26571 r27029  
    9191
    9292<table class="form-table">
    93 <tr valign="top">
     93<tr>
    9494<th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th>
    9595<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td>
    9696</tr>
    97 <tr valign="top">
     97<tr>
    9898<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
    9999<td><input name="blogdescription" type="text" id="blogdescription" value="<?php form_option('blogdescription'); ?>" class="regular-text" />
     
    101101</tr>
    102102<?php if ( !is_multisite() ) { ?>
    103 <tr valign="top">
     103<tr>
    104104<th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></th>
    105105<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>
    106106</tr>
    107 <tr valign="top">
     107<tr>
    108108<th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th>
    109109<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' ?>" />
    110110<p 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.'); ?></p></td>
    111111</tr>
    112 <tr valign="top">
     112<tr>
    113113<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
    114114<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
    115115<p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td>
    116116</tr>
    117 <tr valign="top">
     117<tr>
    118118<th scope="row"><?php _e('Membership') ?></th>
    119119<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
     
    122122</fieldset></td>
    123123</tr>
    124 <tr valign="top">
     124<tr>
    125125<th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th>
    126126<td>
     
    129129</tr>
    130130<?php } else { ?>
    131 <tr valign="top">
     131<tr>
    132132<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
    133133<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
     
    307307    if ( is_multisite() && !empty( $languages ) ):
    308308?>
    309     <tr valign="top">
     309    <tr>
    310310        <th width="33%" scope="row"><?php _e('Site Language') ?></th>
    311311        <td>
  • trunk/src/wp-admin/options-media.php

    r26518 r27029  
    5050
    5151<table class="form-table">
    52 <tr valign="top">
     52<tr>
    5353<th scope="row"><?php _e('Thumbnail size') ?></th>
    5454<td>
     
    6262</tr>
    6363
    64 <tr valign="top">
     64<tr>
    6565<th scope="row"><?php _e('Medium size') ?></th>
    6666<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend>
     
    7272</tr>
    7373
    74 <tr valign="top">
     74<tr>
    7575<th scope="row"><?php _e('Large size') ?></th>
    7676<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend>
     
    9999if ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) :
    100100?>
    101 <tr valign="top">
     101<tr>
    102102<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
    103103<td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" />
     
    106106</tr>
    107107
    108 <tr valign="top">
     108<tr>
    109109<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
    110110<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" />
  • trunk/src/wp-admin/options-reading.php

    r26697 r27029  
    100100?>
    101101<table class="form-table">
    102 <tr valign="top">
     102<tr>
    103103<th scope="row"><?php _e( 'Front page displays' ); ?></th>
    104104<td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend>
     
    123123</tr>
    124124<?php endif; ?>
    125 <tr valign="top">
     125<tr>
    126126<th scope="row"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></th>
    127127<td>
     
    129129</td>
    130130</tr>
    131 <tr valign="top">
     131<tr>
    132132<th scope="row"><label for="posts_per_rss"><?php _e( 'Syndication feeds show the most recent' ); ?></label></th>
    133133<td><input name="posts_per_rss" type="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td>
    134134</tr>
    135 <tr valign="top">
     135<tr>
    136136<th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th>
    137137<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend>
     
    141141</tr>
    142142
    143 <tr valign="top" class="option-site-visibility">
     143<tr class="option-site-visibility">
    144144<th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th>
    145145<td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>
  • trunk/src/wp-admin/options-writing.php

    r26518 r27029  
    6969
    7070<table class="form-table">
    71 <tr valign="top">
     71<tr>
    7272<th scope="row"><?php _e('Formatting') ?></th>
    7373<td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend>
     
    7878</fieldset></td>
    7979</tr>
    80 <tr valign="top">
     80<tr>
    8181<th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th>
    8282<td>
     
    9090unset( $post_formats['standard'] );
    9191?>
    92 <tr valign="top">
     92<tr>
    9393<th scope="row"><label for="default_post_format"><?php _e('Default Post Format') ?></label></th>
    9494<td>
     
    104104if ( get_option( 'link_manager_enabled' ) ) :
    105105?>
    106 <tr valign="top">
     106<tr>
    107107<th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th>
    108108<td>
     
    138138
    139139<table class="form-table">
    140 <tr valign="top">
     140<tr>
    141141<th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th>
    142142<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" />
     
    145145</td>
    146146</tr>
    147 <tr valign="top">
     147<tr>
    148148<th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></th>
    149149<td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text ltr" /></td>
    150150</tr>
    151 <tr valign="top">
     151<tr>
    152152<th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></th>
    153153<td>
     
    155155</td>
    156156</tr>
    157 <tr valign="top">
     157<tr>
    158158<th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th>
    159159<td>
Note: See TracChangeset for help on using the changeset viewer.