Ticket #6859: wp-6859-2.diff
File wp-6859-2.diff, 60.8 KB (added by , 17 years ago) |
---|
-
wp-admin/categories.php
126 126 <?php endif; ?> 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" /> 131 132 </p> -
wp-admin/edit-comments.php
116 116 </ul> 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" /> 121 122 </p> -
wp-admin/edit-form-advanced.php
84 84 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> 92 92 <?php if ( 'future' == $post->post_status ) : ?> … … 180 180 181 181 <div id="post-body"> 182 182 <div id="titlediv"> 183 <h3>< ?php _e('Title') ?></h3>183 <h3><label for="title"><?php _e('Title') ?></label></h3> 184 184 <div id="titlewrap"> 185 185 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" /> 186 186 </div> … … 195 195 </div> 196 196 197 197 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 198 <h3>< ?php _e('Post') ?></h3>198 <h3><label for="content"><?php _e('Post') ?></label></h3> 199 199 <?php the_editor($post->post_content); ?> 200 200 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> 201 201 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> … … 207 207 <?php echo $form_prevstatus ?> 208 208 209 209 <div id="tagsdiv" class="postbox <?php echo postbox_classes('tagsdiv', 'post'); ?>"> 210 <h3>< ?php _e('Tags'); ?></h3>210 <h3><label for="tags-input"><?php _e('Tags'); ?></label></h3> 211 211 <div class="inside"> 212 212 <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 213 <div id="tagchecklist"></div> … … 256 256 <h2><?php _e('Advanced Options'); ?></h2> 257 257 258 258 <div id="postexcerpt" class="postbox <?php echo postbox_classes('postexcerpt', 'post'); ?>"> 259 <h3>< ?php _e('Excerpt') ?></h3>259 <h3><label for="excerpt"><?php _e('Excerpt') ?></label></h3> 260 260 <div class="inside"><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea> 261 261 <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> 262 262 </div> … … 309 309 </div> 310 310 311 311 <div id="passworddiv" class="postbox <?php echo postbox_classes('passworddiv', 'post'); ?>"> 312 <h3>< ?php _e('Password Protect This Post') ?></h3>312 <h3><label for="post_password"><?php _e('Password Protect This Post') ?></label></h3> 313 313 <div class="inside"> 314 314 <p><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 315 315 <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> 318 318 319 319 <div id="slugdiv" class="postbox <?php echo postbox_classes('slugdiv', 'post'); ?>"> 320 <h3>< ?php _e('Post Slug') ?></h3>320 <h3><label for="post_name"><?php _e('Post Slug') ?></label></h3> 321 321 <div class="inside"> 322 322 <input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" /> 323 323 </div> -
wp-admin/edit-form-comment.php
22 22 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> 30 30 <option<?php selected( $comment->comment_approved, 'spam' ); ?> value='spam'><?php _e('Spam') ?></option> … … 64 64 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" /> 70 70 </div> 71 71 </div> 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" /> 77 77 </div> 78 78 </div> 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" /> 84 84 </div> 85 85 </div> 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 ); ?> 91 91 </div> -
wp-admin/edit-link-categories.php
62 62 <?php endif; ?> 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" /> 67 68 </p> -
wp-admin/edit-link-form.php
74 74 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 /> 80 80 <?php _e('Example: Nifty blogging software'); ?> … … 82 82 </div> 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 /> 88 88 <?php _e('Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>'); ?> … … 90 90 </div> 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 /> 96 96 <?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?> … … 156 156 <div class="inside"> 157 157 <table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5"> 158 158 <tr> 159 <th style="width: 20%;" scope="row">< ?php _e('rel:') ?></th>159 <th style="width: 20%;" scope="row"><label for="link_rel"><?php _e('rel:') ?></label></th> 160 160 <td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td> 161 161 </tr> 162 162 <tr> 163 163 <td colspan="2"> 164 164 <table cellpadding="3" cellspacing="5" class="form-table"> 165 165 <tr> 166 < th scope="row"> <?php _e('identity') ?></th>166 <fieldset><th scope="row"><legend> <?php _e('identity') ?> </legend></th> 167 167 <td> 168 168 <label for="me"> 169 169 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 170 170 <?php _e('another web address of mine') ?></label> 171 </td> 171 </td></fieldset> 172 172 </tr> 173 173 <tr> 174 < th scope="row"> <?php _e('friendship') ?></th>174 <fieldset><th scope="row"><legend> <?php _e('friendship') ?> </legend></th> 175 175 <td> 176 176 <label for="contact"> 177 177 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php _e('contact') ?></label> … … 181 181 <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend', 'radio'); ?> /> <?php _e('friend') ?></label> 182 182 <label for="friendship"> 183 183 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship', '', 'radio'); ?> /> <?php _e('none') ?></label> 184 </td> 184 </td></fieldset> 185 185 </tr> 186 186 <tr> 187 < th scope="row"> <?php _e('physical') ?></th>187 <fieldset><th scope="row"><legend> <?php _e('physical') ?> </legend></th> 188 188 <td> 189 189 <label for="met"> 190 190 <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> 191 191 <?php _e('met') ?></label> 192 </td> 192 </td></fieldset> 193 193 </tr> 194 194 <tr> 195 < th scope="row"> <?php _e('professional') ?></th>195 <fieldset><th scope="row"><legend> <?php _e('professional') ?> </legend></th> 196 196 <td> 197 197 <label for="co-worker"> 198 198 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> … … 200 200 <label for="colleague"> 201 201 <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> /> 202 202 <?php _e('colleague') ?></label> 203 </td> 203 </td></fieldset> 204 204 </tr> 205 205 <tr> 206 < th scope="row"> <?php _e('geographical') ?></th>206 <fieldset><th scope="row"><legend> <?php _e('geographical') ?> </legend></th> 207 207 <td> 208 208 <label for="co-resident"> 209 209 <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> /> … … 214 214 <label for="geographical"> 215 215 <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical', '', 'radio'); ?> /> 216 216 <?php _e('none') ?></label> 217 </td> 217 </td></fieldset> 218 218 </tr> 219 219 <tr> 220 < th scope="row"> <?php _e('family') ?></th>220 <fieldset><th scope="row"><legend> <?php _e('family') ?> </legend></th> 221 221 <td> 222 222 <label for="child"> 223 223 <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?> /> … … 237 237 <label for="family"> 238 238 <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family', '', 'radio'); ?> /> 239 239 <?php _e('none') ?></label> 240 </td> 240 </td></fieldset> 241 241 </tr> 242 242 <tr> 243 < th scope="row"> <?php _e('romantic') ?></th>243 <fieldset><th scope="row"><legend> <?php _e('romantic') ?> </legend></th> 244 244 <td> 245 245 <label for="muse"> 246 246 <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> … … 254 254 <label for="romantic"> 255 255 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> /> 256 256 <?php _e('sweetheart') ?></label> 257 </td> 257 </td></fieldset> 258 258 </tr> 259 259 </table> 260 260 </td> -
wp-admin/edit-page-form.php
69 69 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> 77 77 <?php else: ?> … … 159 159 160 160 <div id="post-body"> 161 161 <div id="titlediv"> 162 <h3>< ?php _e('Title') ?></h3>162 <h3><label for="title"><?php _e('Title') ?></label></h3> 163 163 <div id="titlewrap"> 164 164 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" autocomplete="off" /> 165 165 </div> … … 174 174 </div> 175 175 176 176 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 177 <h3>< ?php _e('Page') ?></h3>177 <h3><label for="content"><?php _e('Page') ?></label></h3> 178 178 <?php the_editor($post->post_content); ?> 179 179 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> 180 180 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> … … 221 221 </div> 222 222 223 223 <div id="pagepassworddiv" class="postbox <?php echo postbox_classes('pagepassworddiv', 'page'); ?>"> 224 <h3>< ?php _e('Password Protect This Page') ?></h3>224 <h3><label for="post_password"><?php _e('Password Protect This Page') ?></label></h3> 225 225 <div class="inside"> 226 226 <p><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 227 227 <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> 230 230 231 231 <div id="pageslugdiv" class="postbox <?php echo postbox_classes('pageslugdiv', 'page'); ?>"> 232 <h3>< ?php _e('Page Slug') ?></h3>232 <h3><label for="post_name"><?php _e('Page Slug') ?></label></h3> 233 233 <div class="inside"> 234 234 <input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" /> 235 235 </div> 236 236 </div> 237 237 238 238 <div id="pageparentdiv" class="postbox <?php echo postbox_classes('pageparentdiv', 'page'); ?>"> 239 <h3>< ?php _e('Page Parent') ?></h3>239 <h3><label for="parent_id"><?php _e('Page Parent') ?></label></h3> 240 240 <div class="inside"> 241 <select name="parent_id" >241 <select name="parent_id" id="parent_id"> 242 242 <option value='0'><?php _e('Main Page (no parent)'); ?></option> 243 243 <?php parent_dropdown($post->post_parent); ?> 244 244 </select> … … 248 248 249 249 <?php if ( 0 != count( get_page_templates() ) ) { ?> 250 250 <div id="pagetemplatediv" class="postbox <?php echo postbox_classes('pagetemplatediv', 'page'); ?>"> 251 <h3>< ?php _e('Page Template') ?></h3>251 <h3><label for="page_template"><?php _e('Page Template') ?></label></h3> 252 252 <div class="inside"> 253 <select name="page_template" >253 <select name="page_template" id="page_template"> 254 254 <option value='default'><?php _e('Default Template'); ?></option> 255 255 <?php page_template_dropdown($post->page_template); ?> 256 256 </select> … … 260 260 <?php } ?> 261 261 262 262 <div id="pageorderdiv" class="postbox <?php echo postbox_classes('pageorderdiv', 'page'); ?>"> 263 <h3>< ?php _e('Page Order') ?></h3>263 <h3><label for="menu_order"><?php _e('Page Order') ?></label></h3> 264 264 <div class="inside"> 265 265 <p><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p> 266 266 <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> -
wp-admin/edit-pages.php
111 111 ?> 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" /> 116 117 </p> -
wp-admin/edit-tags.php
133 133 <?php endif; ?> 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" /> 138 139 </p> -
wp-admin/edit.php
116 116 ?> 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" /> 121 122 </p> -
wp-admin/export.php
22 22 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 30 30 $authors = $wpdb->get_col( "SELECT post_author FROM $wpdb->posts GROUP BY post_author" ); -
wp-admin/import/greymatter.php
38 38 <h3><?php _e('Second step: GreyMatter details:') ?></h3> 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> 53 53 </table> -
wp-admin/import/mt.php
166 166 $j = -1; 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 174 174 echo '<input type="submit" value="'.__('Submit').'">'.'<br />'; -
wp-admin/import/wordpress.php
218 218 function users_form($n, $author) { 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 { 224 224 echo __('Map to existing').'<br />'; -
wp-admin/includes/media.php
956 956 <input type="hidden" name="post_mime_type" value="<?php echo attribute_escape( $_GET['post_mime_type'] ); ?>" /> 957 957 958 958 <div id="search-filter"> 959 <label class="hidden" for="post-search-input"><?php _e('Search Media');?>:</label> 959 960 <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 960 961 <input type="submit" value="<?php echo attribute_escape( __( 'Search Media' ) ); ?>" class="button" /> 961 962 </div> -
wp-admin/includes/template.php
800 800 <p><strong><?php _e( 'Add a new custom field:' ) ?></strong></p> 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 for="metakeyselect"><?php _e( 'Key' ) ?></label></th> 804 <th><label for="metavalue"><?php _e( 'Value' ) ?></label></th> 805 805 </tr> 806 806 <tr valign="top"> 807 807 <td style="width: 18%;" class="textright"> … … 815 815 echo "\n\t<option value='$key'>$key</option>"; 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> 821 821 <td><input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" /></td> -
wp-admin/link-import.php
30 30 <input type="hidden" name="step" value="1" /> 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> 41 41 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'); 48 48 foreach ($categories as $category) { -
wp-admin/link-manager.php
78 78 <h2><?php printf( __( 'Manage Links (<a href="%s">add new</a>)' ), 'link-add.php' ); ?></h2> 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" /> 83 84 </p> -
wp-admin/options-discussion.php
13 13 <?php wp_nonce_field('update-options') ?> 14 14 <table class="form-table"> 15 15 <tr valign="top"> 16 < th scope="row"><?php _e('Default article settings') ?></th>16 <fieldset><th scope="row"><legend><?php _e('Default article settings') ?></legend></th> 17 17 <td> 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')); ?> /> … … 28 28 <?php _e('Allow people to post comments on the article') ?></label> 29 29 <br /> 30 30 <small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small> 31 </td> 31 </td></fieldset> 32 32 </tr> 33 33 <tr valign="top"> 34 < th scope="row"><?php _e('E-mail me whenever') ?></th>34 <fieldset><th scope="row"><legend><?php _e('E-mail me whenever') ?></legend></th> 35 35 <td> 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')); ?> /> … … 40 40 <label for="moderation_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 </td></fieldset> 44 44 </tr> 45 45 <tr valign="top"> 46 < th scope="row"><?php _e('Before a comment appears') ?></th>46 <fieldset><th scope="row"><legend><?php _e('Before a comment appears') ?></legend></th> 47 47 <td> 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')); ?> /> … … 52 52 <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> 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 </td></fieldset> 56 56 </tr> 57 57 <tr valign="top"> 58 < th scope="row"><?php _e('Comment Moderation') ?></th>58 <fieldset><th scope="row"><legend><?php _e('Comment Moderation') ?></legend></th> 59 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>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 </td></fieldset> 67 67 </tr> 68 68 <tr valign="top"> 69 < th scope="row"><?php _e('Comment Blacklist') ?></th>69 <fieldset><th scope="row"><legend><?php _e('Comment Blacklist') ?></legend></th> 70 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>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 </td></fieldset> 76 76 </tr> 77 77 </table> 78 78 … … 84 84 85 85 <table class="form-table"> 86 86 <tr valign="top"> 87 < th scope="row"><?php _e('Avatar display') ?></th>87 <fieldset><th scope="row"><legend><?php _e('Avatar display') ?></legend></th> 88 88 <td> 89 89 <?php 90 90 $yesorno = array(0 => __("Don’t show Avatars"), 1 => __('Show Avatars')); … … 93 93 echo "\n\t<label><input type='radio' name='show_avatars' value='$key' $selected> $value</label><br />"; 94 94 } 95 95 ?> 96 </td> 96 </td></fieldset> 97 97 </tr> 98 98 <tr valign="top"> 99 < th scope="row"><?php _e('Maximum Rating') ?></th>99 <fieldset><th scope="row"><legend><?php _e('Maximum Rating') ?></legend></th> 100 100 <td> 101 101 102 102 <?php … … 107 107 endforeach; 108 108 ?> 109 109 110 </td> 110 </td></fieldset> 111 111 </tr> 112 112 113 113 </table> -
wp-admin/options-general.php
13 13 <?php wp_nonce_field('update-options') ?> 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 /> 23 23 <?php _e('In a few words, explain what this blog is about.') ?></td> 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 /> 37 37 <?php _e('This address is used for admin purposes, like new user notification.') ?></td> 38 38 </tr> 39 39 <tr valign="top"> 40 < th scope="row"><?php _e('Membership') ?></th>40 <fieldset><th scope="row"><legend><?php _e('Membership') ?></legend></th> 41 41 <td> <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 /> … … 45 45 <input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_option('comment_registration')); ?> /> 46 46 <?php _e('Users must be registered and logged in to comment') ?> 47 47 </label> 48 </td> 48 </td></fieldset> 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'); 62 62 $offset_range = array (-12, -11.5, -11, -10.5, -10, -9.5, -9, -8.5, -8, -7.5, -7, -6.5, -6, -5.5, -5, -4.5, -4, -3.5, -3, -2.5, -2, -1.5, -1, -0.5, … … 87 87 </td> 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></th> 96 96 <td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br /> 97 97 <?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong><br /> 98 98 <?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') ?></td> 99 99 </tr> 100 100 <tr> 101 <th scope="row">< ?php _e('Week Starts On') ?></th>101 <th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th> 102 102 <td><select name="start_of_week" id="start_of_week"> 103 103 <?php 104 104 for ($day_index = 0; $day_index <= 6; $day_index++) : -
wp-admin/options-misc.php
15 15 <h3><?php _e('Uploading'); ?></h3> 16 16 <table class="form-table"> 17 17 <tr valign="top"> 18 <th scope="row">< ?php _e('Store uploads in this folder'); ?></th>18 <th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th> 19 19 <td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" size="40" /> 20 20 <br /> 21 21 <?php _e('Default is <code>wp-content/uploads</code>'); ?> … … 23 23 </tr> 24 24 25 25 <tr valign="top"> 26 <th scope="row">< ?php _e('Full URL path to files (optional)'); ?></th>26 <th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files (optional)'); ?></label></th> 27 27 <td><input name="upload_url_path" type="text" id="upload_url_path" class="code" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" size="40" /> 28 28 </td> 29 29 </tr> … … 43 43 44 44 <table class="form-table"> 45 45 <tr valign="top"> 46 < th scope="row"><?php _e('Thumbnail size') ?></th>46 <fieldset><th scope="row"><legend><?php _e('Thumbnail size') ?></legend></th> 47 47 <td> 48 48 <label for="thumbnail_size_w"><?php _e('Width'); ?></label> 49 49 <input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" size="6" /> … … 51 51 <input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" size="6" /><br /> 52 52 <input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/> 53 53 <label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label> 54 </td> 54 </td></fieldset> 55 55 </tr> 56 56 <tr valign="top"> 57 < th scope="row"><?php _e('Medium size') ?></th>57 <fieldset><th scope="row"><legend><?php _e('Medium size') ?></legend></th> 58 58 <td> 59 59 <label for="medium_size_w"><?php _e('Max Width'); ?></label> 60 60 <input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" /> 61 61 <label for="medium_size_h"><?php _e('Max Height'); ?></label> 62 62 <input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" /> 63 </td> 63 </td></fieldset> 64 64 </tr> 65 65 </table> 66 66 -
wp-admin/options-permalink.php
170 170 171 171 <table class="form-table"> 172 172 <tr> 173 <th>< ?php _e('Category base'); ?></th>173 <th><label for="category_base"><?php _e('Category base'); ?></label></th> 174 174 <td><input name="category_base" id="category_base" type="text" class="code" value="<?php echo attribute_escape($category_base); ?>" size="30" /></td> 175 175 </tr> 176 176 <tr> 177 <th>< ?php _e('Tag base'); ?></th>177 <th><label for="tag_base"><?php _e('Tag base'); ?></label></th> 178 178 <td><input name="tag_base" id="tag_base" type="text" class="code" value="<?php echo attribute_escape($tag_base); ?>" size="30" /></td> 179 179 </tr> 180 180 </table> -
wp-admin/options-privacy.php
13 13 <?php wp_nonce_field('update-options') ?> 14 14 <table class="form-table"> 15 15 <tr valign="top"> 16 < th scope="row"><?php _e('Blog Visibility') ?></th>16 <fieldset><th scope="row"><legend><?php _e('Blog Visibility') ?> </legend></th> 17 17 <td> 18 18 <p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> /> 19 19 <label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p> 20 20 <p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> /> 21 21 <label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label></p> 22 22 <?php do_action('blog_privacy_selector'); ?> 23 </td> 23 </td></fieldset> 24 24 </tr> 25 25 </table> 26 26 -
wp-admin/options-reading.php
14 14 <table class="form-table"> 15 15 <?php if ( get_pages() ): ?> 16 16 <tr valign="top"> 17 < th scope="row"><?php _e('Front page displays')?></th>17 <fieldset><th scope="row"><legend><?php _e('Front page displays')?></legend></th> 18 18 <td> 19 19 <p><label> 20 20 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> /> … … 37 37 </p> 38 38 </div> 39 39 <?php endif; ?> 40 </td> 40 </td></fieldset> 41 41 </tr> 42 42 <?php endif; ?> 43 43 <tr valign="top"> 44 <th scope="row">< ?php _e('Blog pages show at most') ?></th>44 <th scope="row"><label for="posts_per_page"><?php _e('Blog pages show at most') ?></label></th> 45 45 <td> 46 46 <input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" /> <?php _e('posts') ?> 47 47 </td> 48 48 </tr> 49 49 <tr valign="top"> 50 <th scope="row">< ?php _e('Syndication feeds show the most recent') ?></th>50 <th scope="row"><label for="posts_per_rss"><?php _e('Syndication feeds show the most recent') ?></label></th> 51 51 <td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option('posts_per_rss'); ?>" size="3" /> <?php _e('posts') ?></td> 52 52 </tr> 53 53 <tr valign="top"> 54 < th scope="row"><?php _e('For each article in a feed, show') ?></th>54 <fieldset><th scope="row"><legend><?php _e('For each article in a feed, show') ?> </legend></th> 55 55 <td> 56 56 <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 /> 57 57 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p> 58 </td> 58 </td></fieldset> 59 59 </tr> 60 60 61 61 <tr valign="top"> 62 <th scope="row">< ?php _e('Encoding for pages and feeds') ?></th>62 <th scope="row"><label for="blog_charset"><?php _e('Encoding for pages and feeds') ?></label></th> 63 63 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" size="20" class="code" /><br /> 64 64 <?php _e('The character encoding you write your blog in (UTF-8 is <a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html">recommended</a>)') ?></td> 65 65 </tr> -
wp-admin/options-writing.php
14 14 15 15 <table class="form-table"> 16 16 <tr valign="top"> 17 <th scope="row"> <?php _e('Size of the post box') ?></th>17 <th scope="row"><label for="default_post_edit_rows"> <?php _e('Size of the post box') ?></label></th> 18 18 <td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" size="2" style="width: 1.5em;" /> 19 19 <?php _e('lines') ?></td> 20 20 </tr> 21 21 <tr valign="top"> 22 < th scope="row"><?php _e('Formatting') ?></th>22 <fieldset><th scope="row"><legend><?php _e('Formatting') ?></legend></th> 23 23 <td> 24 24 <label for="use_smilies"> 25 25 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> /> 26 26 <?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br /> 27 27 <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> 28 </td> 28 </td></fieldset> 29 29 </tr> 30 30 <tr valign="top"> 31 <th scope="row">< ?php _e('Default Post Category') ?></th>31 <th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th> 32 32 <td><select name="default_category" id="default_category"> 33 33 <?php 34 34 $categories = get_categories('get=all'); … … 42 42 </select></td> 43 43 </tr> 44 44 <tr valign="top"> 45 <th scope="row">< ?php _e('Default Link Category') ?></th>45 <th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th> 46 46 <td><select name="default_link_category" id="default_link_category"> 47 47 <?php 48 48 $link_categories = get_terms('link_category', 'get=all'); … … 62 62 63 63 <table class="form-table"> 64 64 <tr valign="top"> 65 <th scope="row">< ?php _e('Mail Server') ?></th>65 <th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th> 66 66 <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" /> 67 67 <label for="mailserver_port"><?php _e('Port') ?></label> 68 68 <input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" size="6" /> 69 69 </td> 70 70 </tr> 71 71 <tr valign="top"> 72 <th scope="row">< ?php _e('Login Name') ?></th>72 <th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></th> 73 73 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" size="40" /></td> 74 74 </tr> 75 75 <tr valign="top"> 76 <th scope="row">< ?php _e('Password') ?></th>76 <th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></th> 77 77 <td> 78 78 <input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" size="40" /> 79 79 </td> 80 80 </tr> 81 81 <tr valign="top"> 82 <th scope="row">< ?php _e('Default Mail Category') ?></th>82 <th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th> 83 83 <td><select name="default_email_category" id="default_email_category"> 84 84 <?php 85 85 //Alreay have $categories from default_category … … 98 98 99 99 <?php if ( get_option('blog_public') ) : ?> 100 100 101 <p>< ?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></p>101 <p><label for="ping_sites"><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></label></p> 102 102 103 103 <textarea name="ping_sites" id="ping_sites" style="width: 98%;" rows="3" cols="50"><?php form_option('ping_sites'); ?></textarea> 104 104 -
wp-admin/options.php
73 73 } 74 74 echo " 75 75 <tr> 76 <th scope='row'> $option->option_name</th>76 <th scope='row'><label for='$option->option_name'>$option->option_name</label></th> 77 77 <td>"; 78 78 79 79 if (strpos($value, "\n") !== false) echo "<textarea class='$class' name='$option->option_name' id='$option->option_name' cols='30' rows='5'>" . wp_specialchars($value) . "</textarea>"; -
wp-admin/setup-config.php
68 68 <p>Below you should enter your database connection details. If you're not sure about these, contact your host. </p> 69 69 <table class="form-table"> 70 70 <tr> 71 <th scope="row"> Database Name</th>72 <td><input name="dbname" type="text" size="25" value="wordpress" /></td>71 <th scope="row"><label for="dbname">Database Name</label></th> 72 <td><input name="dbname" id="dbname" type="text" size="25" value="wordpress" /></td> 73 73 <td>The name of the database you want to run WP in. </td> 74 74 </tr> 75 75 <tr> 76 <th scope="row"> User Name</th>77 <td><input name="uname" type="text" size="25" value="username" /></td>76 <th scope="row"><label for="uname">User Name</label></th> 77 <td><input name="uname" id="uname" type="text" size="25" value="username" /></td> 78 78 <td>Your MySQL username</td> 79 79 </tr> 80 80 <tr> 81 <th scope="row"> Password</th>82 <td><input name="pwd" type="text" size="25" value="password" /></td>81 <th scope="row"><label for="pwd">Password</label></th> 82 <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td> 83 83 <td>...and MySQL password.</td> 84 84 </tr> 85 85 <tr> 86 <th scope="row"> Database Host</th>87 <td><input name="dbhost" type="text" size="25" value="localhost" /></td>86 <th scope="row"><label for="dbhost">Database Host</label></th> 87 <td><input name="dbhost" id="dbhost" type="text" size="25" value="localhost" /></td> 88 88 <td>99% chance you won't need to change this value.</td> 89 89 </tr> 90 90 <tr> 91 <th scope="row"> Table Prefix</th>92 <td><input name="prefix" type="text" id="prefix" value="wp_" size="25" /></td>91 <th scope="row"><label for="prefix">Table Prefix</label></th> 92 <td><input name="prefix" id="prefix" type="text" id="prefix" value="wp_" size="25" /></td> 93 93 <td>If you want to run multiple WordPress installations in a single database, change this.</td> 94 94 </tr> 95 95 </table> -
wp-admin/sidebar.php
60 60 <input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" /> 61 61 <input type="hidden" name="mode" value="sidebar" /> 62 62 <?php wp_nonce_field('add-post'); ?> 63 <p>< ?php _e('Title:'); ?>64 <input type="text" name="post_title" size="20" tabindex="1" style="width: 100%;" />63 <p><label for="post_title"><?php _e('Title:'); ?></label> 64 <input type="text" name="post_title" id="post_title" size="20" tabindex="1" style="width: 100%;" /> 65 65 </p> 66 66 <p><?php _e('Categories:'); ?> 67 67 <span class="sidebar-categories"> … … 69 69 </span> 70 70 </p> 71 71 <p> 72 Post: 73 <textarea rows="8" cols="12" style="width: 100%" name="content" tabindex="2"></textarea>72 <label for="content">Post:</label> 73 <textarea rows="8" cols="12" style="width: 100%" name="content" id="content" tabindex="2"></textarea> 74 74 </p> 75 75 <p> 76 76 <input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft'); ?>" /> -
wp-admin/theme-editor.php
92 92 <div class="bordertitle"> 93 93 <h2><?php _e('Theme Editor'); ?></h2> 94 94 <form id="themeselector" name="theme" action="theme-editor.php" method="post"> 95 <strong>< ?php _e('Select theme to edit:'); ?></strong>95 <strong><label for="theme"><?php _e('Select theme to edit:'); ?> </label></strong> 96 96 <select name="theme" id="theme"> 97 97 <?php 98 98 foreach ($themes as $a_theme) { -
wp-admin/update.php
45 45 <p><?php _e('To perform the requested update, FTP connection information is required.') ?></p> 46 46 <table class="form-table"> 47 47 <tr valign="top"> 48 <th scope="row">< ?php _e('Hostname:') ?></th>48 <th scope="row"><label for="hostname"><?php _e('Hostname:') ?></label></th> 49 49 <td><input name="hostname" type="text" id="hostname" value="<?php echo attribute_escape($hostname) ?>"<?php if( defined('FTP_HOST') ) echo ' disabled="disabled"' ?> size="40" /></td> 50 50 </tr> 51 51 <tr valign="top"> 52 <th scope="row">< ?php _e('Username:') ?></th>52 <th scope="row"><label for="username"><?php _e('Username:') ?></label></th> 53 53 <td><input name="username" type="text" id="username" value="<?php echo attribute_escape($username) ?>"<?php if( defined('FTP_USER') ) echo ' disabled="disabled"' ?> size="40" /></td> 54 54 </tr> 55 55 <tr valign="top"> 56 <th scope="row">< ?php _e('Password:') ?></th>56 <th scope="row"><label for="password"><?php _e('Password:') ?></label></th> 57 57 <td><input name="password" type="password" id="password" value=""<?php if( defined('FTP_PASS') ) echo ' disabled="disabled"' ?> size="40" /><?php if( defined('FTP_PASS') && !empty($password) ) echo '<em>'.__('(Password not shown)').'</em>'; ?></td> 58 58 </tr> 59 59 <tr valign="top"> 60 <th scope="row">< ?php _e('Use SSL:') ?></th>60 <th scope="row"><label for="ssl"><?php _e('Use SSL:') ?></label></th> 61 61 <td> 62 62 <select name="ssl" id="ssl"<?php if( defined('FTP_SSL') ) echo ' disabled="disabled"' ?>> 63 63 <?php -
wp-admin/upload.php
125 125 ?> 126 126 127 127 <p id="post-search"> 128 <label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label> 128 129 <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 129 130 <input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button" /> 130 131 </p> -
wp-admin/user-edit.php
161 161 </tr> 162 162 <?php endif; ?> 163 163 <tr> 164 < th scope="row"><?php _e('Admin Color Scheme')?></th>164 <fieldset><th scope="row"><legend><?php _e('Admin Color Scheme')?></legend></th> 165 165 <td> 166 166 <?php 167 167 $current_color = get_user_option('admin_color'); … … 181 181 <label for="admin_color_<?php echo $color; ?>"><?php echo $color_info->name ?></label> 182 182 </div> 183 183 <?php endforeach; ?> 184 </td> 184 </td></fieldset> 185 185 </tr> 186 186 </table> 187 187 -
wp-admin/users.php
145 145 ?> 146 146 </ul> 147 147 <?php if ( $go_delete ) : ?> 148 < p><?php _e('What should be done with posts and links owned by this user?'); ?></p>148 <fieldset><p><legend><?php _e('What should be done with posts and links owned by this user?'); ?></legend></p> 149 149 <ul style="list-style:none;"> 150 150 <li><label><input type="radio" id="delete_option0" name="delete_option" value="delete" checked="checked" /> 151 151 <?php _e('Delete all posts and links.'); ?></label></li> 152 152 <li><input type="radio" id="delete_option1" name="delete_option" value="reassign" /> 153 153 <?php echo '<label for="delete_option1">'.__('Attribute all posts and links to:')."</label> $user_dropdown"; ?></li> 154 </ul> 154 </ul></fieldset> 155 155 <input type="hidden" name="action" value="dodelete" /> 156 156 <p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" class="button-secondary" /></p> 157 157 <?php else : ?> … … 287 287 ?> 288 288 </ul> 289 289 <p id="post-search"> 290 <label class="hidden" for="post-search-input"><?php _e( 'Search Users' ); ?>:</label> 290 291 <input type="text" id="post-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" /> 291 292 <input type="submit" value="<?php _e( 'Search Users' ); ?>" class="button" /> 292 293 </p> … … 403 404 <?php wp_nonce_field('add-user') ?> 404 405 <table class="form-table"> 405 406 <tr class="form-field form-required"> 406 <th scope="row">< ?php _e('Username (required)') ?><input name="action" type="hidden" id="action" value="adduser" /></th>407 <th scope="row"><label for="user_login"><?php _e('Username (required)') ?></label><input name="action" type="hidden" id="action" value="adduser" /></th> 407 408 <td ><input name="user_login" type="text" id="user_login" value="<?php echo $new_user_login; ?>" /></td> 408 409 </tr> 409 410 <tr class="form-field"> 410 <th scope="row">< ?php _e('First Name') ?></th>411 <th scope="row"><label for="first_name"><?php _e('First Name') ?> </label></th> 411 412 <td><input name="first_name" type="text" id="first_name" value="<?php echo $new_user_firstname; ?>" /></td> 412 413 </tr> 413 414 <tr class="form-field"> 414 <th scope="row">< ?php _e('Last Name') ?></th>415 <th scope="row"><label for="last_name"><?php _e('Last Name') ?> </label></th> 415 416 <td><input name="last_name" type="text" id="last_name" value="<?php echo $new_user_lastname; ?>" /></td> 416 417 </tr> 417 418 <tr class="form-field form-required"> 418 <th scope="row">< ?php _e('E-mail (required)') ?></th>419 <th scope="row"><label for="email"><?php _e('E-mail (required)') ?></label></th> 419 420 <td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td> 420 421 </tr> 421 422 <tr class="form-field"> 422 <th scope="row">< ?php _e('Website') ?></th>423 <th scope="row"><label for="url"><?php _e('Website') ?></label></th> 423 424 <td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td> 424 425 </tr> 425 426 426 427 <?php if ( apply_filters('show_password_fields', true) ) : ?> 427 428 <tr class="form-field form-required"> 428 <th scope="row">< ?php _e('Password (twice)') ?></th>429 <th scope="row"><label for="pass1"><?php _e('Password (twice)') ?> </label></th> 429 430 <td><input name="pass1" type="password" id="pass1" /> 430 431 <br /> 431 432 <input name="pass2" type="password" id="pass2" /></td> … … 433 434 <?php endif; ?> 434 435 435 436 <tr class="form-field"> 436 <th scope="row">< ?php _e('Role'); ?></th>437 <th scope="row"><label for="role"><?php _e('Role'); ?></label></th> 437 438 <td><select name="role" id="role"> 438 439 <?php 439 440 if ( !$new_user_role ) -
wp-admin/widgets.php
232 232 233 233 <h2><?php _e( 'Widgets' ); ?></h2> 234 234 <p id="widget-search"> 235 <label class="hidden" for="widget-search-input"><?php _e( 'Search Widgets' ); ?>:</label> 235 236 <input type="text" id="widget-search-input" name="s" value="<?php echo attribute_escape( $widget_search ); ?>" /> 236 237 <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" /> 237 238 </p> 238 239 239 240 <div class="widget-liquid-left-holder"> 240 241 <div id="available-widgets-filter" class="widget-liquid-left"> 241 <h3>< ?php _e('Available Widgets'); ?></h3>242 <h3><label for="show"><?php _e('Available Widgets'); ?></label></h3> 242 243 <div class="nav"> 243 <select name="show" >244 <select name="show" id="show"> 244 245 <?php foreach ( $show_values as $show_value => $show_text ) : $show_value = attribute_escape( $show_value ); ?> 245 246 <option value='<?php echo $show_value; ?>'<?php selected( $show_value, $show ); ?>><?php echo wp_specialchars( $show_text ); ?></option> 246 247 <?php endforeach; ?> … … 254 255 </div> 255 256 256 257 <div id="available-sidebars" class="widget-liquid-right"> 257 <h3>< ?php _e('Current Widgets'); ?></h3>258 <h3><label for="sidebar-selector"><?php _e('Current Widgets'); ?></label></h3> 258 259 259 260 <div class="nav"> 260 261 <select id="sidebar-selector" name="sidebar"> -
wp-admin/wp-admin.css
1503 1503 table.diff .diff-deletedline del, table.diff .diff-addedline ins { 1504 1504 text-decoration: none; 1505 1505 } 1506 1507 fieldset { 1508 border: 0; 1509 } -
wp-content/themes/default/searchform.php
1 1 <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> 2 <label class="hidden" for="s"><?php _e('Search for:'); ?></label> 2 3 <div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> 3 4 <input type="submit" id="searchsubmit" value="Search" /> 4 5 </div> -
wp-content/themes/default/style.css
616 616 text-align: center; 617 617 } 618 618 619 .hidden { 620 display: none; 621 } 622 619 623 hr { 620 624 display: none; 621 625 } -
wp-includes/widgets.php
461 461 <?php echo $before_widget; ?> 462 462 <form id="searchform" method="get" action="<?php bloginfo('home'); ?>"> 463 463 <div> 464 <label class="hidden" for="s"><?php _e('Search for:'); ?></label> 464 465 <input type="text" name="s" id="s" size="15" /><br /> 465 466 <input type="submit" value="<?php echo attribute_escape(__('Search')); ?>" /> 466 467 </div>