Relocate Save Changes button. Props mdawaffe. fixes #6118

git-svn-id: http://svn.automattic.com/wordpress/trunk@7192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-10 05:19:12 +00:00
parent b5904c542e
commit 45a072ddee
2 changed files with 10 additions and 9 deletions

View File

@ -88,6 +88,10 @@ ul.widget-control-list {
padding: 0 1em;
}
div#current-widgets p.submit {
padding: 1em;
}
li.widget-list-control-item {
margin: 0 0 1em;
-moz-border-radius: 3px;

View File

@ -243,21 +243,18 @@ if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?>
</div>
<div id="current-widgets" class="widget-liquid-right">
<input type="hidden" id='sidebar' name='sidebar' value="<?php echo $sidebar; ?>" />
<div id="current-sidebar">
<?php wp_list_widget_controls( $sidebars_widgets[$sidebar], $edit_widget ); // Show the control forms for each of the widgets in this sidebar ?>
</div>
</div>
<br class="clear" />
<p class="submit">
<input type="hidden" id='sidebar' name='sidebar' value="<?php echo $sidebar; ?>" />
<input type="hidden" id="generated-time" name="generated-time" value="<?php echo time(); ?>" />
<input type="submit" name="save-widgets" value="<?php _e( 'Save Changes' ); ?>" />
</p>
</div>
</form>