migrated the themes to use the nice Settings-class
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
6
templates/Sparkle/admin/index/index.tpl
vendored
6
templates/Sparkle/admin/index/index.tpl
vendored
@@ -120,7 +120,7 @@ $header
|
||||
</small>
|
||||
</div>
|
||||
|
||||
<if $settings['system']['mail_quota_enabled'] == 1>
|
||||
<if Settings::Get('system.mail_quota_enabled') == 1>
|
||||
<div class="canvasbox">
|
||||
<input type="hidden" id="email_quota" class="circular" data-used="{$overview['email_quota_used']}" data-available="{$userinfo['email_quota']}" data-assigned="{$userinfo['email_quota_used']}">
|
||||
<canvas id="email_quota-canvas" width="120" height="76"></canvas><br/>
|
||||
@@ -148,7 +148,7 @@ $header
|
||||
</small>
|
||||
</div>
|
||||
|
||||
<if $settings['ticket']['enabled'] == 1>
|
||||
<if Settings::Get('ticket.enabled') == 1>
|
||||
<div class="canvasbox">
|
||||
<input type="hidden" id="tickets" class="circular" data-used="{$overview['tickets_used']}" data-available="{$userinfo['tickets']}" data-assigned="{$userinfo['tickets_used']}">
|
||||
<canvas id="tickets-canvas" width="120" height="76"></canvas><br/>
|
||||
@@ -166,7 +166,7 @@ $header
|
||||
</section>
|
||||
|
||||
|
||||
<if $settings['admin']['show_news_feed'] == '1'>
|
||||
<if Settings::Get('admin.show_news_feed') == '1'>
|
||||
<section class="dboarditem bradius" id="newsfeed" style="display: none">
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user