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
|
2017-06-09 20:30:13 +02:00
|
|
|
$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'])) {
|
2017-09-08 00:43:53 +02:00
|
|
|
echo ' « <b>'.$log['notes'].'</b> »';
|
2017-06-09 20:30:13 +02:00
|
|
|
}
|
|
|
|
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>
|