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

git-svn-id: http://svn.automattic.com/wordpress/trunk@1836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-10-28 04:01:51 +00:00
parent 7815372fc7
commit 60263c83d9
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ edCanvas = document.getElementById('content');
</script> </script>
<p class="submit"> <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']); ?>" /> <input name="referredby" type="hidden" id="referredby" value="<?php if (isset($_SERVER['HTTP_REFERER'])) echo htmlspecialchars($_SERVER['HTTP_REFERER']); ?>" />
</p> </p>