summaryrefslogtreecommitdiff
path: root/system/emotes/index.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-12-09 01:51:38 +0500
committerilotterytea <iltsu@alright.party>2025-12-09 01:51:38 +0500
commit64a9bfae4a659f38f33320e59004a1d1dd259a40 (patch)
tree037ada7511f50fa78dff1c6645b984b327f77ce2 /system/emotes/index.php
parent29477e67ede12347b153e2255325327374e1b073 (diff)
upd: replaced <?php echo with <?=
Diffstat (limited to 'system/emotes/index.php')
-rw-r--r--system/emotes/index.php9
1 files changed, 4 insertions, 5 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>