Elgg  Version 6.2
Variables
tabs.php File Reference

Go to the source code of this file.

Variables

 $selected = elgg_extract('selected', $vars, 'settings')
 Admin helper view for tabs on the different security pages. More...
 
 $tabs
 

Variable Documentation

◆ $selected

$selected = elgg_extract('selected', $vars, 'settings')

Admin helper view for tabs on the different security pages.

@uses $vars['selected'] the name of the selected tab

Definition at line 8 of file tabs.php.

◆ $tabs

$tabs
Initial value:
= [
[
'name' => 'settings',
'text' => elgg_echo('admin:security:settings'),
'href' => elgg_generate_url('admin', [
'segments' => 'security',
]),
'selected' => $selected === 'settings',
],
[
'name' => 'security_txt',
'text' => elgg_echo('admin:security:security_txt'),
'href' => elgg_generate_url('admin', [
'segments' => 'security/security_txt',
]),
'selected' => $selected === 'security_txt',
],
[
'name' => 'information',
'text' => elgg_echo('admin:security:information'),
'href' => elgg_generate_url('admin', [
'segments' => 'security/information',
]),
'selected' => $selected === 'information',
],
]
$selected
Admin helper view for tabs on the different security pages.
Definition: tabs.php:8
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.

Definition at line 10 of file tabs.php.