Individualisations

This commit is contained in:
Timon Ostertun
2020-09-21 21:06:16 +02:00
parent 7e8d863e26
commit 62cb4408cf
21 changed files with 1810 additions and 1632 deletions

View File

@@ -2,6 +2,7 @@
require_once(__DIR__ . '/server/config.php');
require_once(__DIR__ . '/server/log.php');
require_once(__DIR__ . '/server/templates.php');
$request = false;
if (isset($_GET['request'])) {
@@ -26,13 +27,15 @@
}
$sp = [
'title' => 'Regatten.net ' . $_CLASSES[BOATCLASS]['name']['de'], // This is the page title
'title' => 'Regatten.net ' . $_CLASS['name'], // This is the page title
'backbutton' => false, // Show a back button (true, false, string). If a string is given, the back button is a link to this page.
'activenav' => false, // Select which entry of bottom nav should be active (1-5). false for none
'output' => '', // This is where the site content goes
'menus' => '' // Additional menus go here
];
$tpl = new Templates(__DIR__ . '/server/templates/');
require_once(__DIR__ . '/content/' . $site . '.php');
require_once(__DIR__ . '/server/buildpage.php');