Commit 646ed151 by Tobias Munk

readded phpinfo links and separator, now opens in a new tab

parent b3e6aedc
......@@ -7,6 +7,9 @@ use yii\helpers\Html;
$extensions = $panel->getExtensions();
?>
<h1>Configuration</h1>
<div><?= Html::a('Show phpinfo() »', ['phpinfo'], ['class' => 'btn btn-info', 'target' => 'phpinfo']) ?></div>
<?php
echo $this->render('panels/config/table', [
'caption' => 'Application Configuration',
......@@ -34,5 +37,4 @@ echo $this->render('panels/config/table', [
'Memcache' => $panel->data['php']['memcache'] ? 'Enabled' : 'Disabled',
],
]);
?>
<div><?= Html::a('Show phpinfo() »', ['phpinfo'], ['class' => 'btn btn-primary']) ?></div>
?>
\ No newline at end of file
......@@ -9,6 +9,9 @@ use yii\helpers\Html;
<div class="yii-debug-toolbar-block">
<a href="<?= $panel->getUrl() ?>">
<img width="29" height="30" alt="" src="<?= $panel->getYiiLogo() ?>">
<span><span class="label"><?= $panel->data['application']['yii'] ?></span> PHP <span class="label"><?= $panel->data['php']['version'] ?></span></span>
<span><?= $panel->data['application']['yii'] ?></span>
</a>
</div>
\ No newline at end of file
</div>
<div class="yii-debug-toolbar-block">
<?= Html::a('PHP ' . $panel->data['php']['version'], ['phpinfo'], ['title' => 'Show phpinfo()', 'target' => 'phpinfo']) ?>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment