diff options
| author | ilotterytea <iltsu@alright.party> | 2025-05-03 01:44:47 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-05-03 01:44:47 +0500 |
| commit | a8272c3db0153aedc5e1641c4b3fc05666c632e4 (patch) | |
| tree | 328fa4e8cea596831206adebcad2e2ec3d511b80 | |
| parent | 00fd9ddb01e9632992ba21c80c36bb072de9273d (diff) | |
feat: favicon
| -rw-r--r-- | public/404.php | 1 | ||||
| -rw-r--r-- | public/account/index.php | 1 | ||||
| -rw-r--r-- | public/account/login/index.php | 1 | ||||
| -rw-r--r-- | public/captcha.php | 1 | ||||
| -rw-r--r-- | public/emotes/index.php | 1 | ||||
| -rw-r--r-- | public/emotes/upload.php | 1 | ||||
| -rw-r--r-- | public/emotesets.php | 1 | ||||
| -rw-r--r-- | public/inbox.php | 1 | ||||
| -rw-r--r-- | public/index.php | 1 | ||||
| -rw-r--r-- | public/report/index.php | 1 | ||||
| -rw-r--r-- | public/report/list.php | 1 | ||||
| -rw-r--r-- | public/static/favicon.ico | bin | 0 -> 1150 bytes | |||
| -rw-r--r-- | public/system/emotes/index.php | 1 | ||||
| -rw-r--r-- | public/system/index.php | 1 | ||||
| -rw-r--r-- | public/users.php | 2 | ||||
| -rw-r--r-- | src/partials.php | 2 |
16 files changed, 17 insertions, 0 deletions
diff --git a/public/404.php b/public/404.php index 8a4106d..8d36c12 100644 --- a/public/404.php +++ b/public/404.php @@ -7,6 +7,7 @@ http_response_code(404); <head> <title>Not found - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/account/index.php b/public/account/index.php index 6b1385f..ff0b745 100644 --- a/public/account/index.php +++ b/public/account/index.php @@ -72,6 +72,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { <head> <title>Account management - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/account/login/index.php b/public/account/login/index.php index 954ccc9..4eb37ae 100644 --- a/public/account/login/index.php +++ b/public/account/login/index.php @@ -18,6 +18,7 @@ if (!ACCOUNT_REGISTRATION_ENABLE) { <head> <title>Login - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/captcha.php b/public/captcha.php index c872672..58283bf 100644 --- a/public/captcha.php +++ b/public/captcha.php @@ -45,6 +45,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["h-captcha-response"])) <head> <title>Resolving a hCaptcha - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> <script src='https://www.hCaptcha.com/1/api.js' async defer></script> </head> diff --git a/public/emotes/index.php b/public/emotes/index.php index 3c165be..2013f9b 100644 --- a/public/emotes/index.php +++ b/public/emotes/index.php @@ -157,6 +157,7 @@ if (CLIENT_REQUIRES_JSON) { echo (empty($emotes) ? "Emote " . $emote->get_code() : "Emotes") . ' - ' . INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/emotes/upload.php b/public/emotes/upload.php index fc8de71..137e29b 100644 --- a/public/emotes/upload.php +++ b/public/emotes/upload.php @@ -50,6 +50,7 @@ if ($_SERVER['REQUEST_METHOD'] != "POST") { <head> <title>Upload an emote - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/emotesets.php b/public/emotesets.php index cacdae4..4e01cba 100644 --- a/public/emotesets.php +++ b/public/emotesets.php @@ -191,6 +191,7 @@ if (CLIENT_REQUIRES_JSON) { ?> </title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/inbox.php b/public/inbox.php index 7d632b6..f7742d1 100644 --- a/public/inbox.php +++ b/public/inbox.php @@ -25,6 +25,7 @@ $stmt->execute([$_SESSION["user_id"]]); <head> <title>Inbox - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/index.php b/public/index.php index 11f48ee..d9321fd 100644 --- a/public/index.php +++ b/public/index.php @@ -11,6 +11,7 @@ authorize_user(); <head> <title><?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/report/index.php b/public/report/index.php index aef571e..e5014c4 100644 --- a/public/report/index.php +++ b/public/report/index.php @@ -61,6 +61,7 @@ if ($contents == "") { <title><?php echo ($report == null ? "Send a message to MODS" : "A message to MODS") . ' - ' . INSTANCE_NAME ?> </title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/report/list.php b/public/report/list.php index 34ddceb..f02731a 100644 --- a/public/report/list.php +++ b/public/report/list.php @@ -32,6 +32,7 @@ $reports = $stmt->fetchAll(PDO::FETCH_ASSOC); <head> <title>Report list - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/static/favicon.ico b/public/static/favicon.ico Binary files differnew file mode 100644 index 0000000..ff8f9ad --- /dev/null +++ b/public/static/favicon.ico diff --git a/public/system/emotes/index.php b/public/system/emotes/index.php index 1c16152..713957e 100644 --- a/public/system/emotes/index.php +++ b/public/system/emotes/index.php @@ -45,6 +45,7 @@ if ($emote_id > 0) { <head> <title>System panel - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/system/index.php b/public/system/index.php index 601339b..8786b0e 100644 --- a/public/system/index.php +++ b/public/system/index.php @@ -23,6 +23,7 @@ $db = new PDO(DB_URL, DB_USER, DB_PASS); <head> <title>System panel - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/public/users.php b/public/users.php index fbedb4d..95a7958 100644 --- a/public/users.php +++ b/public/users.php @@ -54,6 +54,7 @@ if ($id == "" && $alias_id == "") { <head> <title>User list - <?php echo INSTANCE_NAME ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> @@ -309,6 +310,7 @@ if ($is_json) { <head> <title><?php echo sprintf("%s - %s", $user->username(), INSTANCE_NAME) ?></title> <link rel="stylesheet" href="/static/style.css"> + <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> diff --git a/src/partials.php b/src/partials.php index 2314810..07f2636 100644 --- a/src/partials.php +++ b/src/partials.php @@ -1,6 +1,8 @@ <?php function html_navigation_bar() { + include_once "config.php"; + echo '' ?> <section class="navbar"> <a href="/" class="brand" style="color:black;text-decoration:none;"> |
