Ticket #22712: 22712.markup.diff
File 22712.markup.diff, 42.5 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/class-wp-posts-list-table.php
476 476 $alternate = 'alternate' == $alternate ? '' : 'alternate'; 477 477 $classes = $alternate . ' iedit author-' . ( get_current_user_id() == $post->post_author ? 'self' : 'other' ); 478 478 ?> 479 <tr id="post-<?php echo $post->ID; ?>" class="<?php echo implode( ' ', get_post_class( $classes, $post->ID ) ); ?>" valign="top">479 <tr id="post-<?php echo $post->ID; ?>" class="<?php echo implode( ' ', get_post_class( $classes, $post->ID ) ); ?>"> 480 480 <?php 481 481 482 482 list( $columns, $hidden ) = $this->get_column_info(); -
wp-admin/includes/class-wp-media-list-table.php
192 192 $post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other'; 193 193 $att_title = _draft_or_post_title(); 194 194 ?> 195 <tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">195 <tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>'> 196 196 <?php 197 197 198 198 list( $columns, $hidden ) = $this->get_column_info(); -
wp-admin/includes/class-wp-links-list-table.php
114 114 115 115 $edit_link = get_edit_bookmark_link( $link ); 116 116 ?> 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; ?>> 118 118 <?php 119 119 120 120 list( $columns, $hidden ) = $this->get_column_info(); -
wp-admin/includes/template.php
1111 1111 return; 1112 1112 1113 1113 foreach ( (array) $wp_settings_fields[$page][$section] as $field ) { 1114 echo '<tr valign="top">';1114 echo '<tr>'; 1115 1115 if ( !empty($field['args']['label_for']) ) 1116 1116 echo '<th scope="row"><label for="' . esc_attr( $field['args']['label_for'] ) . '">' . $field['title'] . '</label></th>'; 1117 1117 else -
wp-admin/includes/ms.php
446 446 447 447 foreach ( $blogs as $blog ) { 448 448 $output .= "<tr>"; 449 $output .= "<td valign='top'>";449 $output .= "<td>"; 450 450 $output .= "{$blog->blogname}"; 451 451 $output .= "</td>"; 452 $output .= "<td valign='top'>";452 $output .= "<td>"; 453 453 $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>" ; 454 454 $output .= "</td>"; 455 455 $output .= "</tr>"; -
wp-admin/includes/class-wp-ms-sites-list-table.php
221 221 break; 222 222 223 223 case 'id':?> 224 <th valign="top"scope="row">224 <th scope="row"> 225 225 <?php echo $blog['blog_id'] ?> 226 226 </th> 227 227 <?php … … 279 279 break; 280 280 281 281 case 'lastupdated': 282 echo "<td valign='top'class='$column_name column-$column_name'$style>";282 echo "<td class='$column_name column-$column_name'$style>"; 283 283 if ( 'list' == $mode ) 284 284 $date = 'Y/m/d'; 285 285 else … … 289 289 <?php 290 290 break; 291 291 case 'registered': 292 echo "<td valign='top'class='$column_name column-$column_name'$style>";292 echo "<td class='$column_name column-$column_name'$style>"; 293 293 if ( $blog['registered'] == '0000-00-00 00:00:00' ) 294 294 echo '—'; 295 295 else … … 299 299 <?php 300 300 break; 301 301 case 'users': 302 echo "<td valign='top'class='$column_name column-$column_name'$style>";302 echo "<td class='$column_name column-$column_name'$style>"; 303 303 $blogusers = get_users( array( 'blog_id' => $blog['blog_id'], 'number' => 6) ); 304 304 if ( is_array( $blogusers ) ) { 305 305 $blogusers_warning = ''; … … 323 323 324 324 case 'plugins': ?> 325 325 <?php if ( has_filter( 'wpmublogsaction' ) ) { 326 echo "<td valign='top'class='$column_name column-$column_name'$style>";326 echo "<td class='$column_name column-$column_name'$style>"; 327 327 do_action( 'wpmublogsaction', $blog['blog_id'] ); ?> 328 328 </td> 329 329 <?php } -
wp-admin/includes/media.php
1146 1146 $display_title 1147 1147 <table class='slidetoggle describe $class'> 1148 1148 <thead class='media-item-info' id='media-head-$post->ID'> 1149 <tr valign='top'>1149 <tr> 1150 1150 <td class='A1B1' id='thumbnail-head-$post->ID'> 1151 1151 <p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p> 1152 1152 <p>$image_edit_button</p> … … 1231 1231 $class = $id; 1232 1232 $class .= $field['required'] ? ' form-required' : ''; 1233 1233 1234 $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'>";1234 $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'>"; 1235 1235 if ( !empty( $field[ $field['input'] ] ) ) 1236 1236 $item .= $field[ $field['input'] ]; 1237 1237 elseif ( $field['input'] == 'textarea' ) { … … 1374 1374 $class .= $field['required'] ? ' form-required' : ''; 1375 1375 1376 1376 $item .= "\t\t<tr class='$class'>"; 1377 $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>";1377 $item .= "\t\t\t<th scope='row' class='label'><label for='$id_attr'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label>"; 1378 1378 $item .= "</th>\n\t\t\t<td class='field'>"; 1379 1379 1380 1380 if ( !empty( $field[ $field['input'] ] ) ) … … 2099 2099 if ( !apply_filters( 'disable_captions', '' ) ) { 2100 2100 $caption = ' 2101 2101 <tr class="image-only"> 2102 <th valign="top"scope="row" class="label">2102 <th scope="row" class="label"> 2103 2103 <label for="caption"><span class="alignleft">' . __('Image Caption') . '</span></label> 2104 2104 </th> 2105 2105 <td class="field"><textarea id="caption" name="caption"></textarea></td> … … 2124 2124 <p class="media-types"><label><input type="radio" name="media_type" value="image" id="image-only"' . checked( 'image-only', $view, false ) . ' /> ' . __( 'Image' ) . '</label> <label><input type="radio" name="media_type" value="generic" id="not-image"' . checked( 'not-image', $view, false ) . ' /> ' . __( 'Audio, Video, or Other File' ) . '</label></p> 2125 2125 <table class="describe ' . $table_class . '"><tbody> 2126 2126 <tr> 2127 <th valign="top"scope="row" class="label" style="width:130px;">2127 <th scope="row" class="label" style="width:130px;"> 2128 2128 <label for="src"><span class="alignleft">' . __('URL') . '</span></label> 2129 2129 <span class="alignright"><abbr id="status_img" title="required" class="required">*</abbr></span> 2130 2130 </th> … … 2132 2132 </tr> 2133 2133 2134 2134 <tr> 2135 <th valign="top"scope="row" class="label">2135 <th scope="row" class="label"> 2136 2136 <label for="title"><span class="alignleft">' . __('Title') . '</span></label> 2137 2137 <span class="alignright"><abbr title="required" class="required">*</abbr></span> 2138 2138 </th> … … 2142 2142 <tr class="not-image"><td></td><td><p class="help">' . __('Link text, e.g. “Ransom Demands (PDF)”') . '</p></td></tr> 2143 2143 2144 2144 <tr class="image-only"> 2145 <th valign="top"scope="row" class="label">2145 <th scope="row" class="label"> 2146 2146 <label for="alt"><span class="alignleft">' . __('Alternative Text') . '</span></label> 2147 2147 </th> 2148 2148 <td class="field"><input id="alt" name="alt" value="" type="text" aria-required="true" /> … … 2150 2150 </tr> 2151 2151 ' . $caption . ' 2152 2152 <tr class="align image-only"> 2153 <th valign="top"scope="row" class="label"><p><label for="align">' . __('Alignment') . '</label></p></th>2153 <th scope="row" class="label"><p><label for="align">' . __('Alignment') . '</label></p></th> 2154 2154 <td class="field"> 2155 2155 <input name="align" id="align-none" value="none" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'none' ? ' checked="checked"' : '').' /> 2156 2156 <label for="align-none" class="align image-align-none-label">' . __('None') . '</label> … … 2164 2164 </tr> 2165 2165 2166 2166 <tr class="image-only"> 2167 <th valign="top"scope="row" class="label">2167 <th scope="row" class="label"> 2168 2168 <label for="url"><span class="alignleft">' . __('Link Image To:') . '</span></label> 2169 2169 </th> 2170 2170 <td class="field"><input id="url" name="url" value="" type="text" /><br /> -
wp-admin/includes/file.php
1003 1003 _e('If you do not remember your credentials, you should contact your web host.'); 1004 1004 ?></p> 1005 1005 <table class="form-table"> 1006 <tr valign="top">1006 <tr> 1007 1007 <th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th> 1008 1008 <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> 1009 1009 </tr> 1010 1010 1011 <tr valign="top">1011 <tr> 1012 1012 <th scope="row"><label for="username"><?php echo $label_user; ?></label></th> 1013 1013 <td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td> 1014 1014 </tr> 1015 1015 1016 <tr valign="top">1016 <tr> 1017 1017 <th scope="row"><label for="password"><?php echo $label_pass; ?></label></th> 1018 1018 <td><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></td> 1019 1019 </tr> 1020 1020 1021 1021 <?php if ( isset($types['ssh']) ) : ?> 1022 <tr id="ssh_keys" valign="top"style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">1022 <tr id="ssh_keys" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>"> 1023 1023 <th scope="row"><?php _e('Authentication Keys') ?> 1024 1024 <div class="key-labels textright"> 1025 1025 <label for="public_key"><?php _e('Public Key:') ?></label ><br /> … … 1030 1030 </tr> 1031 1031 <?php endif; ?> 1032 1032 1033 <tr valign="top">1033 <tr> 1034 1034 <th scope="row"><?php _e('Connection Type') ?></th> 1035 1035 <td> 1036 1036 <fieldset><legend class="screen-reader-text"><span><?php _e('Connection Type') ?></span></legend> -
wp-admin/options-reading.php
100 100 update_option( 'show_on_front', 'posts' ); 101 101 ?> 102 102 <table class="form-table"> 103 <tr valign="top">103 <tr> 104 104 <th scope="row"><?php _e( 'Front page displays' ); ?></th> 105 105 <td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend> 106 106 <p><label> … … 123 123 </fieldset></td> 124 124 </tr> 125 125 <?php endif; ?> 126 <tr valign="top">126 <tr> 127 127 <th scope="row"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></th> 128 128 <td> 129 129 <input name="posts_per_page" type="number" step="1" min="1" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?> 130 130 </td> 131 131 </tr> 132 <tr valign="top">132 <tr> 133 133 <th scope="row"><label for="posts_per_rss"><?php _e( 'Syndication feeds show the most recent' ); ?></label></th> 134 134 <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> 135 135 </tr> 136 <tr valign="top">136 <tr> 137 137 <th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th> 138 138 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend> 139 139 <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 /> … … 141 141 </fieldset></td> 142 142 </tr> 143 143 144 <tr valign="top"class="option-site-visibility">144 <tr class="option-site-visibility"> 145 145 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th> 146 146 <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend> 147 147 <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> -
wp-admin/my-sites.php
75 75 <?php 76 76 $settings_html = apply_filters( 'myblogs_options', '', 'global' ); 77 77 if ( $settings_html != '' ) { 78 echo '<tr><td valign="top"><h3>' . __( 'Global Settings' ) . '</h3></td><td>';78 echo '<tr><td><h3>' . __( 'Global Settings' ) . '</h3></td><td>'; 79 79 echo $settings_html; 80 80 echo '</td></tr>'; 81 81 } … … 100 100 $i = 0; 101 101 foreach ( $row as $user_blog ) { 102 102 $s = $i == 3 ? '' : 'border-right: 1px solid #ccc;'; 103 echo "<td valign='top'style='$s'>";103 echo "<td style='$s'>"; 104 104 echo "<h3>{$user_blog->blogname}</h3>"; 105 105 echo "<p>" . apply_filters( 'myblogs_blog_actions', "<a href='" . esc_url( get_home_url( $user_blog->userblog_id ) ). "'>" . __( 'Visit' ) . "</a> | <a href='" . esc_url( get_admin_url( $user_blog->userblog_id ) ) . "'>" . __( 'Dashboard' ) . "</a>", $user_blog ) . "</p>"; 106 106 echo apply_filters( 'myblogs_options', '', $user_blog ); -
wp-admin/options-writing.php
61 61 <?php settings_fields('writing'); ?> 62 62 63 63 <table class="form-table"> 64 <tr valign="top">64 <tr> 65 65 <th scope="row"><?php _e('Formatting') ?></th> 66 66 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend> 67 67 <label for="use_smilies"> … … 70 70 <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> 71 71 </fieldset></td> 72 72 </tr> 73 <tr valign="top">73 <tr> 74 74 <th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th> 75 75 <td> 76 76 <?php … … 83 83 $post_formats = get_theme_support( 'post-formats' ); 84 84 if ( is_array( $post_formats[0] ) ) : 85 85 ?> 86 <tr valign="top">86 <tr> 87 87 <th scope="row"><label for="default_post_format"><?php _e('Default Post Format') ?></label></th> 88 88 <td> 89 89 <select name="default_post_format" id="default_post_format"> … … 98 98 99 99 if ( get_option( 'link_manager_enabled' ) ) : 100 100 ?> 101 <tr valign="top">101 <tr> 102 102 <th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th> 103 103 <td> 104 104 <?php … … 129 129 <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’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> 130 130 131 131 <table class="form-table"> 132 <tr valign="top">132 <tr> 133 133 <th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th> 134 134 <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" /> 135 135 <label for="mailserver_port"><?php _e('Port') ?></label> 136 136 <input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" class="small-text" /> 137 137 </td> 138 138 </tr> 139 <tr valign="top">139 <tr> 140 140 <th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></th> 141 141 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text ltr" /></td> 142 142 </tr> 143 <tr valign="top">143 <tr> 144 144 <th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></th> 145 145 <td> 146 146 <input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" class="regular-text ltr" /> 147 147 </td> 148 148 </tr> 149 <tr valign="top">149 <tr> 150 150 <th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th> 151 151 <td> 152 152 <?php -
wp-admin/custom-background.php
194 194 <h3><?php _e('Background Image'); ?></h3> 195 195 <table class="form-table"> 196 196 <tbody> 197 <tr valign="top">197 <tr> 198 198 <th scope="row"><?php _e('Preview'); ?></th> 199 199 <td> 200 200 <?php … … 219 219 </td> 220 220 </tr> 221 221 <?php if ( get_background_image() ) : ?> 222 <tr valign="top">222 <tr> 223 223 <th scope="row"><?php _e('Remove Image'); ?></th> 224 224 <td> 225 225 <form method="post" action=""> … … 233 233 234 234 <?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?> 235 235 <?php if ( $default_image && get_background_image() != $default_image ) : ?> 236 <tr valign="top">236 <tr> 237 237 <th scope="row"><?php _e('Restore Original Image'); ?></th> 238 238 <td> 239 239 <form method="post" action=""> … … 245 245 </tr> 246 246 247 247 <?php endif; ?> 248 <tr valign="top">248 <tr> 249 249 <th scope="row"><?php _e('Select Image'); ?></th> 250 250 <td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action=""> 251 251 <p> … … 272 272 <table class="form-table"> 273 273 <tbody> 274 274 <?php if ( get_background_image() ) : ?> 275 <tr valign="top">275 <tr> 276 276 <th scope="row"><?php _e( 'Position' ); ?></th> 277 277 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend> 278 278 <label> … … 290 290 </fieldset></td> 291 291 </tr> 292 292 293 <tr valign="top">293 <tr> 294 294 <th scope="row"><?php _e( 'Repeat' ); ?></th> 295 295 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend> 296 296 <label><input type="radio" name="background-repeat" value="no-repeat"<?php checked('no-repeat', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('No Repeat'); ?></label> … … 300 300 </fieldset></td> 301 301 </tr> 302 302 303 <tr valign="top">303 <tr> 304 304 <th scope="row"><?php _e( 'Attachment' ); ?></th> 305 305 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend> 306 306 <label> … … 314 314 </fieldset></td> 315 315 </tr> 316 316 <?php endif; // get_background_image() ?> 317 <tr valign="top">317 <tr> 318 318 <th scope="row"><?php _e( 'Background Color' ); ?></th> 319 319 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend> 320 320 <?php -
wp-admin/options-discussion.php
39 39 <?php settings_fields('discussion'); ?> 40 40 41 41 <table class="form-table"> 42 <tr valign="top">42 <tr> 43 43 <th scope="row"><?php _e('Default article settings'); ?></th> 44 44 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend> 45 45 <label for="default_pingback_flag"> … … 57 57 <small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small> 58 58 </fieldset></td> 59 59 </tr> 60 <tr valign="top">60 <tr> 61 61 <th scope="row"><?php _e('Other comment settings'); ?></th> 62 62 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend> 63 63 <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> … … 119 119 ?></label> 120 120 </fieldset></td> 121 121 </tr> 122 <tr valign="top">122 <tr> 123 123 <th scope="row"><?php _e('E-mail me whenever'); ?></th> 124 124 <td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever'); ?></span></legend> 125 125 <label for="comments_notify"> … … 131 131 <?php _e('A comment is held for moderation'); ?> </label> 132 132 </fieldset></td> 133 133 </tr> 134 <tr valign="top">134 <tr> 135 135 <th scope="row"><?php _e('Before a comment appears'); ?></th> 136 136 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend> 137 137 <label for="comment_moderation"> … … 141 141 <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> 142 142 </fieldset></td> 143 143 </tr> 144 <tr valign="top">144 <tr> 145 145 <th scope="row"><?php _e('Comment Moderation'); ?></th> 146 146 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend> 147 147 <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="number" step="1" min="0" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p> … … 152 152 </p> 153 153 </fieldset></td> 154 154 </tr> 155 <tr valign="top">155 <tr> 156 156 <th scope="row"><?php _e('Comment Blacklist'); ?></th> 157 157 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend> 158 158 <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 “press” will match “WordPress”.'); ?></label></p> … … 171 171 <?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? ?> 172 172 173 173 <table class="form-table"> 174 <tr valign="top">174 <tr> 175 175 <th scope="row"><?php _e('Avatar Display'); ?></th> 176 176 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend> 177 177 <label for="show_avatars"> … … 180 180 </label> 181 181 </fieldset></td> 182 182 </tr> 183 <tr valign="top">183 <tr> 184 184 <th scope="row"><?php _e('Maximum Rating'); ?></th> 185 185 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend> 186 186 … … 203 203 204 204 </fieldset></td> 205 205 </tr> 206 <tr valign="top">206 <tr> 207 207 <th scope="row"><?php _e('Default Avatar'); ?></th> 208 208 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend> 209 209 -
wp-admin/custom-header.php
464 464 <table class="form-table"> 465 465 <tbody> 466 466 467 <tr valign="top">467 <tr> 468 468 <th scope="row"><?php _e( 'Preview' ); ?></th> 469 469 <td> 470 470 <?php if ( $this->admin_image_div_callback ) { … … 491 491 </td> 492 492 </tr> 493 493 <?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?> 494 <tr valign="top">494 <tr> 495 495 <th scope="row"><?php _e( 'Select Image' ); ?></th> 496 496 <td> 497 497 <p><?php _e( 'You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.' ); ?><br /> … … 545 545 <table class="form-table"> 546 546 <tbody> 547 547 <?php if ( get_uploaded_header_images() ) : ?> 548 <tr valign="top">548 <tr> 549 549 <th scope="row"><?php _e( 'Uploaded Images' ); ?></th> 550 550 <td> 551 551 <p><?php _e( 'You can choose one of your previously uploaded headers, or show a random one.' ) ?></p> … … 556 556 </tr> 557 557 <?php endif; 558 558 if ( ! empty( $this->default_headers ) ) : ?> 559 <tr valign="top">559 <tr> 560 560 <th scope="row"><?php _e( 'Default Images' ); ?></th> 561 561 <td> 562 562 <?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?> … … 571 571 </tr> 572 572 <?php endif; 573 573 if ( get_header_image() ) : ?> 574 <tr valign="top">574 <tr> 575 575 <th scope="row"><?php _e( 'Remove Image' ); ?></th> 576 576 <td> 577 577 <p><?php _e( 'This will remove the header image. You will not be able to restore any customizations.' ) ?></p> … … 582 582 583 583 $default_image = get_theme_support( 'custom-header', 'default-image' ); 584 584 if ( $default_image && get_header_image() != $default_image ) : ?> 585 <tr valign="top">585 <tr> 586 586 <th scope="row"><?php _e( 'Reset Image' ); ?></th> 587 587 <td> 588 588 <p><?php _e( 'This will restore the original header image. You will not be able to restore any customizations.' ) ?></p> … … 599 599 600 600 <table class="form-table"> 601 601 <tbody> 602 <tr valign="top">602 <tr> 603 603 <th scope="row"><?php _e( 'Header Text' ); ?></th> 604 604 <td> 605 605 <p> … … 608 608 </td> 609 609 </tr> 610 610 611 <tr valign="top"class="displaying-header-text">611 <tr class="displaying-header-text"> 612 612 <th scope="row"><?php _e( 'Text Color' ); ?></th> 613 613 <td> 614 614 <p> -
wp-admin/comment.php
175 175 </tr> 176 176 <?php } ?> 177 177 <tr> 178 <th scope="row" valign="top"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>178 <th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th> 179 179 <td><?php echo $comment->comment_content; ?></td> 180 180 </tr> 181 181 </table> -
wp-admin/options-general.php
91 91 <?php settings_fields('general'); ?> 92 92 93 93 <table class="form-table"> 94 <tr valign="top">94 <tr> 95 95 <th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th> 96 96 <td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td> 97 97 </tr> 98 <tr valign="top">98 <tr> 99 99 <th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th> 100 100 <td><input name="blogdescription" type="text" id="blogdescription" value="<?php form_option('blogdescription'); ?>" class="regular-text" /> 101 101 <p class="description"><?php _e('In a few words, explain what this site is about.') ?></p></td> 102 102 </tr> 103 103 <?php if ( !is_multisite() ) { ?> 104 <tr valign="top">104 <tr> 105 105 <th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></th> 106 106 <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> 107 107 </tr> 108 <tr valign="top">108 <tr> 109 109 <th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th> 110 110 <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' ?>" /> 111 111 <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> 112 112 </tr> 113 <tr valign="top">113 <tr> 114 114 <th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th> 115 115 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" /> 116 116 <p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td> 117 117 </tr> 118 <tr valign="top">118 <tr> 119 119 <th scope="row"><?php _e('Membership') ?></th> 120 120 <td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register"> 121 121 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> /> 122 122 <?php _e('Anyone can register') ?></label> 123 123 </fieldset></td> 124 124 </tr> 125 <tr valign="top">125 <tr> 126 126 <th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th> 127 127 <td> 128 128 <select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select> 129 129 </td> 130 130 </tr> 131 131 <?php } else { ?> 132 <tr valign="top">132 <tr> 133 133 <th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th> 134 134 <td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" /> 135 135 <p 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>') ?></p> … … 304 304 $languages = get_available_languages(); 305 305 if ( is_multisite() && !empty( $languages ) ): 306 306 ?> 307 <tr valign="top">307 <tr> 308 308 <th width="33%" scope="row"><?php _e('Site Language') ?></th> 309 309 <td> 310 310 <select name="WPLANG" id="WPLANG"> -
wp-admin/options-media.php
50 50 <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> 51 51 52 52 <table class="form-table"> 53 <tr valign="top">53 <tr> 54 54 <th scope="row"><?php _e('Thumbnail size') ?></th> 55 55 <td> 56 56 <label for="thumbnail_size_w"><?php _e('Width'); ?></label> … … 62 62 </td> 63 63 </tr> 64 64 65 <tr valign="top">65 <tr> 66 66 <th scope="row"><?php _e('Medium size') ?></th> 67 67 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend> 68 68 <label for="medium_size_w"><?php _e('Max Width'); ?></label> … … 72 72 </fieldset></td> 73 73 </tr> 74 74 75 <tr valign="top">75 <tr> 76 76 <th scope="row"><?php _e('Large size') ?></th> 77 77 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend> 78 78 <label for="large_size_w"><?php _e('Max Width'); ?></label> … … 99 99 // If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty) 100 100 if ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) : 101 101 ?> 102 <tr valign="top">102 <tr> 103 103 <th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th> 104 104 <td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" /> 105 105 <p class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></p> 106 106 </td> 107 107 </tr> 108 108 109 <tr valign="top">109 <tr> 110 110 <th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th> 111 111 <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" /> 112 112 <p class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></p> -
wp-admin/edit-form-comment.php
29 29 <div class="inside"> 30 30 <table class="form-table editcomment"> 31 31 <tbody> 32 <tr valign="top">32 <tr> 33 33 <td class="first"><?php _e( 'Name:' ); ?></td> 34 34 <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td> 35 35 </tr> 36 <tr valign="top">36 <tr> 37 37 <td class="first"> 38 38 <?php 39 39 if ( $comment->comment_author_email ) { … … 44 44 ?></td> 45 45 <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td> 46 46 </tr> 47 <tr valign="top">47 <tr> 48 48 <td class="first"> 49 49 <?php 50 50 if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { -
wp-admin/edit-tag-form.php
37 37 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?> 38 38 <table class="form-table"> 39 39 <tr class="form-field form-required"> 40 <th scope="row" valign="top"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>40 <th scope="row"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th> 41 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 42 <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td> 43 43 </tr> 44 44 <?php if ( !global_terms_enabled() ) { ?> 45 45 <tr class="form-field"> 46 <th scope="row" valign="top"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>46 <th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th> 47 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 48 <p class="description"><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td> 49 49 </tr> 50 50 <?php } ?> 51 51 <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> 52 52 <tr class="form-field"> 53 <th scope="row" valign="top"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>53 <th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th> 54 54 <td> 55 55 <?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'))); ?> 56 56 <?php if ( 'category' == $taxonomy ) : ?> … … 60 60 </tr> 61 61 <?php endif; // is_taxonomy_hierarchical() ?> 62 62 <tr class="form-field"> 63 <th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>63 <th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th> 64 64 <td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br /> 65 65 <span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td> 66 66 </tr> -
wp-admin/network/settings.php
86 86 <?php wp_nonce_field( 'siteoptions' ); ?> 87 87 <h3><?php _e( 'Operational Settings' ); ?></h3> 88 88 <table class="form-table"> 89 <tr valign="top">89 <tr> 90 90 <th scope="row"><label for="site_name"><?php _e( 'Network Name' ) ?></label></th> 91 91 <td> 92 92 <input name="site_name" type="text" id="site_name" class="regular-text" value="<?php echo esc_attr( $current_site->site_name ) ?>" /> … … 95 95 </td> 96 96 </tr> 97 97 98 <tr valign="top">98 <tr> 99 99 <th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th> 100 100 <td> 101 101 <input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" /> … … 106 106 </table> 107 107 <h3><?php _e( 'Registration Settings' ); ?></h3> 108 108 <table class="form-table"> 109 <tr valign="top">109 <tr> 110 110 <th scope="row"><?php _e( 'Allow new registrations' ) ?></th> 111 111 <?php 112 112 if ( !get_site_option( 'registration' ) ) … … 124 124 </td> 125 125 </tr> 126 126 127 <tr valign="top">127 <tr> 128 128 <th scope="row"><?php _e( 'Registration notification' ) ?></th> 129 129 <?php 130 130 if ( !get_site_option( 'registrationnotification' ) ) … … 135 135 </td> 136 136 </tr> 137 137 138 <tr valign="top"id="addnewusers">138 <tr id="addnewusers"> 139 139 <th scope="row"><?php _e( 'Add New Users' ) ?></th> 140 140 <td> 141 141 <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 → Add New" page.' ); ?></label> 142 142 </td> 143 143 </tr> 144 144 145 <tr valign="top">145 <tr> 146 146 <th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></th> 147 147 <td> 148 148 <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" /> … … 151 151 </td> 152 152 </tr> 153 153 154 <tr valign="top">154 <tr> 155 155 <th scope="row"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></th> 156 156 <td> 157 157 <?php $limited_email_domains = get_site_option( 'limited_email_domains' ); … … 163 163 </td> 164 164 </tr> 165 165 166 <tr valign="top">166 <tr> 167 167 <th scope="row"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></th> 168 168 <td> 169 169 <textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5"> … … 177 177 <h3><?php _e('New Site Settings'); ?></h3> 178 178 <table class="form-table"> 179 179 180 <tr valign="top">180 <tr> 181 181 <th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></th> 182 182 <td> 183 183 <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text"> … … 186 186 <?php _e( 'The welcome email sent to new site owners.' ) ?> 187 187 </td> 188 188 </tr> 189 <tr valign="top">189 <tr> 190 190 <th scope="row"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></th> 191 191 <td> 192 192 <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text"> … … 195 195 <?php _e( 'The welcome email sent to new users.' ) ?> 196 196 </td> 197 197 </tr> 198 <tr valign="top">198 <tr> 199 199 <th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th> 200 200 <td> 201 201 <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text"> … … 204 204 <?php _e( 'The first post on a new site.' ) ?> 205 205 </td> 206 206 </tr> 207 <tr valign="top">207 <tr> 208 208 <th scope="row"><label for="first_page"><?php _e( 'First Page' ) ?></label></th> 209 209 <td> 210 210 <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text"> … … 213 213 <?php _e( 'The first page on a new site.' ) ?> 214 214 </td> 215 215 </tr> 216 <tr valign="top">216 <tr> 217 217 <th scope="row"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></th> 218 218 <td> 219 219 <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text"> … … 222 222 <?php _e( 'The first comment on a new site.' ) ?> 223 223 </td> 224 224 </tr> 225 <tr valign="top">225 <tr> 226 226 <th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th> 227 227 <td> 228 228 <input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" /> … … 230 230 <?php _e( 'The author of the first comment on a new site.' ) ?> 231 231 </td> 232 232 </tr> 233 <tr valign="top">233 <tr> 234 234 <th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th> 235 235 <td> 236 236 <input type="text" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" /> … … 241 241 </table> 242 242 <h3><?php _e( 'Upload Settings' ); ?></h3> 243 243 <table class="form-table"> 244 <tr valign="top">244 <tr> 245 245 <th scope="row"><?php _e( 'Site upload space' ) ?></th> 246 246 <td> 247 247 <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="number" min="0" style="width: 100px" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 100) ) . '" />' ); ?></label><br /> 248 248 </td> 249 249 </tr> 250 250 251 <tr valign="top">251 <tr> 252 252 <th scope="row"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></th> 253 253 <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> 254 254 </tr> 255 255 256 <tr valign="top">256 <tr> 257 257 <th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th> 258 258 <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> 259 259 </tr> … … 266 266 ?> 267 267 <h3><?php _e( 'Language Settings' ); ?></h3> 268 268 <table class="form-table"> 269 <tr valign="top">269 <tr> 270 270 <th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th> 271 271 <td> 272 272 <select name="WPLANG" id="WPLANG"> … … 281 281 282 282 <h3><?php _e( 'Menu Settings' ); ?></h3> 283 283 <table id="menu" class="form-table"> 284 <tr valign="top">284 <tr> 285 285 <th scope="row"><?php _e( 'Enable administration menus' ); ?></th> 286 286 <td> 287 287 <?php