Changeset 1106 for trunk/wp-admin/edit-form.php
- Timestamp:
- 04/20/2004 04:15:18 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form.php
r956 r1106 5 5 $allowed_users = explode(" ", trim(get_settings('fileupload_allowedusers'))); 6 6 7 $submitbutton_text = 'Blog this!';8 $toprow_title = 'New Post';7 $submitbutton_text = __('Blog this!'); 8 $toprow_title = __('New Post'); 9 9 $form_action = 'post'; 10 10 $form_extra = ''; … … 12 12 $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" '; 13 13 if ($post_pingback) $form_pingback .= 'checked="checked" '; 14 $form_pingback .= 'tabindex="7" id="pingback" /> <label for="pingback"> <strong>PingBack</strong> the <acronym title="Uniform Resource Locators">URL</acronym>s in this post</label> <a href="http://wordpress.org/docs/reference/post/#pingback" title="Help on Pingbacks">?</a><br />';14 $form_pingback .= 'tabindex="7" id="pingback" /> <label for="pingback">' . sprintf(__('<strong>PingBack</strong> the <acronym title="Uniform Resource Locators">URL</acronym>s in this post</label> <a href="%s" title="Help on Pingbacks">?</a><br />'), 'http://wordpress.org/docs/reference/post/#pingback'); 15 15 } else { 16 16 $form_pingback = ''; 17 17 } 18 18 if (get_settings('use_trackback')) { 19 $form_trackback = '<p><label for="trackback"> <a href="http://wordpress.org/docs/reference/post/#trackback" title="Help on trackbacks"><strong>TrackBack</strong> an <acronym title="Uniform Resource Locator">URL</acronym></a>:</label> (Separate multiple <acronym title="Uniform Resource Locator">URL</acronym>s with spaces.)<br />20 <input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>';19 $form_trackback = '<p><label for="trackback">' . sprintf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> an <acronym title="Uniform Resource Locator">URL</acronym></a>:</label> (Separate multiple <acronym title="Uniform Resource Locator">URL</acronym>s with spaces.)<br />'), 'http://wordpress.org/docs/reference/post/#trackback') . 20 '<input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>'; 21 21 if ('' != $pinged) { 22 $form_trackback .= '<p> Already pinged:</p><ul>';22 $form_trackback .= '<p>' . __('Already pinged:') . '</p><ul>'; 23 23 $already_pinged = explode("\n", trim($pinged)); 24 24 foreach ($already_pinged as $pinged_url) { … … 62 62 <div id="poststuff"> 63 63 <fieldset id="titlediv"> 64 <legend><a href="http://wordpress.org/docs/reference/post/#title" title=" Help on titles">Title</a></legend>64 <legend><a href="http://wordpress.org/docs/reference/post/#title" title="<?php _e('Help on titles') ?>"><?php _e('Title') ?></a></legend> 65 65 <div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo $edited_post_title; ?>" id="title" /></div> 66 66 </fieldset> 67 67 68 68 <fieldset id="categorydiv"> 69 <legend><a href="http://wordpress.org/docs/reference/post/#category" title=" Help on categories">Categories</a></legend>69 <legend><a href="http://wordpress.org/docs/reference/post/#category" title="<?php _e('Help on categories') ?>"><?php _e('Categories') ?></a></legend> 70 70 <div><?php dropdown_categories($default_post_cat); ?></div> 71 71 </fieldset> … … 73 73 <br /> 74 74 <fieldset id="postdiv"> 75 <legend><a href="http://wordpress.org/docs/reference/post/#post" title="Help with post field">Post</a></legend>75 <legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with post field') ?>"><?php _e('Post') ?></a></legend> 76 76 <div id="quicktags"> 77 77 <?php 78 78 if (get_settings('use_quicktags') && 'bookmarklet' != $mode) { 79 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title=" Help with quicktags">Quicktags</a>: ';79 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="' . __('Help with quicktags') . '">' . __('Quicktags') . '</a>: '; 80 80 include('quicktags.php'); 81 81 } … … 104 104 <?php echo $form_prevstatus ?> 105 105 <?php echo $form_trackback; ?> 106 <p><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value=" Save as Draft" />107 <input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value=" Save as Private" />108 <input name="publish" type="submit" id="publish" tabindex="6" style="font-weight: bold;" value=" Publish" />106 <p><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft') ?>" /> 107 <input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value="<?php _e('Save as Private') ?>" /> 108 <input name="publish" type="submit" id="publish" tabindex="6" style="font-weight: bold;" value="<?php _e('Publish') ?>" /> 109 109 <?php if ('bookmarklet' != $mode) { 110 echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value=" Advanced Editing »" />';110 echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing »') . '" />'; 111 111 } ?> 112 112 <input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" />
Note: See TracChangeset
for help on using the changeset viewer.