Elgg  Version master
Variables
security_txt.php File Reference

Go to the source code of this file.

Variables

 $help_urls
 Form to configure the contents of the security.txt endpoint. More...
 
 $languages
 
 $footer
 

Variable Documentation

◆ $footer

$footer
Initial value:
'#type' => 'submit',
'text' => elgg_echo('save'),
])
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1112

Definition at line 110 of file security_txt.php.

◆ $help_urls

$help_urls
Initial value:
= [
'contact' => 'https:
'expires' => 'https:
'encryption' => 'https:
'acknowledgments' => 'https:
'language' => 'https:
'canonical' => 'https:
'policy' => 'https:
'hiring' => 'https:
'csaf' => 'https:
]

Form to configure the contents of the security.txt endpoint.

See also
https://securitytxt.org/

Definition at line 8 of file security_txt.php.

◆ $languages

$languages
Initial value:
= [
'en',
elgg_get_config('language'),
]
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_get_current_language()
Get the current system/user language or 'en'.
Definition: languages.php:27

Definition at line 58 of file security_txt.php.