9 'label' =>
elgg_echo(
'admin:security:settings:protect_upgrade'),
10 '#help' =>
elgg_echo(
'admin:security:settings:protect_upgrade:help'),
11 'name' =>
'security_protect_upgrade',
22 'class' =>
'elgg-divide-left plm',
23 ],
elgg_echo(
'admin:security:settings:protect_upgrade:token') .
$url);
29 '#type' =>
'checkbox',
30 'label' =>
elgg_echo(
'admin:security:settings:protect_cron'),
31 '#help' =>
elgg_echo(
'admin:security:settings:protect_cron:help'),
32 'name' =>
'security_protect_cron',
61 'id' =>
'security-cron-urls',
62 'class' =>
'elgg-table mvm hidden',
63 ], implode(
'',
$rows));
67 'text' =>
elgg_echo(
'admin:security:settings:protect_cron:toggle'),
68 'href' =>
'#security-cron-urls',
74 'class' =>
'elgg-divide-left plm mbm',
80 '#type' =>
'checkbox',
81 'label' =>
elgg_echo(
'admin:security:settings:disable_password_autocomplete'),
82 '#help' =>
elgg_echo(
'admin:security:settings:disable_password_autocomplete:help'),
83 'name' =>
'security_disable_password_autocomplete',
87 'checked' => (
bool)
elgg_get_config(
'security_disable_password_autocomplete'),
92 '#type' =>
'checkbox',
93 'label' =>
elgg_echo(
'admin:security:settings:email_require_password'),
94 '#help' =>
elgg_echo(
'admin:security:settings:email_require_password:help'),
95 'name' =>
'security_email_require_password',
104 '#type' =>
'checkbox',
105 'label' =>
elgg_echo(
'admin:security:settings:session_bound_entity_icons'),
106 '#help' =>
elgg_echo(
'admin:security:settings:session_bound_entity_icons:help'),
107 'name' =>
'session_bound_entity_icons',
123 '#type' =>
'checkbox',
124 'label' =>
elgg_echo(
'admin:security:settings:notify_admins'),
125 '#help' =>
elgg_echo(
'admin:security:settings:notify_admins:help'),
126 'name' =>
'security_notify_admins',
135 '#type' =>
'checkbox',
136 'label' =>
elgg_echo(
'admin:security:settings:notify_user_admin'),
137 '#help' =>
elgg_echo(
'admin:security:settings:notify_user_admin:help'),
138 'name' =>
'security_notify_user_admin',
147 '#type' =>
'checkbox',
148 'label' =>
elgg_echo(
'admin:security:settings:notify_user_ban'),
149 '#help' =>
elgg_echo(
'admin:security:settings:notify_user_ban:help'),
150 'name' =>
'security_notify_user_ban',
169 'value' =>
elgg_echo(
'admin:security:settings:site_secret:intro'),
173 'title' =>
"$current_strength: $strength_text",
177 'text' =>
elgg_echo(
'admin:security:settings:site_secret:regenerate'),
178 'href' =>
'action/admin/security/regenerate_site_secret',
180 'class' =>
'elgg-button elgg-button-action',
184 'value' =>
elgg_echo(
'admin:security:settings:site_secret:regenerate:help'),
185 'class' =>
'elgg-subtext',
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
_elgg_get_site_secret_strength()
Get the strength of the site secret.
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_set_form_footer($footer= '')
Sets form footer and defers its rendering until the form view and extensions have been rendered...
elgg_view_message($type, $body, array $vars=[])
Wrapper function for the message display pattern.
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
elgg echo
Translates a string.
$content
Set robots.txt action.
elgg_http_get_signed_url($url, $expires=false)
Signs provided URL with a SHA256 HMAC key.
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
elgg_get_config($name, $default=null)
Get an Elgg configuration value.