mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
1) they now have their own matching severity constants 2) they both have convenience functions success(), info(), warning() and error() 3) they both have severity_class()
12 lines
383 B
PHP
12 lines
383 B
PHP
<? defined("SYSPATH") or die("No direct script access."); ?>
|
|
<ul>
|
|
<? foreach ($entries as $entry): ?>
|
|
<li class="<?= log::severity_class($entry->severity) ?>">
|
|
<a href="<?= url::site("user/$entry->user_id") ?>"><?= $entry->user->name ?></a>
|
|
<?= date("Y-M-d H:i:s", $entry->timestamp) ?>
|
|
<?= $entry->message ?>
|
|
<?= $entry->html ?>
|
|
</li>
|
|
<? endforeach ?>
|
|
</ul>
|