From 44334d654977ed4ecd601c7a47127f91dea1517d Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 14 May 2025 23:18:20 +0500 Subject: feat: emote source --- public/emotes/index.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'public/emotes/index.php') diff --git a/public/emotes/index.php b/public/emotes/index.php index 978515f..68ae983 100644 --- a/public/emotes/index.php +++ b/public/emotes/index.php @@ -77,7 +77,8 @@ function display_list_emotes(PDO &$db, string $search, string $sort_by, int $pag $uploader, $row["is_in_user_set"], $row["rating"], - $row["visibility"] + $row["visibility"], + $row["source"] )); } @@ -107,7 +108,8 @@ function display_emote(PDO &$db, string $id) $row["uploaded_by"], false, ["total" => $row["total_rating"], "average" => $row["average_rating"]], - $row["visibility"] + $row["visibility"], + $row["source"] ); } } @@ -476,6 +478,15 @@ if (CLIENT_REQUIRES_JSON) { } ?> + get_source()): ?> + + Source + + get_source() ?> + + + -- cgit v1.2.3