admin improvements

This commit is contained in:
Walter Hupfeld
2024-03-12 17:40:20 +01:00
parent beba08d4ff
commit 7b6ea55d8d
8 changed files with 43 additions and 58 deletions

View File

@@ -14,6 +14,9 @@
if (!$boolLogin) {
header("Location: login.php");
}
if (isset($_SESSION['superadmin'])) {
$boolSuperAdmin = (bool)$_SESSION['superadmin'];
}
$strDistrict=$_SESSION['district'];
require ("../config.php");
require ("../lib/geocoding.php");
@@ -35,10 +38,9 @@
<script src="../js/jquery.min.js"></script>
<title>Konfigruation</title>
<style>
.leftlabel { width: 10em;}
input[type="text"] { width: 18em;}
input.wide {width: 24em;}
.leftlabel { width: 10em;}
input[type="text"] { width: 18em;}
input.wide {width: 24em;}
</style>
</head>
<body>
@@ -59,7 +61,6 @@
<li class="nav-item active">
<a class="nav-link" href="geocoding.php">Addressen ermitteln </a>
</li>
<li class="nav-item">
<a class="nav-link" href="export.php">Export </a>
</li>
@@ -67,7 +68,6 @@
<a class="nav-link" href="password.php">Passwort ändern </a>
</li>
</ul>
<div>
<ul class="navbar-nav mr-auto right">
<li class="nav-item">