diff options
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(() => { |
