add phpinfo() in admin-panel, thx to EleRas; fixes #1270
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
14
templates/Sparkle/admin/settings/phpinfo.tpl
vendored
Normal file
14
templates/Sparkle/admin/settings/phpinfo.tpl
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/res_recalculate_big.png" alt="" />
|
||||
{$lng['admin']['phpinfo']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
{$phpinfo}
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
3
templates/Sparkle/admin/settings/phpinfo/phpinfo_1.tpl
vendored
Normal file
3
templates/Sparkle/admin/settings/phpinfo/phpinfo_1.tpl
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<tr>
|
||||
<td colspan="3">{$val}</td>
|
||||
</tr>
|
||||
4
templates/Sparkle/admin/settings/phpinfo/phpinfo_2.tpl
vendored
Normal file
4
templates/Sparkle/admin/settings/phpinfo/phpinfo_2.tpl
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<tr>
|
||||
<td>{$key}</td>
|
||||
<td colspan="2">{$val}</td>
|
||||
</tr>
|
||||
5
templates/Sparkle/admin/settings/phpinfo/phpinfo_3.tpl
vendored
Normal file
5
templates/Sparkle/admin/settings/phpinfo/phpinfo_3.tpl
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<tr>
|
||||
<td>{$key}</td>
|
||||
<td>{$val[0]}</td>
|
||||
<td>{$val[1]}</td>
|
||||
</tr>
|
||||
10
templates/Sparkle/admin/settings/phpinfo/phpinfo_table.tpl
vendored
Normal file
10
templates/Sparkle/admin/settings/phpinfo/phpinfo_table.tpl
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="3">{$name}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{$phpinfoentries}
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user