diff --git a/admin.php b/admin.php index 8cfbbd1..6a32777 100644 --- a/admin.php +++ b/admin.php @@ -511,6 +511,26 @@ if(isset($_GET["manageservice"])) { + +
+Impressum link set to: '.$_GET['impressumset'].'!
'; + } else if($_GET['privacyset']) { + echo 'Privacy policity link set to: '.$_GET['privacyset'].'!
'; + } + echo ' + + + '; } diff --git a/css/style.css b/css/style.css index 4485c78..59a293e 100644 --- a/css/style.css +++ b/css/style.css @@ -452,6 +452,12 @@ label::after { } .footer a { + text-decoration: none; + color: #868c96; +} + +.footer a:hover { + text-decoration: underline; color: #868c96; } @@ -641,6 +647,6 @@ label::after { } .underline { - text-decoration: underline; - text-decoration-color: #a6a6a6; + text-decoration: underline; + text-decoration-color: #a6a6a6; } diff --git a/index.php b/index.php index 989cb72..9256a66 100644 --- a/index.php +++ b/index.php @@ -17,6 +17,8 @@ $instancename = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='instancename'"))["value"]; $autoreload_setting = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='autoreload'"))["value"]; $modular_setting = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='modularwindow'"))["value"]; + $privacy = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='privacy'"))["value"]; + $impressum = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='impressum'"))["value"]; $groups = mysqli_query($con, "SELECT priority, name, id FROM groups ORDER BY priority DESC"); $services = mysqli_query($con, "SELECT priority, groupid, name, id, status FROM services ORDER BY priority DESC"); @@ -257,7 +259,8 @@ echo '';