Style the submit button on options group and add updated message to permalink page.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-04-28 04:56:29 +00:00
parent 95a1e1d28f
commit a77e7172dc
2 changed files with 5 additions and 10 deletions

View File

@ -30,16 +30,16 @@ if ($_POST['submit']) {
}
switch($action) {
default:
$standalone = 0;
require_once('admin-header.php');
if ($user_level <= 6) {
die(__("You have do not have sufficient permissions to edit the options for this blog."));
}
require('./options-head.php');
?>
<?php if ($_POST['submit']) : ?>
<div class="updated"><p><?php _e('Permalink structure updated.'); ?></p></div>
<?php endif; ?>
<div class="wrap">
<h2><?php _e('Edit Permalink Structure') ?></h2>
<?php _e('<p>WordPress offers you the ability to create a custom URI structure for your permalinks and archives. The following &#8220;tags&#8221; are available:</p>')?>
@ -63,7 +63,7 @@ default:
<input name="permalink_structure" type="text" style="width: 98%;" value="<?php echo $permalink_structure; ?>" />
</p>
<p class="submit">
<input type="submit" name="submit" value="<?php _e('Update Permalink Structure') ?>">
<input type="submit" name="submit" value="<?php _e('Update Permalink Structure &raquo;') ?>">
</p>
</form>
<?php
@ -101,8 +101,5 @@ foreach ($rewrite as $match => $query) {
}
echo "</div>\n";
break;
}
require('./admin-footer.php');
?>

View File

@ -174,10 +174,8 @@ foreach ($options as $option) :
echo "\t</td><td valign='top' class='helptext'>$option->option_description</td></tr>\n";
endforeach;
?>
<tr><td colspan="3">&nbsp;</td></tr>
<tr><td align="center" colspan="3"><input type="submit" name="Update" value="<?php _e('Update Settings') ?>" /></td></tr>
<tr><td colspan="3"><?php echo $message; ?></td></tr>
</table>
<p class="submit"><input type="submit" name="Update" value="<?php _e('Update Settings &raquo;') ?>" /></p>
</form>
</div>