Move some user-related stuff to useradminpanel from siteadminpanel
This commit is contained in:
parent
9f8eedd5a3
commit
9a1a83e8eb
|
@ -92,7 +92,6 @@ class SiteadminpanelAction extends AdminPanelAction
|
||||||
{
|
{
|
||||||
static $settings = array('name', 'broughtby', 'broughtbyurl',
|
static $settings = array('name', 'broughtby', 'broughtbyurl',
|
||||||
'email', 'timezone', 'language');
|
'email', 'timezone', 'language');
|
||||||
static $booleans = array('closed', 'inviteonly', 'private');
|
|
||||||
|
|
||||||
$values = array();
|
$values = array();
|
||||||
|
|
||||||
|
@ -244,20 +243,6 @@ class SiteAdminPanelForm extends Form
|
||||||
$this->unli();
|
$this->unli();
|
||||||
$this->li();
|
$this->li();
|
||||||
|
|
||||||
$this->out->checkbox('closed', _('Closed'),
|
|
||||||
(bool) $this->value('closed'),
|
|
||||||
_('Is registration on this site prohibited?'));
|
|
||||||
|
|
||||||
$this->unli();
|
|
||||||
$this->li();
|
|
||||||
|
|
||||||
$this->out->checkbox('inviteonly', _('Invite-only'),
|
|
||||||
(bool) $this->value('inviteonly'),
|
|
||||||
_('Is registration on this site only open to invited users?'));
|
|
||||||
|
|
||||||
$this->unli();
|
|
||||||
$this->li();
|
|
||||||
|
|
||||||
$this->out->checkbox('private', _('Private'),
|
$this->out->checkbox('private', _('Private'),
|
||||||
(bool) $this->value('private'),
|
(bool) $this->value('private'),
|
||||||
_('Prohibit anonymous users (not logged in) from viewing site?'));
|
_('Prohibit anonymous users (not logged in) from viewing site?'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user