nextcloud/settings/templates/log.php

31 lines
692 B
PHP
Raw Normal View History

2011-10-16 22:49:14 +04:00
<?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.
*/
2011-10-16 23:08:44 +04:00
$levels=array('Debug','Info','Warning','Error','Fatal');
2011-10-16 22:49:14 +04:00
?>
<div id="controls">
</div>
2012-02-26 00:19:32 +04:00
<table id='log'>
2011-10-16 22:49:14 +04:00
<?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;?>
2012-02-26 00:19:32 +04:00
</table>
<input id='moreLog' type='button' value='<?php echo $l->t('More');?>...'></input>