From daf8469b429a27c9aac06d3c66671ba5db7b726b Mon Sep 17 00:00:00 2001
From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com>
Date: Sat, 11 Jun 2022 09:54:29 -0400
Subject: [PATCH] "You cannot" styling
---
homepage/views.php | 8 ++++----
scripts/advanced.php | 4 ++--
scripts/config.php | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/homepage/views.php b/homepage/views.php
index 4273667..73e9e3f 100644
--- a/homepage/views.php
+++ b/homepage/views.php
@@ -102,7 +102,7 @@ if(isset($_GET['view'])){
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
- echo 'You cannot edit the settings for this installation';
+ echo '
| You cannot edit the settings for this installation |
';
exit;
} else {
$submittedpwd = $_SERVER['PHP_AUTH_PW'];
@@ -125,7 +125,7 @@ if(isset($_GET['view'])){
} else {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
- echo 'You cannot edit the settings for this installation';
+ echo '| You cannot edit the settings for this installation |
';
exit;
}
}
@@ -198,7 +198,7 @@ if(isset($_GET['view'])){
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
- echo 'You cannot access the web terminal';
+ echo '| You cannot access the web terminal |
';
exit;
} else {
$submittedpwd = $_SERVER['PHP_AUTH_PW'];
@@ -209,7 +209,7 @@ if(isset($_GET['view'])){
} else {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
- echo 'You cannot access the web terminal';
+ echo '| You cannot access the web terminal |
';
exit;
}
}
diff --git a/scripts/advanced.php b/scripts/advanced.php
index c0b3fe4..ebe7c33 100644
--- a/scripts/advanced.php
+++ b/scripts/advanced.php
@@ -13,7 +13,7 @@ $caddypwd = $config['CADDY_PWD'];
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
- echo 'You cannot edit the settings for this installation';
+ echo '| You cannot edit the settings for this installation |
';
exit;
} else {
$submittedpwd = $_SERVER['PHP_AUTH_PW'];
@@ -21,7 +21,7 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
if($submittedpwd !== $caddypwd || $submitteduser !== 'birdnet'){
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
- echo 'You cannot edit the settings for this installation';
+ echo '| You cannot edit the settings for this installation |
';
exit;
}
}
diff --git a/scripts/config.php b/scripts/config.php
index 159f8e4..ce32111 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -156,7 +156,7 @@ $caddypwd = $config['CADDY_PWD'];
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
- echo 'You cannot edit the settings for this installation';
+ echo '| You cannot edit the settings for this installation |
';
exit;
} else {
$submittedpwd = $_SERVER['PHP_AUTH_PW'];
@@ -164,7 +164,7 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
if($submittedpwd !== $caddypwd || $submitteduser !== 'birdnet'){
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
- echo 'You cannot edit the settings for this installation';
+ echo '| You cannot edit the settings for this installation |
';
exit;
}
}