7 foreach (array(
'wwwroot',
'path',
'dataroot') as $field) {
19 $params[
'class'] =
'elgg-state-disabled';
20 $warning =
elgg_echo(
'admin:settings:in_settings_file');
25 $form_body .=
"<span class=\"elgg-text-help\">$warning</span>";
32 $form_body .=
'<fieldset class="elgg-fieldset">';
36 'label' =>
elgg_echo(
'installation:simplecache:label'),
37 'name' =>
'simplecache_enabled',
41 $params[
'class'] =
'elgg-state-disabled';
42 $params[
'label_class'] =
'elgg-state-disabled';
46 $warning =
elgg_echo(
'admin:settings:in_settings_file');
47 $form_body .=
"<span class=\"elgg-text-help\">$warning</span>";
53 'label' =>
elgg_echo(
'installation:minify_js:label'),
54 'name' =>
'simplecache_minify_js',
59 'label' =>
elgg_echo(
'installation:minify_css:label'),
60 'name' =>
'simplecache_minify_css',
67 'label' =>
elgg_echo(
'installation:systemcache:label'),
68 'name' =>
'system_cache_enabled',
73 $form_body .=
'<fieldset class="elgg-fieldset">';
78 'options_values' => array(
84 'name' =>
'default_access',
88 $form_body .=
"<div>" .
elgg_echo(
'installation:allow_user_default_access:description') .
"<br />";
91 'label' =>
elgg_echo(
'installation:allow_user_default_access:label'),
92 'name' =>
'allow_user_default_access',
97 $form_body .=
'<fieldset class="elgg-fieldset">';
102 'label' =>
elgg_echo(
'installation:registration:label'),
103 'name' =>
'allow_registration',
110 'label' =>
elgg_echo(
'installation:walled_garden:label'),
111 'name' =>
'walled_garden',
117 'label' =>
elgg_echo(
'installation:httpslogin:label'),
118 'name' =>
'https_login',
124 $form_body .=
'<fieldset class="elgg-fieldset">';
135 $title =
"$current_strength: $strength_text";
138 'class' =>
'elgg-message elgg-state-error' 144 $form_body .=
'<p class="elgg-text-help">' .
elgg_echo(
'admin:site:secret:regenerate:help') .
'</p>';
147 'options' => array(
elgg_echo(
'admin:site:secret:regenerate') => 1),
148 'name' =>
'regenerate_site_secret' 154 '0' =>
elgg_echo(
'installation:debug:none'),
155 'ERROR' =>
elgg_echo(
'installation:debug:error'),
156 'WARNING' =>
elgg_echo(
'installation:debug:warning'),
157 'NOTICE' =>
elgg_echo(
'installation:debug:notice'),
158 'INFO' =>
elgg_echo(
'installation:debug:info'),
160 $form_body .=
'<fieldset class="elgg-fieldset">';
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
_elgg_get_site_secret_strength()
Get the strength of the site secret.