Foxes date and time on dashboard
parent
b4df4b785a
commit
eecd74cc0f
|
@ -18,7 +18,11 @@
|
||||||
<!-- widget "<?= htmlspecialchars($widget['name']) ?>" -->
|
<!-- widget "<?= htmlspecialchars($widget['name']) ?>" -->
|
||||||
<div class="collapse show" id="collapse<?= htmlspecialchars($widget['name']) ?>">
|
<div class="collapse show" id="collapse<?= htmlspecialchars($widget['name']) ?>">
|
||||||
<?php if ($time_range_specified) { ?>
|
<?php if ($time_range_specified) { ?>
|
||||||
<p class="m-3">time period: <strong><?= htmlspecialchars($from_time) ?> - <?= htmlspecialchars($until_time) ?></strong></p>
|
<p class="m-3">time period:
|
||||||
|
<strong>
|
||||||
|
<?= $from_time == '0000-01-01' ? 'beginning' : date('d M Y', strtotime($from_time)) ?> - <?= $until_time == '9999-12-31' ? 'now' : date('d M Y', strtotime($until_time)) ?>
|
||||||
|
</strong>
|
||||||
|
</p>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="mb-5">
|
<div class="mb-5">
|
||||||
<?php if ($widget['full'] === true) { ?>
|
<?php if ($widget['full'] === true) { ?>
|
||||||
|
|
Loading…
Reference in New Issue