Elgg  Version master
Variables
site_secret.php File Reference

Go to the source code of this file.

Variables

 $strength = _elgg_services()->siteSecret->getStrength()
 Security settings subview - site secret. More...
 
 $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
 

Variable Documentation

$current_strength = elgg_echo('site_secret:current_strength')

Definition at line 9 of file site_secret.php.

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

Definition at line 16 of file site_secret.php.

$site_secret
Initial value:
= elgg_view('output/longtext', [
'value' => elgg_echo('admin:security:settings:site_secret:intro'),
])
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156

Definition at line 13 of file site_secret.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(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156

Definition at line 21 of file site_secret.php.

$strength = _elgg_services()->siteSecret->getStrength()

Security settings subview - site secret.

Since
3.2

Definition at line 8 of file site_secret.php.

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

Definition at line 11 of file site_secret.php.

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

Definition at line 10 of file site_secret.php.