14 lines
426 B
PHP
14 lines
426 B
PHP
|
<div class="page-header">
|
||
|
<h2><?= t('Console') ?></h2>
|
||
|
<ul>
|
||
|
<li><a href="?action=console"><?= t('refresh') ?></a></li>
|
||
|
<li><a href="?action=flush-console"><?= t('flush messages') ?></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<?php if (empty($content)): ?>
|
||
|
<p class="alert alert-info"><?= t('No messages') ?></p>
|
||
|
<?php else: ?>
|
||
|
<pre id="console"><code><?= Helper\escape($content) ?></code></pre>
|
||
|
<?php endif ?>
|