'action' =>
common_local_url('emailsettings')));
- $this->elementStart('fieldset',array('id' => 'settings_email_address'));
+ $this->elementStart('fieldset', array('id' => 'settings_email_address'));
$this->element('legend', null, _('Address'));
$this->hidden('token', common_session_token());
$this->elementEnd('fieldset');
if ($user->email) {
- $this->elementStart('fieldset',array('id' => 'settings_email_incoming'));
+ $this->elementStart('fieldset', array('id' => 'settings_email_incoming'));
$this->element('legend',_('Incoming email'));
if ($user->incomingemail) {
$this->elementStart('p');
$user->emailmicroid);
$this->elementEnd('li');
$this->elementEnd('ul');
- $this->elementEnd('fieldset');
-
$this->submit('save', _('Save'));
+ $this->elementEnd('fieldset');
$this->elementEnd('form');
}
$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',
$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')));
} 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;
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);
'name' => 'remove',
'class' => 'submit',
'value' => _('Remove')));
- $this->elementEnd('p');
+ $this->elementEnd('fieldset');
$this->elementEnd('form');
$idx++;
}