getCore()->getHooks()->runAction('ACCOUNT_SETTINGS_GLOBAL');
?>
getCore()->getHooks()->applyFilter('SETTINGS_TABS', [
(object) [
'id' => 'settings',
'name' => I18N::get('Global Settings'),
'__build_in' => true
], (object) [
'id' => 'security',
'name' => I18N::get('Security'),
'__build_in' => true
]
]) AS $index => $method) {
if(isset($method->__build_in) && $method->__build_in) {
continue;
}
$active = false;
if(empty($tab) && $index == 0) {
$active = true;
} else if(!empty($tab) && $tab === $method->id) {
$active = true;
}
?>
content); ?>