Added manuel integritycheck for admins

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2014-02-11 16:40:53 +01:00
parent b726a8528b
commit e3e4dba90d
7 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/res_recalculate_big.png" alt="" />&nbsp;
{$lng['admin']['integritycheck']}
</h2>
</header>
<section>
<table class="full">
<thead>
<tr>
<th>{$lng['admin']['integrityid']}</th>
<th>{$lng['admin']['integrityname']}</th>
<th>{$lng['admin']['integrityresult']}</th>
</tr>
</thead>
<tfoot>
<td colspan="3"><a href="{$linker->getLink(array('section' => 'settings', 'page' => $page, 'action' => 'fix'))}">{$lng['admin']['integrityfix']}</a></td>
</tfoot>
<tbody>
{$integritycheck}
</tbody>
</table>
</section>
</article>
$footer

View File

@@ -0,0 +1,5 @@
<tr class="top">
<td>{$displayid}</td>
<td>{$check}</td>
<td><if $result == '1'>OK<else>FAIL</if></td>
</tr>