[wp-cvs] wordpress/wp-admin edit-page-form.php,1.7,1.8
Ryan Boren
rboren at users.sourceforge.net
Thu Oct 28 04:01:53 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22080
Modified Files:
edit-page-form.php
Log Message:
Make button save "Save Page" instead of "Create New Page" when editing an existing page.
Index: edit-page-form.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/edit-page-form.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** edit-page-form.php 6 Oct 2004 05:11:09 -0000 1.7
--- edit-page-form.php 28 Oct 2004 04:01:51 -0000 1.8
***************
*** 77,81 ****
<p class="submit">
! <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php _e('Create New Page') ?> »" />
<input name="referredby" type="hidden" id="referredby" value="<?php if (isset($_SERVER['HTTP_REFERER'])) echo htmlspecialchars($_SERVER['HTTP_REFERER']); ?>" />
</p>
--- 77,81 ----
<p class="submit">
! <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e('Edit Page') :_e('Create New Page') ?> »" />
<input name="referredby" type="hidden" id="referredby" value="<?php if (isset($_SERVER['HTTP_REFERER'])) echo htmlspecialchars($_SERVER['HTTP_REFERER']); ?>" />
</p>
More information about the cvs
mailing list