Added galery

This commit is contained in:
2026-01-26 10:37:06 +01:00
parent d9b4c73baa
commit 33243fbe4a
31 changed files with 2508 additions and 229 deletions

View File

@@ -76,7 +76,7 @@
</span>
<span class="tree-label"><?php echo htmlspecialchars($table); ?></span>
</div>
<div class="tree-children">
<div class="tree-children"<?php echo $is_current_table ? ' data-loaded="true"' : ''; ?>>
<?php if ($is_current_table && !empty($columns)): ?>
<?php foreach ($columns as $col): ?>
<div class="tree-item">

View File

@@ -8,6 +8,7 @@
<link rel="icon" href="data:;base64,=">
<!-- CSS -->
<link rel="stylesheet" href="<?php echo Config::get('URL'); ?>css/style.css" />
<link rel="stylesheet" href="<?php echo Config::get('URL'); ?>css/gallery.css" />
</head>
<body>
<!-- wrapper, to center website -->
@@ -27,6 +28,9 @@
<li <?php if (View::checkForActiveController($filename, "directory")) { echo ' class="active" '; } ?> >
<a href="<?php echo Config::get('URL'); ?>directory/index">Benutzer</a>
</li>
<li <?php if (View::checkForActiveController($filename, "gallery")) { echo ' class="active" '; } ?> >
<a href="<?php echo Config::get('URL'); ?>gallery/index">Gallery</a>
</li>
<?php if (Session::userIsLoggedIn()) { ?>
<li <?php if (View::checkForActiveController($filename, "dashboard")) { echo ' class="active" '; } ?> >
<a href="<?php echo Config::get('URL'); ?>dashboard/index">Dashboard</a>