add phpinfo() in admin-panel, thx to EleRas; fixes #1270

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-10-02 09:48:24 +02:00
parent 91ed3cb128
commit 10dc017dd1
13 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/res_recalculate_big.png" alt="" />&nbsp;
{$lng['admin']['phpinfo']}
</h2>
</header>
<section class="fullform bradiusodd">
{$phpinfo}
</section>
</article>
$footer

View File

@@ -0,0 +1,3 @@
<tr>
<td colspan="3">{$val}</td>
</tr>

View File

@@ -0,0 +1,4 @@
<tr>
<td>{$key}</td>
<td colspan="2">{$val}</td>
</tr>

View File

@@ -0,0 +1,5 @@
<tr>
<td>{$key}</td>
<td>{$val[0]}</td>
<td>{$val[1]}</td>
</tr>

View File

@@ -0,0 +1,10 @@
<table>
<thead>
<tr>
<th colspan="3">{$name}</th>
</tr>
</thead>
<tbody>
{$phpinfoentries}
</tbody>
</table>