From 64a9bfae4a659f38f33320e59004a1d1dd259a40 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 9 Dec 2025 01:51:38 +0500 Subject: upd: replaced - (Error) <?php echo sprintf("%s - %s", $reason, CONFIG['instance']['name']) ?> + (Error) <?= sprintf("%s - %s", $reason, CONFIG['instance']['name']) ?> @@ -25,7 +25,7 @@ $reason = str_safe($_GET["error_reason"] ?? "Not found", 200);
-

+

[ Back to home ]
diff --git a/account/index.php b/account/index.php index bb4bff6..86bf659 100644 --- a/account/index.php +++ b/account/index.php @@ -104,7 +104,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { - Account management - <?php echo CONFIG['instance']['name'] ?> + Account management - <?= CONFIG['instance']['name'] ?> @@ -186,7 +186,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {

Username

- "> + "> @@ -293,9 +293,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { let validUsername = ""; username.addEventListener("input", (e) => { - const regex = ; + const regex = ; - if (regex.test(e.target.value) && e.target.value.length <= ) { + if (regex.test(e.target.value) && e.target.value.length <= ) { validUsername = e.target.value; } else { e.target.value = validUsername; diff --git a/account/login/index.php b/account/login/index.php index b4223f2..14f7c4e 100644 --- a/account/login/index.php +++ b/account/login/index.php @@ -44,7 +44,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { - Login - <?php echo CONFIG['instance']['name'] ?> + Login - <?= CONFIG['instance']['name'] ?> @@ -57,7 +57,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
@@ -87,7 +87,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
Login with Twitch

Logging in via Twitch gives you the ability to use - emotes in your Twitch chat. + emotes in your Twitch chat.

diff --git a/account/register.php b/account/register.php index 59ea886..292684d 100644 --- a/account/register.php +++ b/account/register.php @@ -67,7 +67,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { - Register an account - <?php echo CONFIG['instance']['name'] ?> + Register an account - <?= CONFIG['instance']['name'] ?> @@ -81,7 +81,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
@@ -98,7 +98,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {

- Since doesn't require email and password reset via + Since doesn't require email and password reset via email is not supported, please remember your passwords!

diff --git a/emotes/index.php b/emotes/index.php index 3999d8e..06d9e43 100644 --- a/emotes/index.php +++ b/emotes/index.php @@ -240,10 +240,9 @@ if (CLIENT_REQUIRES_JSON) { if (isset($_SESSION["user_role"]) && $_SESSION["user_role"]["permission_emoteset_own"]) { echo '' ?>
- + " style="display: none;"> + value="" style="display: none;"> @@ -251,13 +250,11 @@ if (CLIENT_REQUIRES_JSON) {
- + " style="display: none;"> + value="" style="display: none;"> + value="" placeholder="get_code() ?>"> @@ -276,15 +273,13 @@ if (CLIENT_REQUIRES_JSON) { get_uploaded_by() === $_SESSION["user_id"]): ?> - +
- + -
+ +
+ +
-
- -
+

Emote name*

+ - + + '; + } + ?>
- - - - + } + } + - + -