diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-12-25 23:43:44 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-25 23:43:44 +0000 |
| commit | 2c91a7e9ced0d2134682450dc1713b8e1b239dae (patch) | |
| tree | 25b7bd2cb67fba30e091ff8e250714250ae7ad4f /core/views | |
| parent | 847d42682d02f2bd86ff0e5a247c38e1f55d86b9 (diff) | |
Rework log and message helpers to be parallel, but separate.
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()
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/admin_block_log_entries.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/admin_block_log_entries.html.php b/core/views/admin_block_log_entries.html.php index 7b25d3fc..c0d9729d 100644 --- a/core/views/admin_block_log_entries.html.php +++ b/core/views/admin_block_log_entries.html.php @@ -1,7 +1,7 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <ul> <? foreach ($entries as $entry): ?> - <li class="<?= message::severity_class($entry->severity) ?>"> + <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 ?> |
