9 'contact' =>
'https://www.rfc-editor.org/rfc/rfc9116#section-2.5.3',
10 'expires' =>
'https://www.rfc-editor.org/rfc/rfc9116#section-2.5.5',
11 'encryption' =>
'https://www.rfc-editor.org/rfc/rfc9116#section-2.5.4',
12 'acknowledgments' =>
'https://www.rfc-editor.org/rfc/rfc9116#section-2.5.1',
13 'language' =>
'https://www.rfc-editor.org/rfc/rfc9116#section-2.5.8',
14 'canonical' =>
'https://www.rfc-editor.org/rfc/rfc9116#section-2.5.2',
15 'policy' =>
'https://www.rfc-editor.org/rfc/rfc9116#section-2.5.7',
16 'hiring' =>
'https://www.rfc-editor.org/rfc/rfc9116#section-2.5.6',
17 'csaf' =>
'https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html#718-requirement-8-securitytxt',
22 '#label' =>
elgg_echo(
'admin:security:security_txt:contact'),
32 '#label' =>
elgg_echo(
'admin:security:security_txt:expires'),
42 '#label' =>
elgg_echo(
'admin:security:security_txt:encryption'),
44 'name' =>
'encryption',
51 '#label' =>
elgg_echo(
'admin:security:security_txt:acknowledgments'),
53 'name' =>
'acknowledgments',
67 '#label' =>
elgg_echo(
'admin:security:security_txt:language'),
76 '#label' =>
elgg_echo(
'admin:security:security_txt:canonical'),
78 'name' =>
'canonical',
85 '#label' =>
elgg_echo(
'admin:security:security_txt:policy'),
94 '#label' =>
elgg_echo(
'admin:security:security_txt:hiring'),
103 '#label' =>
elgg_echo(
'admin:security:security_txt:csaf'),
107 'placeholder' =>
elgg_get_site_url() .
'.well-known/csaf/provider-metadata.json',
elgg_get_current_language()
Get the current system/user language or 'en'.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
getDomain()
Get site domain.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_set_form_footer(string $footer= '')
Sets form footer and defers its rendering until the form view and extensions have been rendered...
elgg_get_site_url()
Get the URL for the current (or specified) site, ending with "/".
elgg_get_site_entity()
Get the current site entity.
elgg_view_url(string $href, string $text=null, array $options=[])
Helper function for outputting urls.
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.