diff --git a/ui/ui/user-dashboard.tpl b/ui/ui/user-dashboard.tpl index 34c12fbc..7c387eec 100644 --- a/ui/ui/user-dashboard.tpl +++ b/ui/ui/user-dashboard.tpl @@ -124,15 +124,24 @@ {else} {assign var="exp" value=explode(':',$v)} {Lang::moneyFormat($exp[0])} - {$exp[1]}x - {assign var="total" value=$exp[0]+$total} + {if $exp[1]==0}{Lang::T('paid off')}{else}{$exp[1]}x{/if} + {if $exp[1]>0} + {assign var="total" value=$exp[0]+$total} + {/if} {/if} {/foreach} {Lang::T('Total')} - {Lang::moneyFormat($total)} + + {if $total==0} + {ucwords(Lang::T('paid off'))} + {else} + {Lang::moneyFormat($total)} + {/if} + {/if} @@ -166,6 +175,12 @@ {/if} + + {Lang::T('Bandwidth')} + + {$_bill['name_bw']} + + {Lang::T('Created On')} @@ -234,9 +249,14 @@ href="{$_url}home&extend={$_bill['id']}&stoken={App::getToken()}" onclick="return confirm('{Text::toHex($_c['extend_confirmation'])}')">{Lang::T('Extend')} {/if} - {Lang::T('Recharge')} + {Lang::T('Sync')}