Ticket #9445: 9445.patch
| File 9445.patch, 22.1 KB (added by , 17 years ago) |
|---|
-
wp-admin/edit-form-advanced.php
170 170 171 171 <div id="post-visibility-select" class="hide-if-js"> 172 172 <input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo attr($post->post_password); ?>" /> 173 <input type="checkbox" style="display:none" name="hidden_post_sticky" id="hidden-post-sticky" value="sticky" <?php checked(is_sticky($post->ID)); ?> />173 <input type="checkbox" style="display:none" name="hidden_post_sticky" id="hidden-post-sticky" value="sticky" alt="TODO" <?php checked(is_sticky($post->ID)); ?> /> 174 174 <input type="hidden" name="hidden_post_visibility" id="hidden-post-visibility" value="<?php echo attr( $visibility ); ?>" /> 175 175 176 176 … … 277 277 <div class="jaxtag"> 278 278 <div class="nojs-tags hide-if-js"> 279 279 <p><?php _e('Add or remove tags'); ?></p> 280 <textarea name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]" ><?php echo attr(get_terms_to_edit( $post->ID, $tax_name )); ?></textarea></div>280 <textarea name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]" alt="TODO" ><?php echo attr(get_terms_to_edit( $post->ID, $tax_name )); ?></textarea></div> 281 281 282 282 <span class="ajaxtag hide-if-no-js"> 283 283 <label class="hidden" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label> 284 <input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _ea('Add new tag'); ?>" />284 <input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _ea('Add new tag'); ?>" alt="TODO" /> 285 285 <input type="button" class="button tagadd" value="<?php _ea('Add'); ?>" tabindex="3" /> 286 286 </span></div> 287 287 <p class="howto"><?php echo $helps; ?></p> … … 598 598 <div id="titlediv"> 599 599 <div id="titlewrap"> 600 600 <label class="hidden" for="title"><?php _e('Title') ?></label> 601 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />601 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" alt="TODO" /> 602 602 </div> 603 603 <div class="inside"> 604 604 <?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?> -
wp-admin/edit-page-form.php
442 442 <div id="titlediv"> 443 443 <div id="titlewrap"> 444 444 <label class="hidden" for="title"><?php _e('Title') ?></label> 445 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />445 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" alt="TODO" /> 446 446 </div> 447 447 <div class="inside"> 448 448 <?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?> -
wp-admin/link-manager.php
190 190 191 191 switch($column_name) { 192 192 case 'cb': 193 echo '<th scope="row" class="check-column"><input type="checkbox" name="linkcheck[]" value="'. attr($link->link_id) .'" /></th>';193 echo '<th scope="row" class="check-column"><input type="checkbox" name="linkcheck[]" value="'. attr($link->link_id) .'" alt="TODO" /></th>'; 194 194 break; 195 195 case 'name': 196 196 -
wp-admin/options-permalink.php
173 173 </label> 174 174 </th> 175 175 <td> 176 <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo attr($permalink_structure); ?>" class="regular-text code" />176 <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo attr($permalink_structure); ?>" class="regular-text code" alt="TODO" /> 177 177 </td> 178 178 </tr> 179 179 </table> -
wp-admin/plugins.php
327 327 <table class="widefat" cellspacing="0" id="<?php echo $context ?>-plugins-table"> 328 328 <thead> 329 329 <tr> 330 <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>330 <th scope="col" class="manage-column check-column"><input type="checkbox" alt="TODO" /></th> 331 331 <th scope="col" class="manage-column"><?php _e('Plugin'); ?></th> 332 332 <th scope="col" class="manage-column num"><?php _e('Version'); ?></th> 333 333 <th scope="col" class="manage-column"><?php _e('Description'); ?></th> … … 336 336 337 337 <tfoot> 338 338 <tr> 339 <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>339 <th scope="col" class="manage-column check-column"><input type="checkbox" alt="TODO" /></th> 340 340 <th scope="col" class="manage-column"><?php _e('Plugin'); ?></th> 341 341 <th scope="col" class="manage-column num"><?php _e('Version'); ?></th> 342 342 <th scope="col" class="manage-column"><?php _e('Description'); ?></th> … … 369 369 $class = $is_active ? 'active' : 'inactive'; 370 370 echo " 371 371 <tr class='$class'> 372 <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . attr($plugin_file) . "' /></th>372 <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . attr($plugin_file) . "' alt='TODO' /></th> 373 373 <td class='plugin-title'><strong>{$plugin_data['Title']}</strong>"; 374 374 $i = 0; 375 375 echo '<div class="row-actions">'; -
wp-admin/press-this.php
499 499 <label class="hidden" for="newtag"><?php _e('Post Tags'); ?></label> 500 500 <input type="hidden" name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]" value="" /> 501 501 <span class="ajaxtag" style="display:none;"> 502 <input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _ea('Add new tag'); ?>" />502 <input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _ea('Add new tag'); ?>" alt="TODO" /> 503 503 <input type="button" class="button tagadd" value="<?php _ea('Add'); ?>" tabindex="3" /> 504 504 </span> 505 505 </p> … … 518 518 519 519 <div id="titlediv"> 520 520 <div class="titlewrap"> 521 <input name="title" id="title" class="text" value="<?php echo attr($title);?>" />521 <input name="title" id="title" class="text" value="<?php echo attr($title);?>" alt="TODO" /> 522 522 </div> 523 523 </div> 524 524 -
wp-admin/upload.php
299 299 <table class="widefat" cellspacing="0"> 300 300 <thead> 301 301 <tr> 302 <th scope="col" class="check-column"><input type="checkbox" /></th>302 <th scope="col" class="check-column"><input type="checkbox" alt="TODO" /></th> 303 303 <th scope="col"></th> 304 304 <th scope="col"><?php /* translators: column name in media */ echo _x('Media', 'media column name'); ?></th> 305 305 <th scope="col"><?php /* translators: column name in media */ echo _x('Author', 'media column name'); ?></th> … … 309 309 310 310 <tfoot> 311 311 <tr> 312 <th scope="col" class="check-column"><input type="checkbox" /></th>312 <th scope="col" class="check-column"><input type="checkbox" alt="TODO" /></th> 313 313 <th scope="col"></th> 314 314 <th scope="col"><?php /* translators: column name in media */ echo _x('Media', 'media column name'); ?></th> 315 315 <th scope="col"><?php /* translators: column name in media */ echo _x('Author', 'media column name'); ?></th> … … 325 325 $att_title = wp_specialchars( _draft_or_post_title($post->ID) ); 326 326 ?> 327 327 <tr id='post-<?php echo $post->ID; ?>' class='<?php echo $class; ?>' valign="top"> 328 <th scope="row" class="check-column"><input type="checkbox" name="media[]" value="<?php echo attr($post->ID); ?>" /></th>328 <th scope="row" class="check-column"><input type="checkbox" name="media[]" value="<?php echo attr($post->ID); ?>" alt="TODO" /></th> 329 329 330 330 <td class="media-icon"><?php 331 331 if ( $thumb = wp_get_attachment_image( $post->ID, array(80, 60), true ) ) { ?> -
wp-admin/user-edit.php
355 355 ?> 356 356 <tr id="password"> 357 357 <th><label for="pass1"><?php _e('New Password'); ?></label></th> 358 <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?><br />359 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <?php _e("Type your new password again."); ?><br />358 <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" alt="TODO" /> <?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?><br /> 359 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" alt="TODO" /> <?php _e("Type your new password again."); ?><br /> 360 360 <?php if ( $is_profile_page ): ?> 361 361 <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 362 362 <p><?php _e('Hint: Your password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).'); ?></p> -
wp-admin/user-new.php
113 113 <?php if ( apply_filters('show_password_fields', true) ) : ?> 114 114 <tr class="form-field form-required"> 115 115 <th scope="row"><label for="pass1"><?php _e('Password (twice)') ?> </label></th> 116 <td><input name="pass1" type="password" id="pass1" autocomplete="off" />116 <td><input name="pass1" type="password" id="pass1" autocomplete="off" alt="TODO" /> 117 117 <br /> 118 <input name="pass2" type="password" id="pass2" autocomplete="off" /></td>118 <input name="pass2" type="password" id="pass2" autocomplete="off" alt="TODO" /></td> 119 119 </tr> 120 120 <?php endif; ?> 121 121 -
wp-admin/includes/media.php
1351 1351 <?php do_action('pre-html-upload-ui'); ?> 1352 1352 <p id="async-upload-wrap"> 1353 1353 <label class="hidden" for="async-upload"><?php _e('Upload'); ?></label> 1354 <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php _ea('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a>1354 <input type="file" name="async-upload" id="async-upload" alt="TODO" /> <input type="submit" class="button" name="html-upload" value="<?php _ea('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 1355 1355 </p> 1356 1356 <div class="clear"></div> 1357 1357 <?php if ( is_lighttpd_before_150() ): ?> -
wp-admin/includes/plugin-install.php
162 162 <option value="author"<?php selected('author', $type) ?>><?php _e('Author') ?></option> 163 163 <option value="tag"<?php selected('tag', $type) ?>><?php _x('Tag', 'Plugin Installer') ?></option> 164 164 </select> 165 <input type="text" name="s" value="<?php echo attr($term) ?>" />165 <input type="text" name="s" value="<?php echo attr($term) ?>" alt="TODO" /> 166 166 <label class="hidden" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 167 167 <input type="submit" id="plugin-search-input" name="search" value="<?php _ea('Search Plugins') ?>" class="button" /> 168 168 </form><?php … … 212 212 <form method="post" enctype="multipart/form-data" action="<?php echo admin_url('update.php?action=upload-plugin') ?>"> 213 213 <?php wp_nonce_field( 'plugin-upload') ?> 214 214 <label class="hidden" for="pluginzip"><?php _e('Plugin zip file'); ?></label> 215 <input type="file" id="pluginzip" name="pluginzip" />215 <input type="file" id="pluginzip" name="pluginzip" alt="TODO" /> 216 216 <input type="submit" class="button" value="<?php _ea('Install Now') ?>" /> 217 217 </form> 218 218 <?php -
wp-admin/includes/template.php
167 167 case 'cb': 168 168 $output .= "<th scope='row' class='check-column'>"; 169 169 if ( $default_cat_id != $category->term_id ) { 170 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' />";170 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' alt='TODO'/>"; 171 171 } else { 172 172 $output .= " "; 173 173 } … … 337 337 case 'cb': 338 338 $output .= "<th scope='row' class='check-column'>"; 339 339 if ( absint( get_option( 'default_link_category' ) ) != $category->term_id ) { 340 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' />";340 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' alt='TODO' />"; 341 341 } else { 342 342 $output .= " "; 343 343 } … … 655 655 656 656 switch ($column_name) { 657 657 case 'cb': 658 $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>';658 $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" alt="TODO" /></th>'; 659 659 break; 660 660 case 'name': 661 661 $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . attr(sprintf(__('Edit "%s"'), $name)) . '">' . $name . '</a></strong><br />'; … … 746 746 */ 747 747 function wp_manage_posts_columns() { 748 748 $posts_columns = array(); 749 $posts_columns['cb'] = '<input type="checkbox" />';749 $posts_columns['cb'] = '<input type="checkbox" alt="TODO" />'; 750 750 /* translators: manage posts column name */ 751 751 $posts_columns['title'] = _x('Post', 'column name'); 752 752 $posts_columns['author'] = __('Author'); … … 770 770 */ 771 771 function wp_manage_media_columns() { 772 772 $posts_columns = array(); 773 $posts_columns['cb'] = '<input type="checkbox" />';773 $posts_columns['cb'] = '<input type="checkbox" alt="TODO" />'; 774 774 $posts_columns['icon'] = ''; 775 775 /* translators: column name */ 776 776 $posts_columns['media'] = _x('File', 'column name'); … … 796 796 */ 797 797 function wp_manage_pages_columns() { 798 798 $posts_columns = array(); 799 $posts_columns['cb'] = '<input type="checkbox" />';799 $posts_columns['cb'] = '<input type="checkbox" alt="TODO" />'; 800 800 $posts_columns['title'] = __('Title'); 801 801 $posts_columns['author'] = __('Author'); 802 802 $post_status = 'all'; … … 837 837 break; 838 838 case 'edit-comments': 839 839 $_wp_column_headers[$page] = array( 840 'cb' => '<input type="checkbox" />',840 'cb' => '<input type="checkbox" alt="TODO" />', 841 841 'author' => __('Author'), 842 842 /* translators: column name */ 843 843 'comment' => _x('Comment', 'column name'), … … 848 848 break; 849 849 case 'link-manager': 850 850 $_wp_column_headers[$page] = array( 851 'cb' => '<input type="checkbox" />',851 'cb' => '<input type="checkbox" alt="TODO" />', 852 852 'name' => __('Name'), 853 853 'url' => __('URL'), 854 854 'categories' => __('Categories'), … … 862 862 break; 863 863 case 'categories': 864 864 $_wp_column_headers[$page] = array( 865 'cb' => '<input type="checkbox" />',865 'cb' => '<input type="checkbox" alt="TODO" />', 866 866 'name' => __('Name'), 867 867 'description' => __('Description'), 868 868 'slug' => __('Slug'), … … 872 872 break; 873 873 case 'edit-link-categories': 874 874 $_wp_column_headers[$page] = array( 875 'cb' => '<input type="checkbox" />',875 'cb' => '<input type="checkbox" alt="TODO" />', 876 876 'name' => __('Name'), 877 877 'description' => __('Description'), 878 878 'slug' => __('Slug'), … … 882 882 break; 883 883 case 'edit-tags': 884 884 $_wp_column_headers[$page] = array( 885 'cb' => '<input type="checkbox" />',885 'cb' => '<input type="checkbox" alt="TODO" />', 886 886 'name' => __('Name'), 887 887 'description' => __('Description'), 888 888 'slug' => __('Slug'), … … 892 892 break; 893 893 case 'users': 894 894 $_wp_column_headers[$page] = array( 895 'cb' => '<input type="checkbox" />',895 'cb' => '<input type="checkbox" alt="TODO" />', 896 896 'username' => __('Username'), 897 897 'name' => __('Name'), 898 898 'email' => __('E-mail'), … … 1393 1393 1394 1394 case 'cb': 1395 1395 ?> 1396 <th scope="row" class="check-column"><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><input type="checkbox" name="post[]" value="<?php the_ID(); ?>" /><?php } ?></th>1396 <th scope="row" class="check-column"><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><input type="checkbox" name="post[]" value="<?php the_ID(); ?>" alt="TODO" /><?php } ?></th> 1397 1397 <?php 1398 1398 break; 1399 1399 … … 1614 1614 1615 1615 case 'cb': 1616 1616 ?> 1617 <th scope="row" class="check-column"><input type="checkbox" name="post[]" value="<?php the_ID(); ?>" /></th>1617 <th scope="row" class="check-column"><input type="checkbox" name="post[]" value="<?php the_ID(); ?>" alt="TODO" /></th> 1618 1618 <?php 1619 1619 break; 1620 1620 case 'date': … … 1917 1917 $edit .= '</div>'; 1918 1918 1919 1919 // Set up the checkbox (because the user is editable, otherwise its empty) 1920 $checkbox = "<input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='$role' value='{$user_object->ID}' />";1920 $checkbox = "<input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='$role' value='{$user_object->ID}' alt='TODO' />"; 1921 1921 1922 1922 } else { 1923 1923 $edit = '<strong>' . $user_object->user_login . '</strong>'; … … 2112 2112 case 'cb': 2113 2113 if ( !$checkbox ) break; 2114 2114 echo '<th scope="row" class="check-column">'; 2115 if ( $user_can ) echo "<input type='checkbox' name='delete_comments[]' value='$comment->comment_ID' />";2115 if ( $user_can ) echo "<input type='checkbox' name='delete_comments[]' value='$comment->comment_ID' alt='TODO' />"; 2116 2116 echo '</th>'; 2117 2117 break; 2118 2118 case 'comment': … … 2490 2490 } 2491 2491 ?> 2492 2492 </select> 2493 <input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" />2493 <input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" alt="TODO" /> 2494 2494 <a href="#postcustomstuff" class="hide-if-no-js" onclick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;"> 2495 2495 <span id="enternew"><?php _e('Enter new'); ?></span> 2496 2496 <span id="cancelnew" class="hidden"><?php _e('Cancel'); ?></span></a> 2497 2497 <?php } else { ?> 2498 <input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" />2498 <input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" alt="TODO"/> 2499 2499 <?php } ?> 2500 2500 </td> 2501 <td><textarea id="metavalue" name="metavalue" rows="2" cols="25" tabindex="8" ></textarea></td>2501 <td><textarea id="metavalue" name="metavalue" rows="2" cols="25" tabindex="8" alt="TODO"></textarea></td> 2502 2502 </tr> 2503 2503 2504 2504 <tr><td colspan="2" class="submit"> … … 2557 2557 } 2558 2558 $month .= '</select>'; 2559 2559 2560 $day = '<input type="text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';2561 $year = '<input type="text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" />';2562 $hour = '<input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';2563 $minute = '<input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';2560 $day = '<input type="text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" alt="TODO" />'; 2561 $year = '<input type="text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" alt="TODO" />'; 2562 $hour = '<input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" alt="TODO" />'; 2563 $minute = '<input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" alt="TODO" />'; 2564 2564 /* translators: 1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input */ 2565 2565 printf(__('%1$s%2$s, %3$s @ %4$s : %5$s'), $month, $day, $year, $hour, $minute); 2566 2566 -
wp-admin/includes/theme-install.php
158 158 <option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option> 159 159 <option value="tag" <?php selected('tag', $type) ?>><?php _e('Tag'); ?></option> 160 160 </select> 161 <input type="text" name="s" size="30" value="<?php echo attr($term) ?>" />161 <input type="text" name="s" size="30" value="<?php echo attr($term) ?>" alt="TODO" /> 162 162 <input type="submit" name="search" value="<?php _ea('Search'); ?>" class="button" /> 163 163 </form> 164 164 <?php