summaryrefslogtreecommitdiff
path: root/actions/othersettings.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 23:52:37 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 23:52:37 +0000
commit4687f6dac93a9f7b1f276eda7677821c5069433b (patch)
tree313f9d08f03d95775cbf58ca5dac8e4bc9707700 /actions/othersettings.php
parent0ecdd5363df5e80464f80f58347102d2f1adb4fe (diff)
Other settings markup
Diffstat (limited to 'actions/othersettings.php')
-rw-r--r--actions/othersettings.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/actions/othersettings.php b/actions/othersettings.php
index f35630f36..cbb2c0cb9 100644
--- a/actions/othersettings.php
+++ b/actions/othersettings.php
@@ -83,11 +83,14 @@ class OthersettingsAction extends AccountSettingsAction
{
$user = common_current_user();
- $this->element('h2', null, _('URL Auto-shortening'));
+
$this->elementStart('form', array('method' => 'post',
- 'id' => 'othersettings',
+ 'id' => 'form_settings_other',
+ 'class' => 'form_settings',
'action' =>
common_local_url('othersettings')));
+ $this->elementStart('fieldset');
+ $this->element('legend', null, _('URL Auto-shortening'));
$this->hidden('token', common_session_token());
// I18N
@@ -104,12 +107,15 @@ class OthersettingsAction extends AccountSettingsAction
'metamark.net' => 'metamark.net'
);
+ $this->elementStart('ul', 'form_datas');
+ $this->elementStart('li');
$this->dropdown('urlshorteningservice', _('Service'),
$services, _('Automatic shortening service to use.'),
false, $user->urlshorteningservice);
-
+ $this->elementEnd('li');
+ $this->elementEnd('ul');
$this->submit('save', _('Save'));
-
+ $this->elementEnd('fieldset');
$this->elementEnd('form');
}