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:
parent
7815372fc7
commit
60263c83d9
|
@ -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') ?> »" />
|
<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']); ?>" />
|
<input name="referredby" type="hidden" id="referredby" value="<?php if (isset($_SERVER['HTTP_REFERER'])) echo htmlspecialchars($_SERVER['HTTP_REFERER']); ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue