14 'value' =>
elgg_echo(
'admin:security:information:description'),
36 $title =
elgg_echo(
'admin:security:information:https');
50 $title =
elgg_echo(
'admin:security:information:wwwroot');
64 $title =
elgg_echo(
'admin:security:information:validate_input');
68 if (!(
bool)
elgg()->events->getOrderedHandlers(
'sanitize',
'input')) {
78 $title =
elgg_echo(
'admin:security:information:password_length');
91 $title =
elgg_echo(
'admin:security:information:username_length');
105 'text' =>
elgg_echo(
'admin:security:settings:label:site_secret'),
107 'segments' =>
'security',
108 ]) .
'#admin-security-site-secret',
109 'is_trusted' =>
true,
114 $value =
elgg_echo(
"site_secret:strength:$strength");
126 $title =
elgg_echo(
'admin:security:information:php:session_gc');
140 $subtext =
elgg_echo(
'admin:security:information:php:session_gc:chance', [$chance]);
148 $title =
elgg_echo(
'admin:security:information:htaccess:hardening');
153 curl_setopt(
$curl, CURLOPT_RETURNTRANSFER,
true);
156 if (curl_getinfo(
$curl, CURLINFO_HTTP_CODE) === 403) {
elgg_normalize_site_url(string $unsafe_url)
From untrusted input, get a site URL safe for forwarding.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_view_image_block(string $image, string $body, array $vars=[])
Wrapper function for the image block display pattern.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_get_site_url()
Get the URL for the current (or specified) site, ending with "/".
elgg_view_icon(string $name, array $vars=[])
View an icon glyph.
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.
_elgg_services()
Get the global service provider.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.