adlerka.space/pages/account/settings.php
2024-02-29 09:27:44 +01:00

22 lines
480 B
PHP

<?php
require_once "lib/router.php";
require_once "lib/account.php";
global $routerConfig;
$output = file_get_contents($routerConfig["template_dir"] . "userActions.html");
if (isUserAdmin()) {
$output .= file_get_contents($routerConfig["template_dir"] . "adminActions.html");
}
return [
"output" => $output,
"parameters" =>
[
"minimal_permission_level" => 2,
"secret" => "no",
"page_title" => "Nastavenia"
]
];