Bringing save button back to top of all option pages.

git-svn-id: https://develop.svn.wordpress.org/trunk@9149 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2008-10-14 01:18:52 +00:00
parent 028cee6d66
commit 34c8402f01
8 changed files with 64 additions and 18 deletions
+9 -1
View File
@@ -125,6 +125,12 @@ else
<div class="wrap">
<form name="form" action="options-permalink.php" method="post">
<?php wp_nonce_field('update-permalink') ?>
<p class="submit">
<input type="submit" name="submit" class="button" value="<?php _e('Save Changes') ?>" />
</p>
<p><?php _e('By default WordPress uses web <abbr title="Universal Resource Locator">URL</abbr>s which have question marks and lots of numbers in them, however WordPress offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links. A <a href="http://codex.wordpress.org/Using_Permalinks">number of tags are available</a>, and here are some examples to get you started.'); ?></p>
<?php
@@ -195,7 +201,9 @@ $structures = array(
<?php do_settings_sections('permalink'); ?>
<p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Save Changes') ?>" /></p>
<p class="submit">
<input type="submit" name="submit" class="button" value="<?php _e('Save Changes') ?>" />
</p>
</form>
<?php if ( $permalink_structure && !$usingpi && !$writable ) : ?>
<p><?php _e('If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Changing_File_Permissions">writable</a>, we could do this automatically, but it isn&#8217;t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.') ?></p>