diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-09 01:51:38 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-09 01:51:38 +0500 |
| commit | 64a9bfae4a659f38f33320e59004a1d1dd259a40 (patch) | |
| tree | 037ada7511f50fa78dff1c6645b984b327f77ce2 /system | |
| parent | 29477e67ede12347b153e2255325327374e1b073 (diff) | |
upd: replaced <?php echo with <?=
Diffstat (limited to 'system')
| -rw-r--r-- | system/emotes/index.php | 9 | ||||
| -rw-r--r-- | system/index.php | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/system/emotes/index.php b/system/emotes/index.php index 79be71f..d2ac1f8 100644 --- a/system/emotes/index.php +++ b/system/emotes/index.php @@ -65,7 +65,7 @@ if (isset($_GET["id"])) { <html> <head> - <title>System panel - <?php echo CONFIG['instance']['name'] ?></title> + <title>System panel - <?= CONFIG['instance']['name'] ?></title> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> @@ -201,14 +201,13 @@ if (isset($_GET["id"])) { </tr> <tr> <th>Notes</th> - <td><?php echo isset($emote["notes"]) == true ? $emote["notes"] : '<i>Empty</i>' ?></td> + <td><?= isset($emote["notes"]) == true ? $emote["notes"] : '<i>Empty</i>' ?></td> </tr> <?php if ($emote["source"]): ?> <tr> <th>Source</th> <td> - <a href="<?php echo $emote["source"] ?>" - target="_blank"><?php echo $emote["source"] ?></a> + <a href="<?= $emote["source"] ?>" target="_blank"><?= $emote["source"] ?></a> </td> </tr> <?php endif; ?> @@ -216,7 +215,7 @@ if (isset($_GET["id"])) { </section> <!-- Emote actions --> <form action="/system/emotes/verdict.php" method="post"> - <input type="text" name="id" value="<?php echo $emote["id"] ?>" style="display: none;"> + <input type="text" name="id" value="<?= $emote["id"] ?>" style="display: none;"> <input type="text" name="action" value="none" id="form-action" style="display: none;"> <div class="column small-gap"> <noscript>JavaScript is required!!!</noscript> diff --git a/system/index.php b/system/index.php index 31291be..59dedfa 100644 --- a/system/index.php +++ b/system/index.php @@ -21,7 +21,7 @@ $db = new PDO(CONFIG['database']['url'], CONFIG['database']['user'], CONFIG['dat <html> <head> - <title>System panel - <?php echo CONFIG['instance']['name'] ?></title> + <title>System panel - <?= CONFIG['instance']['name'] ?></title> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> |
