From 0e23bfffb6e3877a79ae2f8c5152d75fadf1707e Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Tue, 27 Sep 2022 21:39:02 +0000 Subject: [PATCH] Updating naming of alert variables --- account.php | 2 +- app/account/account.php | 102 ++++++++++++++++++------------------- app/image/group.php | 20 ++++---- app/image/image.php | 28 +++++----- app/image/upload_image.php | 18 +++---- css/main.css | 28 +++++++--- css/main.scss | 18 ++++--- css/scss/_variables.scss | 20 +++++++- group.php | 4 +- image.php | 8 +-- index.php | 4 +- upload.php | 4 +- 12 files changed, 147 insertions(+), 109 deletions(-) diff --git a/account.php b/account.php index 923f19b..cbf0c1d 100644 --- a/account.php +++ b/account.php @@ -70,7 +70,7 @@ $("#image").val(""); $("#submit").val(""); } else { - sniffleAdd('Gwha!', 'Pls provide image', 'var(--red)', 'assets/icons/file-search.svg'); + sniffleAdd('Gwha!', 'Pls provide image', 'var(--warning)', 'assets/icons/file-search.svg'); } }); diff --git a/app/account/account.php b/app/account/account.php index 819632a..85195a4 100644 --- a/app/account/account.php +++ b/app/account/account.php @@ -34,7 +34,7 @@ if (isset($_POST['submit_login'])) { if ($ban_perm) { ?> thumbnail($image_path, $image_path, 300) != "success") { ?> thumbnail($image_path, $thumb_dir.$image_newname, 300) != "success") { ?> thumbnail($image_path, $preview_dir.$image_newname, 900) != "success") { ?> ' download=''>Download image @@ -256,7 +256,7 @@ function copyLink() { navigator.clipboard.writeText(window.location.href); - sniffleAdd("Info", "Link has been copied!", "var(--green)", "assets/icons/clipboard-text.svg"); + sniffleAdd("Info", "Link has been copied!", "var(--success)", "assets/icons/clipboard-text.svg"); } diff --git a/index.php b/index.php index 5ffc534..9919753 100644 --- a/index.php +++ b/index.php @@ -14,7 +14,7 @@ if (isset($_SESSION['del'])) { ?> is_loggedin()) { ?>