summaryrefslogtreecommitdiff
path: root/actions/designsettings.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-21 12:40:52 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-21 12:40:52 -0400
commitf25990cf8ed8683d53e9460fb63600a7bdfd10a3 (patch)
tree2dc6d49669b13b889e36b47bf34780cf19a88ea2 /actions/designsettings.php
parent966f1c6169a2d1202e1b69860b975792ca6b9149 (diff)
parent07de94ca99c5541b26da9292c4eaa3d80bee3dbe (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
Diffstat (limited to 'actions/designsettings.php')
-rw-r--r--actions/designsettings.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/actions/designsettings.php b/actions/designsettings.php
index a85b36a25..315e5a199 100644
--- a/actions/designsettings.php
+++ b/actions/designsettings.php
@@ -140,10 +140,12 @@ class DesignsettingsAction extends AccountSettingsAction
$this->elementEnd('ul');
$this->elementEnd('fieldset');
- $this->submit('save', _('Save'));
- $this->element('input', array('type' => 'reset',
+ $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)