Elgg  Version 3.0
Variables
settings.php File Reference

Go to the source code of this file.

Variables

 $hardening = ''
 
 $protect_upgrade = (bool) elgg_get_config('security_protect_upgrade')
 
if($protect_upgrade) $protect_cron = (bool) elgg_get_config('security_protect_cron')
 
 $notifications = ''
 
 $strength = _elgg_get_site_secret_strength()
 
 $current_strength = elgg_echo('site_secret:current_strength')
 
 $strength_text = elgg_echo("site_secret:strength:$strength")
 
 $strength_msg = elgg_echo("site_secret:strength_msg:$strength")
 
 $site_secret
 
 $message_type = ($strength != 'strong') ? 'error' : 'success'
 
 $site_secret_link
 
 $footer
 

Variable Documentation

$current_strength = elgg_echo('site_secret:current_strength')

Definition at line 164 of file settings.php.

$footer
Initial value:
'#type' => 'submit',
'value' => elgg_echo('save'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1395
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 193 of file settings.php.

$hardening = ''

Definition at line 4 of file settings.php.

$message_type = ($strength != 'strong') ? 'error' : 'success'

Definition at line 171 of file settings.php.

$notifications = ''

Definition at line 120 of file settings.php.

if ($protect_upgrade) $protect_cron = (bool) elgg_get_config('security_protect_cron')

Definition at line 27 of file settings.php.

$protect_upgrade = (bool) elgg_get_config('security_protect_upgrade')

Definition at line 6 of file settings.php.

$site_secret
Initial value:
= elgg_view('output/longtext', [
'value' => elgg_echo('admin:security:settings:site_secret:intro'),
])
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 168 of file settings.php.

$site_secret_link
Initial value:
= elgg_view('output/url', [
'text' => elgg_echo('admin:security:settings:site_secret:regenerate'),
'href' => 'action/admin/security/regenerate_site_secret',
'confirm' => true,
'class' => 'elgg-button elgg-button-action',
])
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 176 of file settings.php.

Definition at line 163 of file settings.php.

$strength_msg = elgg_echo("site_secret:strength_msg:$strength")

Definition at line 166 of file settings.php.

$strength_text = elgg_echo("site_secret:strength:$strength")

Definition at line 165 of file settings.php.