Make button save "Save Page" instead of "Create New Page" when editing an existing page.

git-svn-id: https://develop.svn.wordpress.org/trunk@1836 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-10-28 04:01:51 +00:00
parent 00d3226b7b
commit 31023dd15b
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ edCanvas = document.getElementById('content');
</script>
<p class="submit">
<input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php _e('Create New Page') ?> &raquo;" />
<input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e('Edit Page') :_e('Create New Page') ?> &raquo;" />
<input name="referredby" type="hidden" id="referredby" value="<?php if (isset($_SERVER['HTTP_REFERER'])) echo htmlspecialchars($_SERVER['HTTP_REFERER']); ?>" />
</p>