Added checks for admin permissions to settings / users.
Added welcome message and start page contents in input interface (iss0000160).
This commit is contained in:
@ -35,7 +35,7 @@ function printBackendHead(array $settings, string $page = "home", string $title
|
||||
|
||||
<title>' . $title . '</title>
|
||||
<link rel="stylesheet" type="text/css" href="themes/imports.css">
|
||||
<link rel="stylesheet" type="text/css" href="themes/default/default.css">
|
||||
<link rel="stylesheet" type="text/css" href="themes/default/theme.css">
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">';
|
||||
|
||||
if ($icon) {
|
||||
@ -171,6 +171,9 @@ function printBackendNav(array $translations):string {
|
||||
<div>
|
||||
<a href="settings.php">' . $translations['settings'] . '</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="editHTMLPage.php?id=welcomeMsg">' . $translations['welcomeMsg'] . '</a>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
}
|
||||
|
Reference in New Issue
Block a user