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 /lib/alert.php | |
| parent | 29477e67ede12347b153e2255325327374e1b073 (diff) | |
upd: replaced <?php echo with <?=
Diffstat (limited to 'lib/alert.php')
| -rw-r--r-- | lib/alert.php | 6 |
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(() => { |
