aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/site/advanced.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/site/advanced.php')
-rw-r--r--views/default/admin/site/advanced.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/admin/site/advanced.php b/views/default/admin/site/advanced.php
index da7b98a1a..e8c6e9b9a 100644
--- a/views/default/admin/site/advanced.php
+++ b/views/default/admin/site/advanced.php
@@ -33,6 +33,14 @@ $form_body .= "<p>" . elgg_echo('installation:debug');
$form_body .= elgg_view('input/pulldown', array('options_values' => $debug_options, 'internalname' => 'debug', 'value' => $vars['config']->debug));
$form_body .= '</p>';
+$options = array(
+ 'options' => array(elgg_echo('installation:registration:label')),
+ 'internalname' => 'allow_registration',
+ 'value' => $vars['config']->allow_registration ? elgg_echo('installation:registration:label') : '',
+);
+$form_body .= '<p>' . elgg_echo('installation:registration:description');
+$form_body .= '<br />' .elgg_view('input/checkboxes', $options) . '</p>';
+
$form_body .= "<p>" . elgg_echo('installation:httpslogin') . "<br />" .elgg_view("input/checkboxes", array('options' => array(elgg_echo('installation:httpslogin:label')), 'internalname' => 'https_login', 'value' => ($vars['config']->https_login ? elgg_echo('installation:httpslogin:label') : "") )) . "</p>";
$form_body .= "<p>" . elgg_echo('installation:disableapi') . "<br />";