From 602387df58b11d3ea76095195f3ee6a643688a61 Mon Sep 17 00:00:00 2001 From: ellite Date: Tue, 14 Nov 2023 21:16:32 +0100 Subject: [PATCH] Fix paths and tags --- endpoints/subscriptions/get.php | 2 +- includes/connect.php | 1 - login.php | 6 +++--- registration.php | 6 +++--- scripts/settings.js | 4 ++-- settings.php | 14 +++++++------- 6 files changed, 16 insertions(+), 17 deletions(-) diff --git a/endpoints/subscriptions/get.php b/endpoints/subscriptions/get.php index 605866c..27e639d 100644 --- a/endpoints/subscriptions/get.php +++ b/endpoints/subscriptions/get.php @@ -82,7 +82,7 @@ Add First Subscription - close(); ?> \ No newline at end of file diff --git a/login.php b/login.php index 0db007d..cf99a06 100644 --- a/login.php +++ b/login.php @@ -79,11 +79,11 @@ if (isset($_POST['username']) && isset($_POST['password'])) {
- Wallos Logo Wallos Logo Wallos Logo Wallos Logo

diff --git a/registration.php b/registration.php index 14a440f..60c0581 100644 --- a/registration.php +++ b/registration.php @@ -85,11 +85,11 @@ if (isset($_POST['username'])) {

- Wallos Logo Wallos Logo Wallos Logo Wallos Logo

diff --git a/scripts/settings.js b/scripts/settings.js index 5e63545..e4d9d34 100644 --- a/scripts/settings.js +++ b/scripts/settings.js @@ -13,7 +13,7 @@ function closeAvatarSelect() { } function changeAvatar(number) { - document.getElementById("avatarImg").src = "/images/avatars/" + number + ".svg"; + document.getElementById("avatarImg").src = "images/avatars/" + number + ".svg"; document.getElementById("avatarUser").value = number; closeAvatarSelect(); } @@ -425,7 +425,7 @@ document.addEventListener('DOMContentLoaded', function() { .then(data => { if (data.success) { var newAvatar = document.getElementById("avatarUser").value; - document.getElementById("avatar").src = "/images/avatars/" + newAvatar + ".svg"; + document.getElementById("avatar").src = "images/avatars/" + newAvatar + ".svg"; var newUsername = document.getElementById("username").value; document.getElementById("user").textContent = newUsername; showSuccessMessage("User details saved"); diff --git a/settings.php b/settings.php index ba2a7e0..3ea6b3e 100644 --- a/settings.php +++ b/settings.php @@ -11,9 +11,9 @@

- avatar + avatar - +
@@ -433,7 +433,7 @@
-
- > + >
- > + >
@@ -467,7 +467,7 @@