Changeset 7883
- Timestamp:
- 05/04/08 10:37:06 (7 months ago)
- Files:
-
- trunk/wp-admin/categories.php (modified) (1 diff)
- trunk/wp-admin/edit-comments.php (modified) (1 diff)
- trunk/wp-admin/edit-form-advanced.php (modified) (10 diffs)
- trunk/wp-admin/edit-form-comment.php (modified) (5 diffs)
- trunk/wp-admin/edit-link-categories.php (modified) (1 diff)
- trunk/wp-admin/edit-link-form.php (modified) (13 diffs)
- trunk/wp-admin/edit-page-form.php (modified) (9 diffs)
- trunk/wp-admin/edit-pages.php (modified) (1 diff)
- trunk/wp-admin/edit-tags.php (modified) (1 diff)
- trunk/wp-admin/edit.php (modified) (1 diff)
- trunk/wp-admin/export.php (modified) (1 diff)
- trunk/wp-admin/import/greymatter.php (modified) (1 diff)
- trunk/wp-admin/import/mt.php (modified) (1 diff)
- trunk/wp-admin/import/wordpress.php (modified) (1 diff)
- trunk/wp-admin/includes/media.php (modified) (1 diff)
- trunk/wp-admin/includes/template.php (modified) (3 diffs)
- trunk/wp-admin/link-import.php (modified) (2 diffs)
- trunk/wp-admin/link-manager.php (modified) (1 diff)
- trunk/wp-admin/options-discussion.php (modified) (8 diffs)
- trunk/wp-admin/options-general.php (modified) (6 diffs)
- trunk/wp-admin/options-misc.php (modified) (4 diffs)
- trunk/wp-admin/options-permalink.php (modified) (1 diff)
- trunk/wp-admin/options-privacy.php (modified) (2 diffs)
- trunk/wp-admin/options-reading.php (modified) (4 diffs)
- trunk/wp-admin/options-writing.php (modified) (7 diffs)
- trunk/wp-admin/options.php (modified) (1 diff)
- trunk/wp-admin/setup-config.php (modified) (1 diff)
- trunk/wp-admin/sidebar.php (modified) (2 diffs)
- trunk/wp-admin/theme-editor.php (modified) (1 diff)
- trunk/wp-admin/update.php (modified) (1 diff)
- trunk/wp-admin/upload.php (modified) (1 diff)
- trunk/wp-admin/user-edit.php (modified) (2 diffs)
- trunk/wp-admin/users.php (modified) (7 diffs)
- trunk/wp-admin/widgets.php (modified) (3 diffs)
- trunk/wp-admin/wp-admin.css (modified) (1 diff)
- trunk/wp-content/themes/default/searchform.php (modified) (1 diff)
- trunk/wp-content/themes/default/style.css (modified) (1 diff)
- trunk/wp-includes/post-template.php (modified) (1 diff)
- trunk/wp-includes/widgets.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/categories.php
r7745 r7883 127 127 128 128 <p id="post-search"> 129 <label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label> 129 130 <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 130 131 <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> trunk/wp-admin/edit-comments.php
r7859 r7883 117 117 118 118 <p id="post-search"> 119 <label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label> 119 120 <input type="text" id="post-search-input" name="s" value="<?php echo $search; ?>" /> 120 121 <input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" /> trunk/wp-admin/edit-form-advanced.php
r7854 r7883 85 85 <div class="inside"> 86 86 87 <p><strong>< ?php _e('Publish Status') ?></strong></p>87 <p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p> 88 88 <p> 89 <select name='post_status' tabindex='4'>89 <select name='post_status' id='post_status' tabindex='4'> 90 90 <?php if ( current_user_can('publish_posts') ) : // Contributors only get "Unpublished" and "Pending Review" ?> 91 91 <option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option> … … 182 182 <div id="post-body"> 183 183 <div id="titlediv"> 184 <h3>< ?php _e('Title') ?></h3>184 <h3><label for="title"><?php _e('Title') ?></label></h3> 185 185 <div id="titlewrap"> 186 186 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" /> … … 197 197 198 198 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 199 <h3>< ?php _e('Post') ?></h3>199 <h3><label for="content"><?php _e('Post') ?></label></h3> 200 200 <?php the_editor($post->post_content); ?> 201 201 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> … … 211 211 <h3><?php _e('Tags'); ?></h3> 212 212 <div class="inside"> 213 <p id="jaxtag">< input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></p>213 <p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></p> 214 214 <div id="tagchecklist"></div> 215 215 </div> … … 223 223 <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4> 224 224 <p id="category-add" class="wp-hidden-child"> 225 < input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" />226 < ?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>225 <label class="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" /> 226 <label class="hidden" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> 227 227 <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" /> 228 228 <?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?> … … 259 259 <div id="postexcerpt" class="postbox <?php echo postbox_classes('postexcerpt', 'post'); ?>"> 260 260 <h3><?php _e('Excerpt') ?></h3> 261 <div class="inside">< textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>261 <div class="inside"><label class="hidden" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea> 262 262 <p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p> 263 263 </div> … … 267 267 <h3><?php _e('Trackbacks') ?></h3> 268 268 <div class="inside"> 269 <p>< ?php _e('Send trackbacks to:'); ?> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>269 <p><label for="trackback"><?php _e('Send trackbacks to:'); ?></label> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p> 270 270 <p><?php _e('Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress blogs they’ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p> 271 271 <?php … … 313 313 <h3><?php _e('Password Protect This Post') ?></h3> 314 314 <div class="inside"> 315 <p>< input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>315 <p><label class="hidden" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 316 316 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p> 317 317 </div> … … 321 321 <h3><?php _e('Post Slug') ?></h3> 322 322 <div class="inside"> 323 < input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />323 <label class="hidden" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" /> 324 324 </div> 325 325 </div> … … 334 334 <h3><?php _e('Post Author'); ?></h3> 335 335 <div class="inside"> 336 < ?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>336 <label class="hidden" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?> 337 337 </div> 338 338 </div> trunk/wp-admin/edit-form-comment.php
r7755 r7883 23 23 <div class="inside"> 24 24 25 <p><strong>< ?php _e('Approval Status') ?></strong></p>25 <p><strong><label for='comment_status'><?php _e('Approval Status') ?></label></strong></p> 26 26 <p> 27 <select name='comment_status' >27 <select name='comment_status' id='comment_status'> 28 28 <option<?php selected( $comment->comment_approved, '1' ); ?> value='1'><?php _e('Approved') ?></option> 29 29 <option<?php selected( $comment->comment_approved, '0' ); ?> value='0'><?php _e('Moderated') ?></option> … … 65 65 <div id="post-body"> 66 66 <div id="namediv" class="stuffbox"> 67 <h3>< ?php _e('Name') ?></h3>67 <h3><label for="name"><?php _e('Name') ?></label></h3> 68 68 <div class="inside"> 69 69 <input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" /> … … 72 72 73 73 <div id="emaildiv" class="stuffbox"> 74 <h3>< ?php _e('E-mail') ?></h3>74 <h3><label for="email"><?php _e('E-mail') ?></label></h3> 75 75 <div class="inside"> 76 76 <input type="text" name="newcomment_author_email" size="30" value="<?php echo attribute_escape( $comment->comment_author_email ); ?>" tabindex="2" id="email" /> … … 79 79 80 80 <div id="uridiv" class="stuffbox"> 81 <h3>< ?php _e('URL') ?></h3>81 <h3><label for="newcomment_author_url"><?php _e('URL') ?></label></h3> 82 82 <div class="inside"> 83 83 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="3" /> … … 86 86 87 87 <div id="postdiv" class="postarea"> 88 <h3>< ?php _e('Comment') ?></h3>88 <h3><label for="content"><?php _e('Comment') ?></label></h3> 89 89 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false, 4); ?> 90 90 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> trunk/wp-admin/edit-link-categories.php
r7745 r7883 63 63 64 64 <p id="post-search"> 65 <label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label> 65 66 <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 66 67 <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> trunk/wp-admin/edit-link-form.php
r7737 r7883 75 75 <div id="post-body"> 76 76 <div id="namediv" class="stuffbox"> 77 <h3>< ?php _e('Name') ?></h3>77 <h3><label for="link_name"><?php _e('Name') ?></label></h3> 78 78 <div class="inside"> 79 79 <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /><br /> … … 83 83 84 84 <div id="addressdiv" class="stuffbox"> 85 <h3>< ?php _e('Web Address') ?></h3>85 <h3><label for="link_url"><?php _e('Web Address') ?></label></h3> 86 86 <div class="inside"> 87 87 <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /><br /> … … 91 91 92 92 <div id="descriptiondiv" class="stuffbox"> 93 <h3>< ?php _e('Description') ?></h3>93 <h3><label for="link_description"><?php _e('Description') ?></label></h3> 94 94 <div class="inside"> 95 95 <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" /><br /> … … 105 105 <h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4> 106 106 <p id="link-category-add" class="wp-hidden-child"> 107 <label class="hidden" for="newcat"><?php _e( '+ Add New Category' ); ?></label> 107 108 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" /> 108 109 <input type="button" id="category-add-sumbit" class="add:categorychecklist:linkcategorydiv button" value="<?php _e( 'Add' ); ?>" /> … … 139 140 <h3><?php _e('Target') ?></h3> 140 141 <div class="inside"> 142 <fieldset><legend class="hidden"><?php _e('Target') ?></legend> 141 143 <label for="link_target_blank" class="selectit"> 142 144 <input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo(($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> /> … … 148 150 <input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> /> 149 151 <?php _e('none') ?></label> 152 </fieldset> 150 153 <p><?php _e('Choose the frame your link targets. Essentially this means if you choose <code>_blank</code> your link will open in a new window.'); ?></p> 151 154 </div> … … 157 160 <table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5"> 158 161 <tr> 159 <th style="width: 20%;" scope="row">< ?php _e('rel:') ?></th>162 <th style="width: 20%;" scope="row"><label for="link_rel"><?php _e('rel:') ?></label></th> 160 163 <td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td> 161 164 </tr> … … 165 168 <tr> 166 169 <th scope="row"> <?php _e('identity') ?> </th> 167 <td> 170 <td><fieldset><legend class="hidden"> <?php _e('identity') ?> </legend> 168 171 <label for="me"> 169 172 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 170 173 <?php _e('another web address of mine') ?></label> 171 </ td>174 </fieldset></td> 172 175 </tr> 173 176 <tr> 174 177 <th scope="row"> <?php _e('friendship') ?> </th> 175 <td> 178 <td><fieldset><legend class="hidden"> <?php _e('friendship') ?> </legend> 176 179 <label for="contact"> 177 180 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php _e('contact') ?></label> … … 182 185 <label for="friendship"> 183 186 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship', '', 'radio'); ?> /> <?php _e('none') ?></label> 184 </ td>187 </fieldset></td> 185 188 </tr> 186 189 <tr> 187 190 <th scope="row"> <?php _e('physical') ?> </th> 188 <td> 191 <td><fieldset><legend class="hidden"> <?php _e('physical') ?> </legend> 189 192 <label for="met"> 190 193 <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> 191 194 <?php _e('met') ?></label> 192 </ td>195 </fieldset></td> 193 196 </tr> 194 197 <tr> 195 198 <th scope="row"> <?php _e('professional') ?> </th> 196 <td> 199 <td><fieldset><legend class="hidden"> <?php _e('professional') ?> </legend> 197 200 <label for="co-worker"> 198 201 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> … … 201 204 <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> /> 202 205 <?php _e('colleague') ?></label> 203 </ td>206 </fieldset></td> 204 207 </tr> 205 208 <tr> 206 209 <th scope="row"> <?php _e('geographical') ?> </th> 207 <td> 210 <td><fieldset><legend class="hidden"> <?php _e('geographical') ?> </legend> 208 211 <label for="co-resident"> 209 212 <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> /> … … 215 218 <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical', '', 'radio'); ?> /> 216 219 <?php _e('none') ?></label> 217 </ td>220 </fieldset></td> 218 221 </tr> 219 222 <tr> 220 223 <th scope="row"> <?php _e('family') ?> </th> 221 <td> 224 <td><fieldset><legend class="hidden"> <?php _e('family') ?> </legend> 222 225 <label for="child"> 223 226 <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?> /> … … 238 241 <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family', '', 'radio'); ?> /> 239 242 <?php _e('none') ?></label> 240 </ td>243 </fieldset></td> 241 244 </tr> 242 245 <tr> 243 246 <th scope="row"> <?php _e('romantic') ?> </th> 244 <td> 247 <td><fieldset><legend class="hidden"> <?php _e('romantic') ?> </legend> 245 248 <label for="muse"> 246 249 <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> … … 255 258 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> /> 256 259 <?php _e('sweetheart') ?></label> 257 </ td>260 </fieldset></td> 258 261 </tr> 259 262 </table> trunk/wp-admin/edit-page-form.php
r7854 r7883 70 70 <div class="inside"> 71 71 72 <p><strong>< ?php _e('Publish Status') ?></strong></p>72 <p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p> 73 73 <p> 74 <select name='post_status' tabindex='4' >74 <select name='post_status' tabindex='4' id='post_status'> 75 75 <?php if ( current_user_can('publish_pages') ) : ?> 76 76 <option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option> … … 161 161 <div id="post-body"> 162 162 <div id="titlediv"> 163 <h3>< ?php _e('Title') ?></h3>163 <h3><label for="title"><?php _e('Title') ?></label></h3> 164 164 <div id="titlewrap"> 165 165 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" autocomplete="off" /> … … 176 176 177 177 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 178 <h3>< ?php _e('Page') ?></h3>178 <h3><label for="content"><?php _e('Page') ?></label></h3> 179 179 <?php the_editor($post->post_content); ?> 180 180 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> … … 225 225 <h3><?php _e('Password Protect This Page') ?></h3> 226 226 <div class="inside"> 227 <p>< input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>227 <p><label class="hidden" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 228 228 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p> 229 229 </div> … … 233 233 <h3><?php _e('Page Slug') ?></h3> 234 234 <div class="inside"> 235 < input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />235 <label class="hidden" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" /> 236 236 </div> 237 237 </div> … … 240 240 <h3><?php _e('Page Parent') ?></h3> 241 241 <div class="inside"> 242 < select name="parent_id">242 <label class="hidden" for="parent_id"><?php _e('Page Parent') ?></label><select name="parent_id" id="parent_id"> 243 243 <option value='0'><?php _e('Main Page (no parent)'); ?></option> 244 244 <?php parent_dropdown($post->post_parent); ?> … … 252 252 <h3><?php _e('Page Template') ?></h3> 253 253 <div class="inside"> 254 < select name="page_template">254 <label class="hidden" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template"> 255 255 <option value='default'><?php _e('Default Template'); ?></option> 256 256 <?php page_template_dropdown($post->page_template); ?> … … 264 264 <h3><?php _e('Page Order') ?></h3> 265 265 <div class="inside"> 266 <p>< input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p>266 <p><label class="hidden" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p> 267 267 <p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it’ll be better in future releases.)'); ?></p> 268 268 </div> … … 278 278 <h3><?php _e('Page Author'); ?></h3> 279 279 <div class="inside"> 280 < ?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>280 <label class="hidden" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?> 281 281 </div> 282 282 </div> trunk/wp-admin/edit-pages.php
r7645 r7883 112 112 113 113 <p id="post-search"> 114 <label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label> 114 115 <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 115 116 <input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" /> trunk/wp-admin/edit-tags.php
r7745 r7883 134 134 135 135 <p id="post-search"> 136 <label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label> 136 137 <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 137 138 <input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" /> trunk/wp-admin/edit.php
r7645 r7883 117 117 118 118 <p id="post-search"> 119 <label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label> 119 120 <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 120 121 <input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" /> trunk/wp-admin/export.php
r7191 r7883 23 23 <table class="form-table"> 24 24 <tr> 25 <th>< ?php _e('Restrict Author'); ?></th>25 <th><label for="author"><?php _e('Restrict Author'); ?></label></th> 26 26 <td> 27 <select name="author" >27 <select name="author" id="author"> 28 28 <option value="all" selected="selected"><?php _e('All Authors'); ?></option> 29 29 <?php trunk/wp-admin/import/greymatter.php
r7397 r7883 39 39 <table class="form-table"> 40 40 <tr> 41 <td>< ?php _e('Path to GM files:') ?></td>42 <td><input type="text" style="width:300px" name="gmpath" value="/home/my/site/cgi-bin/greymatter/" /></td>41 <td><label for="gmpath"><?php _e('Path to GM files:') ?></label></td> 42 <td><input type="text" style="width:300px" name="gmpath" id="gmpath" value="/home/my/site/cgi-bin/greymatter/" /></td> 43 43 </tr> 44 44 <tr> 45 <td>< ?php _e('Path to GM entries:') ?></td>46 <td><input type="text" style="width:300px" name="archivespath" value="/home/my/site/cgi-bin/greymatter/archives/" /></td>45 <td><label for="archivespath"><?php _e('Path to GM entries:') ?></label></td> 46 <td><input type="text" style="width:300px" name="archivespath" id="archivespath" value="/home/my/site/cgi-bin/greymatter/archives/" /></td> 47 47 </tr> 48 48 <tr> 49 <td>< ?php _e("Last entry's number:") ?></td>50 <td><input type="text" name="lastentry" value="00000001" /><br />49 <td><label for="lastentry"><?php _e("Last entry's number:") ?></label></td> 50 <td><input type="text" name="lastentry" id="lastentry" value="00000001" /><br /> 51 51 <?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td> 52 52 </tr> trunk/wp-admin/import/mt.php
r7649 r7883 167 167 foreach ($authors as $author) { 168 168 ++ $j; 169 echo '<li> '.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br />');169 echo '<li><label>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br />'); 170 170 $this->users_form($j); 171 echo '</l i>';171 echo '</label></li>'; 172 172 } 173 173 trunk/wp-admin/import/wordpress.php
r7546 r7883 219 219 220 220 if ( $this->allow_create_users() ) { 221 printf( __('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user_create['.intval($n).']'.'" maxlength="30"> <br />');221 printf('<label>'.__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user_create['.intval($n).']'.'" maxlength="30"></label> <br />'); 222 222 } 223 223 else { trunk/wp-admin/includes/media.php
r7874 r7883 960 960 961 961 <div id="search-filter"> 962 <label class="hidden" for="post-search-input"><?php _e('Search Media');?>:</label> 962 963 <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 963 964 <input type="submit" value="<?php echo attribute_escape( __( 'Search Media' ) ); ?>" class="button" /> trunk/wp-admin/includes/template.php
r7800 r7883 775 775 776 776 $r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>"; 777 $r .= "\n\t\t<td valign='top'>< input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td>";778 $r .= "\n\t\t<td>< textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>";777 $r .= "\n\t\t<td valign='top'><label class='hidden' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td>"; 778 $r .= "\n\t\t<td><label class='hidden' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>"; 779 779 $r .= "\n\t\t<td style='text-align: center;'><input name='updatemeta' type='submit' tabindex='6' value='".attribute_escape(__( 'Update' ))."' class='add:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$update_nonce updatemeta' /><br />"; 780 780 $r .= "\n\t\t<input name='deletemeta[{$entry['meta_id']}]' type='submit' "; … … 801 801 <table id="newmeta" cellspacing="3" cellpadding="3"> 802 802 <tr> 803 <th colspan="2">< ?php _e( 'Key' ) ?></th>804 <th>< ?php _e( 'Value' ) ?></th>803 <th colspan="2"><label <?php if ( $keys ) : ?> for="metakeyselect" <?php else : ?> for="metakeyinput" <?php endif; ?>><?php _e( 'Key' ) ?></label></th> 804 <th><label for="metavalue"><?php _e( 'Value' ) ?></label></th> 805 805 </tr> 806 806 <tr valign="top"> … … 816 816 } 817 817 ?> 818 </select> < ?php _e( 'or' ); ?>818 </select> <label for="metakeyinput"><?php _e( 'or' ); ?></label> 819 819 <?php endif; ?> 820 820 </td> trunk/wp-admin/link-import.php
r7304 r7883 31 31 <input type="hidden" name="MAX_FILE_SIZE" value="30000" /> 32 32 <div style="width: 48%;" class="alignleft"> 33 <h3>< ?php _e('Specify an OPML URL:'); ?></h3>34 <input type="text" name="opml_url" size="50" style="width: 90%;" value="http://" />33 <h3><label for="opml_url"><?php _e('Specify an OPML URL:'); ?></label></h3> 34 <input type="text" name="opml_url" id="opml_url" size="50" style="width: 90%;" value="http://" /> 35 35 </div> 36 36 37 37 <div style="width: 48%;" class="alignleft"> 38 <h3>< ?php _e('Or choose from your local disk:'); ?></h3>38 <h3><label for="userfile"><?php _e('Or choose from your local disk:'); ?></label></h3> 39 39 <input id="userfile" name="userfile" type="file" size="30" /> 40 40 </div> … … 42 42 </div> 43 43 44 <p style="clear: both; margin-top: 1em;">< ?php _e('Now select a category you want to put these links in.') ?><br />45 <?php _e('Category:') ?> <select name="cat_id" >44 <p style="clear: both; margin-top: 1em;"><label for="cat_id"><?php _e('Now select a category you want to put these links in.') ?></label><br /> 45 <?php _e('Category:') ?> <select name="cat_id" id="cat_id"> 46 46 <?php 47 47 $categories = get_terms('link_category', 'get=all'); trunk/wp-admin/link-manager.php
r7745 r7883 79 79 80 80 <p id="post-search"> 81 <label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label> 81 82 <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 82 83 <input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" /> trunk/wp-admin/options-discussion.php
r7879 r7883 15 15 <tr valign="top"> 16 16 <th scope="row"><?php _e('Default article settings') ?></th> 17 <td> 17 <td><fieldset><legend class="hidden"><?php _e('Default article settings') ?></legend> 18 18 <label for="default_pingback_flag"> 19 19 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> /> … … 29 29 <br /> 30 30 <small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small> 31 </ td>31 </fieldset></td> 32 32 </tr> 33 33 <tr valign="top"> 34 34 <th scope="row"><?php _e('E-mail me whenever') ?></th> 35 <td> 35 <td><fieldset><legend class="hidden"><?php _e('E-mail me whenever') ?></legend> 36 36 <label for="comments_notify"> 37 37 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> /> … … 41 41 <input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_option('moderation_notify')); ?> /> 42 42 <?php _e('A comment is held for moderation') ?> </label> 43 </ td>43 </fieldset></td> 44 44 </tr> 45 45 <tr valign="top"> 46 46 <th scope="row"><?php _e('Before a comment appears') ?></th> 47 <td> 47 <td><fieldset><legend class="hidden"><?php _e('Before a comment appears') ?></legend> 48 48 <label for="comment_moderation"> 49 49 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> /> … … 53 53 <br /> 54 54 <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> 55 </ td>55 </fieldset></td> 56 56 </tr> 57 57 <tr valign="top"> 58 58 <th scope="row"><?php _e('Comment Moderation') ?></th> 59 <td> 60 <p>< ?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_option('comment_max_links'). '" />' ) ?></p>59 <td><fieldset><legend class="hidden"><?php _e('Comment Moderation') ?></legend> 60 <p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_option('comment_max_links'). '" />' ) ?></label></p> 61 61 62 <p>< ?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></p>62 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p> 63 63 <p> 64 64 <textarea name="moderation_keys" cols="60" rows="10" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('moderation_keys'); ?></textarea> 65 65 </p> 66 </ td>66 </fieldset></td> 67 67 </tr> 68 68 <tr valign="top"> 69 69 <th scope="row"><?php _e('Comment Blacklist') ?></th> 70 <td> 71 <p>< ?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".') ?></p>70 <td><fieldset><legend class="hidden"><?php _e('Comment Blacklist') ?></legend> 71 <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> 72 72 <p> 73 73 <textarea name="blacklist_keys" cols="60" rows="10" id="blacklist_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('blacklist_keys'); ?></textarea> 74 74 </p> 75 </ td>75 </fieldset></td> 76 76 </tr> 77 77 </table> … … 86 86 <tr valign="top"> 87 87 <th scope="row"><?php _e('Avatar Display') ?></th> 88 <td> 88 <td><fieldset><legend class="hidden"><?php _e('Avatar display') ?></legend> 89 89 <?php 90 90 $yesorno = array(0 => __("Don’t show Avatars"), 1 => __('Show Avatars')); … … 94 94 } 95 95 ?> 96 </ td>96 </fieldset></td> 97 97 </tr> 98 98 <tr valign="top"> 99 99 <th scope="row"><?php _e('Maximum Rating') ?></th> 100 <td> 100 <td><fieldset><legend class="hidden"><?php _e('Maximum Rating') ?></legend> 101 101 102 102 <?php … … 108 108 ?> 109 109 110 </ td>110 </fieldset></td> 111 111 </tr> 112 112 <tr valign="top"> 113 113 <th scope="row"><?php _e('Default Avatar') ?></th> 114 <td class="defaultavatarpicker"> 114 <td class="defaultavatarpicker"><fieldset><legend class="hidden"><?php _e('Default Avatar') ?></legend> 115 115 116 116 <?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br /> … … 143 143 ?> 144 144 145 </ td>145 </fieldset></td> 146 146 </tr> 147 147 trunk/wp-admin/options-general.php
r7498 r7883 14 14 <table class="form-table"> 15 15 <tr valign="top"> 16 <th scope="row">< ?php _e('Blog Title') ?></th>16 <th scope="row"><label for="blogname"><?php _e('Blog Title') ?></label></th> 17 17 <td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td> 18 18 </tr> 19 19 <tr valign="top"> 20 <th scope="row">< ?php _e('Tagline') ?></th>20 <th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th> 21 21 <td><input name="blogdescription" type="text" id="blogdescription" style="width: 95%" value="<?php form_option('blogdescription'); ?>" size="45" /> 22 22 <br /> … … 24 24 </tr> 25 25 <tr valign="top"> 26 <th scope="row">< ?php _e('WordPress address (URL)') ?></th>26 <th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th> 27 27 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" size="40" class="code<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td> 28 28 </tr> 29 29 <tr valign="top"> 30 <th scope="row">< ?php _e('Blog address (URL)') ?></th>30 <th scope="row"><label for="home"><?php _e('Blog address (URL)') ?></label></th> 31 31 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" size="40" class="code<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /><br /><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></td> 32 32 </tr> 33 33 <tr valign="top"> 34 <th scope="row">< ?php _e('E-mail address') ?></th>34 <th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th> 35 35 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" size="40" class="code" /> 36 36 <br /> … … 39 39 <tr valign="top"> 40 40 <th scope="row"><?php _e('Membership') ?></th> 41 <td> < label for="users_can_register">41 <td> <fieldset><legend class="hidden"><?php _e('Membership') ?></legend><label for="users_can_register"> 42 42 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> /> 43 43 <?php _e('Anyone can register') ?></label><br /> … … 46 46 <?php _e('Users must be registered and logged in to comment') ?> 47 47 </label> 48 </ td>48 </fieldset></td> 49 49 </tr> 50 50 <tr valign="top"> 51 <th scope="row">< ?php _e('New User Default Role') ?></th>52 <td> <label for="default_role">53 <select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select> </label>51 <th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th> 52 <td> 53 <select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select> 54 54 </td> 55 55 </tr> 56 56 <tr> 57 <th scope="row">< ?php _e('Timezone') ?></th>57 <th scope="row"><label for="gmt_offset"><?php _e('Timezone') ?> </label></th> 58 58 <td> 59 <select name="gmt_offset" >59 <select name="gmt_offset" id="gmt_offset"> 60 60 <?php 61 61 $current_offset = get_option('gmt_offset'); … … 88 88 </tr> 89 89 <tr> 90 <th scope="row">< ?php _e('Date Format') ?></th>90 <th scope="row"><label for="date_format"><?php _e('Date Format') ?></label></th> 91 91 <td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br /> 92 92 <?php _e('Output:') ?> <strong><?php echo mysql2date(get_option('date_format'), current_time('mysql')); ?></strong></td> 93 93 </tr> 94 94 <tr> 95 <th scope="row">< ?php _e('Time Format') ?></th>95 <th scope="row"><label for="time_format"><?php _e('Time Format') ?></label
