summaryrefslogtreecommitdiff
path: root/actions/openidsettings.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 00:46:33 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 00:46:33 +0000
commitb9fb70ee70ecd465f5843241b308f2b8680120f6 (patch)
tree090e777bd9dc27426e5d267658df89169a8cd33e /actions/openidsettings.php
parent2561199e59ce6c4f4390443bda6d17d709ce1e36 (diff)
Markup clean up and styles
Diffstat (limited to 'actions/openidsettings.php')
-rw-r--r--actions/openidsettings.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/actions/openidsettings.php b/actions/openidsettings.php
index f24c81795..6f17f154c 100644
--- a/actions/openidsettings.php
+++ b/actions/openidsettings.php
@@ -85,11 +85,11 @@ class OpenidsettingsAction extends SettingsAction
$user = common_current_user();
$this->elementStart('form', array('method' => 'post',
- 'id' => 'form_openid_add',
+ 'id' => 'form_settings_openid_add',
'class' => 'form_settings',
'action' =>
common_local_url('openidsettings')));
- $this->elementStart('fieldset');
+ $this->elementStart('fieldset', array('id' => 'settings_openid_add'));
$this->element('legend', null, _('Add OpenID'));
$this->hidden('token', common_session_token());
$this->element('p', 'form_guide',
@@ -105,7 +105,7 @@ class OpenidsettingsAction extends SettingsAction
$this->elementEnd('li');
$this->elementEnd('ul');
$this->element('input', array('type' => 'submit',
- 'id' => 'add',
+ 'id' => 'settings_openid_add_action-submit',
'name' => 'add',
'class' => 'submit',
'value' => _('Add')));
@@ -139,7 +139,7 @@ class OpenidsettingsAction extends SettingsAction
} else {
- $this->element('p', null,
+ $this->element('p', 'form_guide',
_('You can remove an OpenID from your account '.
'by clicking the button marked "Remove".'));
$idx = 0;
@@ -147,10 +147,11 @@ class OpenidsettingsAction extends SettingsAction
while ($oid->fetch()) {
$this->elementStart('form',
array('method' => 'POST',
- 'id' => 'openiddelete' . $idx,
+ 'id' => 'form_settings_openid_delete' . $idx,
+ 'class' => 'form_settings',
'action' =>
common_local_url('openidsettings')));
- $this->elementStart('p');
+ $this->elementStart('fieldset');
$this->hidden('token', common_session_token());
$this->element('a', array('href' => $oid->canonical),
$oid->display);
@@ -163,7 +164,7 @@ class OpenidsettingsAction extends SettingsAction
'name' => 'remove',
'class' => 'submit',
'value' => _('Remove')));
- $this->elementEnd('p');
+ $this->elementEnd('fieldset');
$this->elementEnd('form');
$idx++;
}