);
static $booleans = array(
+ 'openid' => array('append_username'),
'site' => array('openidonly')
);
);
$this->unli();
+ $this->li();
+ $this->out->checkbox(
+ 'append_username', _m('Append a username to base URL'),
+ (bool) $this->value('append_username', 'openid'),
+ _m('Login form will show the base URL and prompt for a username to add at the end. Use when OpenID provider URL should be the profile page for individual users.'),
+ 'true'
+ );
+ $this->unli();
+
$this->li();
$this->input(
'required_team',
$this->out->checkbox(
'openidonly', _m('Enable OpenID-only mode'),
(bool) $this->value('openidonly', 'site'),
- _m('Require all users to login via OpenID. WARNING: disables password authentication for all users!'),
+ _m('Require all users to login via OpenID. Warning: disables password authentication for all users!'),
'true'
);
$this->unli();
function formActions()
{
- $this->out->submit('submit', _('Save'), 'submit', null, _m('Save OpenID settings'));
+ $this->out->submit('submit', _m('Save'), 'submit', null, _m('Save OpenID settings.'));
}
}