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:
parent
95a1e1d28f
commit
a77e7172dc
|
@ -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 “tags” 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 »') ?>">
|
||||
</p>
|
||||
</form>
|
||||
<?php
|
||||
|
@ -101,8 +101,5 @@ foreach ($rewrite as $match => $query) {
|
|||
}
|
||||
echo "</div>\n";
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
require('./admin-footer.php');
|
||||
?>
|
||||
|
|
|
@ -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"> </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 »') ?>" /></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue