Ticket #3696: 3696.diff
File 3696.diff, 10.4 KB (added by , 17 years ago) |
---|
-
wp-admin/edit-page-form.php
163 163 $uploading_iframe_src = wp_nonce_url("upload.php?style=inline&tab=upload&post_id=$uploading_iframe_ID", 'inlineuploading'); 164 164 $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); 165 165 if ( false != $uploading_iframe_src ) 166 echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';166 echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>'; 167 167 } 168 168 ?> 169 169 -
wp-admin/edit-link-form.php
80 80 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 81 81 <tr> 82 82 <th scope="row" valign="top"><label for="link_name"><?php _e('Name:') ?></label></th> 83 <td><input type="text" name="link_name" value="<?php echo $link->link_name; ?>" style="width: 95%" /></td>83 <td><input type="text" name="link_name" id="link_name" value="<?php echo $link->link_name; ?>" style="width: 95%" /></td> 84 84 </tr> 85 85 <tr> 86 86 <th width="20%" scope="row" valign="top"><label for="link_url"><?php _e('Address:') ?></label></th> 87 <td width="80%"><input type="text" name="link_url" value="<?php echo $link->link_url; if ( empty( $link->link_url ) ) echo 'http://'; ?>" style="width: 95%" /></td>87 <td width="80%"><input type="text" name="link_url" id="link_url" value="<?php echo $link->link_url; if ( empty( $link->link_url ) ) echo 'http://'; ?>" style="width: 95%" /></td> 88 88 </tr> 89 89 <tr> 90 90 <th scope="row" valign="top"><label for="link_description"><?php _e('Description:') ?></label></th> 91 <td><input type="text" name="link_description" value="<?php echo $link->link_description; ?>" style="width: 95%" /></td>91 <td><input type="text" name="link_description" id="link_description" value="<?php echo $link->link_description; ?>" style="width: 95%" /></td> 92 92 </tr> 93 93 </table> 94 94 -
wp-admin/edit-form-advanced.php
194 194 $uploading_iframe_src = wp_nonce_url("upload.php?style=inline&tab=upload&post_id=$uploading_iframe_ID", 'inlineuploading'); 195 195 $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); 196 196 if ( false != $uploading_iframe_src ) 197 echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';197 echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>'; 198 198 } 199 199 ?> 200 200 -
wp-admin/edit.php
76 76 <form name="searchform" id="searchform" action="" method="get"> 77 77 <fieldset> 78 78 <legend><?php _e('Search Posts…') ?></legend> 79 <input type="text" name="s" value="<?php if (isset($s)) echo attribute_escape($s); ?>" size="17" />79 <input type="text" name="s" id="s" value="<?php if (isset($s)) echo attribute_escape($s); ?>" size="17" /> 80 80 <input type="submit" name="submit" value="<?php _e('Search') ?>" class="button" /> 81 81 </fieldset> 82 82 </form> -
wp-admin/profile.php
46 46 </label></p> 47 47 48 48 <p><label><?php _e('First name:') ?><br /> 49 <input type="text" name="first_name" value="<?php echo $profileuser->first_name ?>" /></label></p>49 <input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" /></label></p> 50 50 51 51 <p><label><?php _e('Last name:') ?><br /> 52 <input type="text" name="last_name" value="<?php echo $profileuser->last_name ?>" /></label></p>52 <input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" /></label></p> 53 53 54 54 <p><label><?php _e('Nickname:') ?><br /> 55 <input type="text" name="nickname" value="<?php echo $profileuser->nickname ?>" /></label></p>55 <input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" /></label></p> 56 56 57 57 <p><label><?php _e('Display name publicly as:') ?> <br /> 58 <select name="display_name" >58 <select name="display_name" id="display_name"> 59 59 <option value="<?php echo $profileuser->display_name; ?>"><?php echo $profileuser->display_name; ?></option> 60 60 <option value="<?php echo $profileuser->nickname ?>"><?php echo $profileuser->nickname ?></option> 61 61 <option value="<?php echo $profileuser->user_login ?>"><?php echo $profileuser->user_login ?></option> … … 76 76 <legend><?php _e('Contact Info'); ?></legend> 77 77 78 78 <p><label><?php _e('E-mail: (required)') ?><br /> 79 <input type="text" name="email" value="<?php echo $profileuser->user_email ?>" /></label></p>79 <input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" /></label></p> 80 80 81 81 <p><label><?php _e('Website:') ?><br /> 82 <input type="text" name="url" value="<?php echo $profileuser->user_url ?>" />82 <input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" /> 83 83 </label></p> 84 84 85 85 <p><label><?php _e('AIM:') ?><br /> 86 <input type="text" name="aim" value="<?php echo $profileuser->aim ?>" />86 <input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" /> 87 87 </label></p> 88 88 89 89 <p><label><?php _e('Yahoo IM:') ?><br /> 90 <input type="text" name="yim" value="<?php echo $profileuser->yim ?>" />90 <input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" /> 91 91 </label></p> 92 92 93 93 <p><label><?php _e('Jabber / Google Talk:') ?><br /> 94 <input type="text" name="jabber" value="<?php echo $profileuser->jabber ?>" /></label>94 <input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" /></label> 95 95 </p> 96 96 </fieldset> 97 97 <br clear="all" /> 98 98 <fieldset> 99 99 <legend><?php _e('About Yourself'); ?></legend> 100 100 <p class="desc"><?php _e('Share a little biographical information. '); ?></p> 101 <p><textarea name="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p>101 <p><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p> 102 102 </fieldset> 103 103 104 104 <?php … … 109 109 <legend><?php _e('Update Your Password'); ?></legend> 110 110 <p class="desc"><?php _e('If you would like to change your password type a new one twice below. Otherwise leave this blank.'); ?></p> 111 111 <p><label><?php _e('New Password:'); ?><br /> 112 <input type="password" name="pass1" size="16" value="" />112 <input type="password" name="pass1" id="pass1" size="16" value="" /> 113 113 </label></p> 114 114 <p><label><?php _e('Type it one more time:'); ?><br /> 115 <input type="password" name="pass2" size="16" value="" />115 <input type="password" name="pass2" id="pass2" size="16" value="" /> 116 116 </label></p> 117 117 </fieldset> 118 118 <?php endif; ?> -
wp-admin/options-permalink.php
166 166 <p><?php _e('If you like, you may enter a custom prefix for your category <abbr title="Universal Resource Locator">URL</abbr>s here. For example, <code>/index.php/taxonomy/tags</code> would make your category links like <code>http://example.org/index.php/taxonomy/tags/uncategorized/</code>. If you leave this blank the default will be used.') ?></p> 167 167 <?php endif; ?> 168 168 <p> 169 <?php _e('Category base'); ?>: <input name="category_base" type="text" class="code" value="<?php echo attribute_escape($category_base); ?>" size="30" />169 <?php _e('Category base'); ?>: <input name="category_base" id="category_base" type="text" class="code" value="<?php echo attribute_escape($category_base); ?>" size="30" /> 170 170 </p> 171 171 <p> 172 <?php _e('Tag base'); ?>: <input name="tag_base" type="text" class="code" value="<?php echo attribute_escape($tag_base); ?>" size="30" />172 <?php _e('Tag base'); ?>: <input name="tag_base" id="tag_base" type="text" class="code" value="<?php echo attribute_escape($tag_base); ?>" size="30" /> 173 173 </p> 174 174 <p class="submit"> 175 175 <input type="submit" name="submit" value="<?php _e('Update Permalink Structure »') ?>" /> … … 179 179 <p><?php _e('If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Make_a_Directory_Writable">writable</a>, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.') ?></p> 180 180 <form action="options-permalink.php" method="post"> 181 181 <?php wp_nonce_field('update-permalink') ?> 182 <p> 183 <textarea rows="5" style="width: 98%;" name="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?> 184 </textarea> 185 </p> 182 <p><textarea rows="5" style="width: 98%;" name="rules" id="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?></textarea></p> 186 183 </form> 187 184 <?php endif; ?> 188 185 -
wp-admin/edit-pages.php
10 10 <h2><?php _e('Page Management'); ?></h2> 11 11 <p><?php _e('Pages are like posts except they live outside of the normal blog chronology and can be hierarchical. You can use pages to organize and manage any amount of content.'); ?> <a href="page-new.php"><?php _e('Create a new page »'); ?></a></p> 12 12 13 <form name="searchform" action="" method="get">13 <form name="searchform" id="searchform" action="" method="get"> 14 14 <fieldset> 15 15 <legend><?php _e('Search Pages…') ?></legend> 16 <input type="text" name="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" />16 <input type="text" name="s" id="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" /> 17 17 <input type="submit" name="submit" value="<?php _e('Search') ?>" /> 18 18 </fieldset> 19 19 </form>