diff options
| author | moderndevslulw <moderndevslulw@alright.party> | 2025-07-08 17:17:54 +0500 |
|---|---|---|
| committer | moderndevslulw <moderndevslulw@alright.party> | 2025-07-08 17:17:54 +0500 |
| commit | 5977563c08b4a5aa15aeaeecc66265c69e059492 (patch) | |
| tree | 1b30b0edcf77122af398d9a2d8ad446e726519b2 | |
| parent | 7b74d27ec8c2abc75673ba9dcf1820bfdb032215 (diff) | |
upd: title in channels
| -rw-r--r-- | public/channels/index.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/public/channels/index.php b/public/channels/index.php index edd86eb..e9ef56f 100644 --- a/public/channels/index.php +++ b/public/channels/index.php @@ -151,7 +151,14 @@ if (!empty($channels)) { <html> <head> - <title>Channels - The Tinybot Project</title> + <title> + <?php if ($channel): ?> + <?= $channel['alias_name'] ?> + <?php else: ?> + Channels + <?php endif; ?> + - <?= BOT_USERNAME_FORMATTED ?> + </title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> |
