summaryrefslogtreecommitdiff
path: root/actions/designsettings.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-05-21 00:12:48 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-05-21 00:12:48 +0000
commit56a8a255fff0037c29db09d4abf6631e9c45c730 (patch)
tree4ce558b1dd243ab239967a185c9282af91a68d86 /actions/designsettings.php
parent7ae2ed7cfcc78992c6f6ad02be646fb935c7f6dc (diff)
Changed No/Yes and Reset/Save locations. They are now a little more
usable by first offering the option to undo and than do.
Diffstat (limited to 'actions/designsettings.php')
-rw-r--r--actions/designsettings.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/designsettings.php b/actions/designsettings.php
index 8a7c26104..315e5a199 100644
--- a/actions/designsettings.php
+++ b/actions/designsettings.php
@@ -140,11 +140,12 @@ class DesignsettingsAction extends AccountSettingsAction
$this->elementEnd('ul');
$this->elementEnd('fieldset');
- $this->submit('save', _('Save'));
$this->element('input', array('id' => 'settings_design_reset',
'type' => 'reset',
'value' => 'Reset',
- 'class' => 'form_action-secondary'));
+ 'class' => 'submit form_action-primary',
+ 'title' => _('Reset back to default')));
+ $this->submit('save', _('Save'), 'submit form_action-secondary', 'save', _('Save design'));
/*TODO: Check submitted form values:
json_encode(form values)