31 lines
692 B
PHP
31 lines
692 B
PHP
<?php /**
|
|
* Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
|
|
* This file is licensed under the Affero General Public License version 3 or later.
|
|
* See the COPYING-README file.
|
|
*/
|
|
$levels=array('Debug','Info','Warning','Error','Fatal');
|
|
?>
|
|
|
|
<div id="controls">
|
|
|
|
</div>
|
|
<table id='log'>
|
|
<?php foreach($_['entries'] as $entry):?>
|
|
<tr>
|
|
<td>
|
|
<?php echo $levels[$entry->level];?>
|
|
</td>
|
|
<td>
|
|
<?php echo $entry->app;?>
|
|
</td>
|
|
<td>
|
|
<?php echo $entry->message;?>
|
|
</td>
|
|
<td>
|
|
<?php echo $l->l('datetime',$entry->time);?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach;?>
|
|
</table>
|
|
<input id='moreLog' type='button' value='<?php echo $l->t('More');?>...'></input>
|