Changeset 528
- Timestamp:
- 11/06/2003 07:48:53 AM (22 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
wp-edit.form.php (modified) (3 diffs)
-
wp-post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/wp-edit.form.php
r525 r528 29 29 } 30 30 $colspan = 3; 31 $saveasdraft = '<input name="save" type="submit" id="save" tabindex="6" value="Save and Continue Editing" />'; 31 32 break; 32 33 case "edit": … … 186 187 if ($use_quicktags) { 187 188 ?> 188 <script language="JavaScript">189 <script type="text/javascript" language="JavaScript"> 189 190 <!-- 190 191 edCanvas = document.getElementById('content'); … … 211 212 <?php echo $form_prevstatus ?> 212 213 213 <p>< input type="submit" name="submit" value="<?php echo $submitbutton_text ?>" style="font-weight: bold;" tabindex="6" />214 <p><?php echo $saveasdraft; ?> <input type="submit" name="submit" value="<?php echo $submitbutton_text ?>" style="font-weight: bold;" tabindex="6" /> 214 215 <input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" /> 215 216 </p> -
trunk/wp-admin/wp-post.php
r527 r528 82 82 $now = date('Y-m-d H:i:s', (time() + ($time_difference * 3600))); 83 83 } 84 85 if ('' != $HTTP_POST_VARS['save']) $post_status = 'draft'; 84 86 85 87 if((get_settings('use_geo_positions')) && (strlen($latstr) > 2) && (strlen($lonstr) > 2) ) { … … 146 148 $location = 'wp-post.php'; 147 149 } 150 151 if ('' != $HTTP_POST_VARS['save']) $location = "wp-post.php?action=edit&post=$post_ID"; 148 152 header("Location: $location"); 149 153 exit();
Note: See TracChangeset
for help on using the changeset viewer.