summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorJonas Kohl <git@jonaskohl.de>2024-09-06 17:01:01 +0200
committerJonas Kohl <git@jonaskohl.de>2024-09-06 17:01:01 +0200
commit3d22cc3333e1265a222425a4ede9c464234e3632 (patch)
tree7acd1379c752913f12168cc75583e68b14278288 /pages
parent0540e04c77864186ce48193456634b897a11f5aa (diff)
Small fixes; Add component system
Diffstat (limited to 'pages')
-rw-r--r--pages/about.php3
-rw-r--r--pages/dekomp.php1
-rw-r--r--pages/exklusiv.php1
-rw-r--r--pages/loesung.php1
-rw-r--r--pages/sent.php6
-rw-r--r--pages/start.php20
-rw-r--r--pages/trivia.php1
7 files changed, 9 insertions, 24 deletions
diff --git a/pages/about.php b/pages/about.php
index 5ddf3c5..2601b58 100644
--- a/pages/about.php
+++ b/pages/about.php
@@ -1,4 +1,5 @@
-<?php $PAGE_TITLE = "Ueber"; ?>
+<?php $PAGE_TITLE = "Über"; ?>
+<?php $NAV_LINK_ID = "about"; ?>
<?php include __DIR__ . "/../includes/template_head_start.php"; ?>
<?php if (!$__mobile): ?>
<style type="text/css">
diff --git a/pages/dekomp.php b/pages/dekomp.php
index 503e782..72554f9 100644
--- a/pages/dekomp.php
+++ b/pages/dekomp.php
@@ -1,3 +1,4 @@
+<?php $NAV_LINK_ID = "dekomp"; ?>
<?php include __DIR__ . "/../includes/template_start.php"; ?>
<h1>Dekomp</h1>
diff --git a/pages/exklusiv.php b/pages/exklusiv.php
index 6272748..c26c863 100644
--- a/pages/exklusiv.php
+++ b/pages/exklusiv.php
@@ -1,3 +1,4 @@
+<?php $NAV_LINK_ID = "exklusiv"; ?>
<?php include __DIR__ . "/../includes/template_start.php"; ?>
<h1>Exklusiv</h1>
diff --git a/pages/loesung.php b/pages/loesung.php
index 3812e88..1e34a3f 100644
--- a/pages/loesung.php
+++ b/pages/loesung.php
@@ -1,3 +1,4 @@
+<?php $NAV_LINK_ID = "loesung"; ?>
<?php $PAGE_TITLE = "Lösung"; ?>
<?php include __DIR__ . "/../includes/template_start.php"; ?>
diff --git a/pages/sent.php b/pages/sent.php
index e0a0125..e8e8c3f 100644
--- a/pages/sent.php
+++ b/pages/sent.php
@@ -1,9 +1,5 @@
<?php include __DIR__ . "/../includes/template_start.php"; ?>
-<table bgcolor="green" cellspacing="0" cellpadding="2"><tr><td>
-<table bgcolor="lime" cellspacing="0" cellpadding="12"><tr><td>
-<font color="black"><b>Ihre Nachricht ist erfolgreich bei uns eingegangen!</b></font>
-</td></tr></table>
-</td></tr></table>
+<?php c_alert('<b>Ihre Nachricht ist erfolgreich bei uns eingegangen!</b>', 'success'); ?>
<?php include __DIR__ . "/../includes/template_end.php"; ?>
diff --git a/pages/start.php b/pages/start.php
index 07dfd88..ce2f3cd 100644
--- a/pages/start.php
+++ b/pages/start.php
@@ -1,25 +1,9 @@
+<?php $NAV_LINK_ID = "start"; ?>
<?php $PAGE_TITLE = "Startseite"; ?>
<?php include __DIR__ . "/../includes/template_start.php"; ?>
<h1 align="center">Herzlich willkommen bei der <i>Mystic House Corner</i>!</h1>
-<?php if ($__mobile): ?>
-<div class="alert alert-warning">
-<i class="glyphicon glyphicon-warning-sign"></i>
-<b>Achtung:</b> Diese Seite befindet sich noch im Aufbau!
-</div>
-<?php else: ?>
-<center>
-<table bgcolor="olive" cellspacing="0" cellpadding="2"><tr><td>
-<table bgcolor="yellow" cellspacing="0" cellpadding="12"><tr><td>
-<table bgcolor="yellow" cellspacing="0" cellpadding="0"><tr><td>
-<nobr><img src="../images/warn16.gif">&nbsp;</nobr>
-</td><td width="100%">
-<font color="black"><b>Achtung:</b> Diese Seite befindet sich noch im Aufbau!</font>
-</td></tr></table>
-</td></tr></table>
-</td></tr></table>
-</center>
-<?php endif; ?>
+<?php c_alert('<b>Achtung:</b> Diese Seite befindet sich noch im Aufbau!', 'warning', 'warning-sign'); ?>
<?php include __DIR__ . "/../includes/template_end.php"; ?>
diff --git a/pages/trivia.php b/pages/trivia.php
index 30f79a3..06a9237 100644
--- a/pages/trivia.php
+++ b/pages/trivia.php
@@ -1,3 +1,4 @@
+<?php $NAV_LINK_ID = "trivia"; ?>
<?php include __DIR__ . "/../includes/template_start.php"; ?>
<h1>Trivia</h1>