summaryrefslogtreecommitdiff
path: root/lib/alert.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 /lib/alert.php
parent29477e67ede12347b153e2255325327374e1b073 (diff)
upd: replaced <?php echo with <?=
Diffstat (limited to 'lib/alert.php')
-rw-r--r--lib/alert.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/alert.php b/lib/alert.php
index 823a97a..2983378 100644
--- a/lib/alert.php
+++ b/lib/alert.php
@@ -26,9 +26,9 @@ function display_alert()
$ok = substr($status, 0, 1) == '2';
echo '' ?>
- <div class="box row alert <?php echo $ok ? '' : 'red' ?>" style="gap:8px;" id="alert-box">
- <img src="/static/img/icons/<?php echo $ok ? 'yes' : 'no' ?>.png" alt="">
- <p><b><?php echo $reason ?></b></p>
+ <div class="box row alert <?= $ok ? '' : 'red' ?>" style="gap:8px;" id="alert-box">
+ <img src="/static/img/icons/<?= $ok ? 'yes' : 'no' ?>.png" alt="">
+ <p><b><?= $reason ?></b></p>
</div>
<script>
setTimeout(() => {