We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 9a1a83e8 authored by Evan Prodromou's avatar Evan Prodromou

Move some user-related stuff to useradminpanel from siteadminpanel

parent 9f8eedd5
......@@ -92,7 +92,6 @@ class SiteadminpanelAction extends AdminPanelAction
{
static $settings = array('name', 'broughtby', 'broughtbyurl',
'email', 'timezone', 'language');
static $booleans = array('closed', 'inviteonly', 'private');
$values = array();
......@@ -244,20 +243,6 @@ class SiteAdminPanelForm extends Form
$this->unli();
$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'),
(bool) $this->value('private'),
_('Prohibit anonymous users (not logged in) from viewing site?'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment