diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-11 21:37:12 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-11 21:37:12 +0000 |
commit | 25c192e75d52f5bd7db4da22bb9213421fa36b4c (patch) | |
tree | e2ef3042e4b048714a08d273700a426ac6020b1a /views | |
parent | e210f797ff2dda5785e64380234f1ee876bc5c12 (diff) | |
download | elgg-25c192e75d52f5bd7db4da22bb9213421fa36b4c.tar.gz elgg-25c192e75d52f5bd7db4da22bb9213421fa36b4c.tar.bz2 |
Do not display site pages when in Walled Garden mode, excepting system-defined whitelist.
git-svn-id: http://code.elgg.org/elgg/trunk@6004 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/admin/site/advanced.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/views/default/admin/site/advanced.php b/views/default/admin/site/advanced.php index e8c6e9b9a..35c57356d 100644 --- a/views/default/admin/site/advanced.php +++ b/views/default/admin/site/advanced.php @@ -33,6 +33,7 @@ $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>'; +// control new user registration $options = array( 'options' => array(elgg_echo('installation:registration:label')), 'internalname' => 'allow_registration', @@ -41,6 +42,15 @@ $options = array( $form_body .= '<p>' . elgg_echo('installation:registration:description'); $form_body .= '<br />' .elgg_view('input/checkboxes', $options) . '</p>'; +// control walled garden +$options = array( + 'options' => array(elgg_echo('installation:walled_garden:label')), + 'internalname' => 'walled_garden', + 'value' => $vars['config']->walled_garden ? elgg_echo('installation:walled_garden:label') : '', +); +$form_body .= '<p>' . elgg_echo('installation:walled_garden: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 />"; |