use correct Settings-class in templates
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
6
templates/Sparkle/customer/index/index.tpl
vendored
6
templates/Sparkle/customer/index/index.tpl
vendored
@@ -92,7 +92,7 @@ $header
|
||||
</div>
|
||||
</if>
|
||||
|
||||
<if Settings::Get('system.mail_quota_enabled') == 1 && $userinfo['email_quota'] != '0'>
|
||||
<if \Froxlor\Settings::Get('system.mail_quota_enabled') == 1 && $userinfo['email_quota'] != '0'>
|
||||
<div class="canvasbox">
|
||||
<input type="hidden" id="email_quota" class="circular" data-used="{$userinfo['email_quota_used']}" data-available="{$userinfo['email_quota']}">
|
||||
<canvas id="email_quota-canvas" width="120" height="76"></canvas><br />
|
||||
@@ -135,7 +135,7 @@ $header
|
||||
</div>
|
||||
</if>
|
||||
|
||||
<if (int)Settings::Get('ticket.enabled') == 1 && $userinfo['tickets'] != '0'>
|
||||
<if (int)\Froxlor\Settings::Get('ticket.enabled') == 1 && $userinfo['tickets'] != '0'>
|
||||
<div class="canvasbox">
|
||||
<input type="hidden" id="tickets" class="circular" data-used="{$userinfo['tickets_used']}" data-available="{$userinfo['tickets']}">
|
||||
<canvas id="tickets-canvas" width="120" height="76"></canvas><br />
|
||||
@@ -151,7 +151,7 @@ $header
|
||||
</div>
|
||||
|
||||
<div class="grid-u-1-2">
|
||||
<if Settings::Get('customer.show_news_feed') == '1'>
|
||||
<if \Froxlor\Settings::Get('customer.show_news_feed') == '1'>
|
||||
<table class="dboarditem full" id="newsfeed" data-role="customer">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user