bludit/bl-kernel/admin/views/dashboard.php

30 lines
693 B
PHP
Raw Normal View History

2018-05-20 21:48:43 +02:00
<div class="container">
<div class="row">
<div class="col-7">
1 of 2
2015-06-26 06:31:53 +02:00
</div>
2018-05-20 21:48:43 +02:00
<div class="col-5">
2015-06-26 06:31:53 +02:00
2018-05-20 21:48:43 +02:00
<!-- Notifications -->
<ul class="list-group">
<?php
$logs = array_slice($Syslog->db, 0, NOTIFICATIONS_AMOUNT);
2018-05-20 21:48:43 +02:00
foreach ($logs as $log) {
$phrase = $L->g($log['dictionaryKey']);
echo '<li class="list-group-item">';
echo $phrase;
if (!empty($log['notes'])) {
echo ' « <b>'.$log['notes'].'</b> »';
}
echo '<br><span class="notification-date">';
echo Date::format($log['date'], DB_DATE_FORMAT, NOTIFICATIONS_DATE_FORMAT);
echo ' - by '.$log['username'];
echo '</span>';
echo '</li>';
}
2018-05-20 21:48:43 +02:00
?>
</ul>
2017-12-20 20:37:17 +01:00
2015-07-31 02:49:29 +02:00
</div>
2015-10-19 00:45:58 +02:00
</div>
2018-05-20 21:48:43 +02:00
</div>