mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-11 15:19:09 -04:00
1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
12 lines
385 B
PHP
12 lines
385 B
PHP
<?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>
|