summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 00:06:31 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 00:06:31 +0000
commit2561199e59ce6c4f4390443bda6d17d709ce1e36 (patch)
tree588169912038c2bf77babdd9d5a52ddeb7fe27b7 /actions
parent0a5125675b4165be4c8278edf8d30f33483081fa (diff)
OpenID form settings markup
Diffstat (limited to 'actions')
-rw-r--r--actions/openidsettings.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/actions/openidsettings.php b/actions/openidsettings.php
index a21a9869e..f24c81795 100644
--- a/actions/openidsettings.php
+++ b/actions/openidsettings.php
@@ -85,26 +85,31 @@ class OpenidsettingsAction extends SettingsAction
$user = common_current_user();
$this->elementStart('form', array('method' => 'post',
- 'id' => 'openidadd',
+ 'id' => 'form_openid_add',
+ 'class' => 'form_settings',
'action' =>
common_local_url('openidsettings')));
+ $this->elementStart('fieldset');
+ $this->element('legend', null, _('Add OpenID'));
$this->hidden('token', common_session_token());
- $this->element('h2', null, _('Add OpenID'));
- $this->element('p', null,
+ $this->element('p', 'form_guide',
_('If you want to add an OpenID to your account, ' .
'enter it in the box below and click "Add".'));
- $this->elementStart('p');
+ $this->elementStart('ul', 'form_datas');
+ $this->elementStart('li');
$this->element('label', array('for' => 'openid_url'),
_('OpenID URL'));
$this->element('input', array('name' => 'openid_url',
'type' => 'text',
'id' => 'openid_url'));
+ $this->elementEnd('li');
+ $this->elementEnd('ul');
$this->element('input', array('type' => 'submit',
'id' => 'add',
'name' => 'add',
'class' => 'submit',
'value' => _('Add')));
- $this->elementEnd('p');
+ $this->elementEnd('fieldset');
$this->elementEnd('form');
$oid = new User_openid();