File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 <br >
1313 <table cellspacing =" 0" cellpadding =" 4" width =" 100%" border =" 0" >
1414 <tr >
15- <td align =" center" >  ; Anuko Time Tracker 1.9.27.3510 | Copyright © ; <a href =" https://www.anuko.com/lp/tt_3.htm" target =" _blank" >Anuko</a > |
15+ <td align =" center" >  ; Anuko Time Tracker 1.9.27.3511 | Copyright © ; <a href =" https://www.anuko.com/lp/tt_3.htm" target =" _blank" >Anuko</a > |
1616 <a href =" https://www.anuko.com/lp/tt_4.htm" target =" _blank" >{ $i18n .footer.credits} </a > |
1717 <a href =" https://www.anuko.com/lp/tt_5.htm" target =" _blank" >{ $i18n .footer.license} </a > |
1818 <a href =" https://www.anuko.com/lp/tt_7.htm" target =" _blank" >{ $i18n .footer.improve} </a >
Original file line number Diff line number Diff line change @@ -358,9 +358,9 @@ function get_time() {
358358 <tr >
359359 <td align =" left" >{ $i18n .label.month_total} : { $month_total } </td >
360360 { if $over_quota }
361- <td align =" right" >{ $i18n .form.time.over_quota} : <span style =" color : green ;" >{ $month_left } </span ></td >
361+ <td align =" right" >{ $i18n .form.time.over_quota} : <span style =" color : green ;" >{ $quota_remaining } </span ></td >
362362 { else }
363- <td align =" right" >{ $i18n .form.time.remaining_quota} : <span style =" color : red ;" >{ $month_left } </span ></td >
363+ <td align =" right" >{ $i18n .form.time.remaining_quota} : <span style =" color : red ;" >{ $quota_remaining } </span ></td >
364364 { /if }
365365 </tr >
366366 { /if }
Original file line number Diff line number Diff line change 6666if ($ user ->isPluginEnabled ('mq ' )){
6767 require_once ('plugins/MonthlyQuota.class.php ' );
6868 $ quota = new MonthlyQuota ();
69- $ monthlyQuota = $ quota ->get ($ selected_date ->mYear , $ selected_date ->mMonth );
69+ $ month_quota = $ quota ->get ($ selected_date ->mYear , $ selected_date ->mMonth );
7070 $ month_total = ttTimeHelper::getTimeForMonth ($ user ->getActiveUser (), $ selected_date );
71- $ minutesLeft = ttTimeHelper::toMinutes ($ monthlyQuota ) - ttTimeHelper::toMinutes ($ month_total );
71+ $ minutes_left = ttTimeHelper::toMinutes ($ month_quota ) - ttTimeHelper::toMinutes ($ month_total );
7272
7373 $ smarty ->assign ('month_total ' , $ month_total );
74- $ smarty ->assign ('over_quota ' , $ minutesLeft < 0 );
75- $ smarty ->assign ('month_left ' , ttTimeHelper::toAbsDuration ($ minutesLeft ));
74+ $ smarty ->assign ('over_quota ' , $ minutes_left < 0 );
75+ $ smarty ->assign ('quota_remaining ' , ttTimeHelper::toAbsDuration ($ minutes_left ));
7676}
7777
7878// Initialize variables.
You can’t perform that action at this time.
0 commit comments