Make WordPress Core


Ignore:
Timestamp:
08/30/2005 11:06:04 PM (19 years ago)
Author:
matt
Message:

Fixes #972 for 1.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r2804 r2826  
    137137
    138138<p class="submit">
    139   <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e('Edit Page') :_e('Create New Page') ?> &raquo;" />
    140   <input name="referredby" type="hidden" id="referredby" value="<?php echo $sendto; ?>" />
     139<?php if ( $post_ID ) : ?>
     140<input name="save" type="submit" id="save" tabindex="5" value=" <?php _e('Save and Continue Editing'); ?> "/>
     141<input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e('Edit Page') : _e('Create New Page') ?> &raquo;" />
     142<?php else : ?>
     143<input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php _e('Create New Page') ?> &raquo;" />
     144<?php endif; ?>
     145<input name="referredby" type="hidden" id="referredby" value="<?php echo $sendto; ?>" />
    141146</p>
    142147
Note: See TracChangeset for help on using the changeset viewer.