// define('AUTH_DEBUG', false); // Note: enabling AUTH_DEBUG breaks redirects as debug output is printed before setting redirect header. Do not enable on production systems.
-// team manager can set monthly quota for years between these values:
-define('MONTHLY_QUOTA_YEARS_START', 2010); // if nothing is specified, it falls back to 2010
-define('MONTHLY_QUOTA_YEARS_END', 2031); // if nothing is specified it falls back to 2030
+
+// Team managers can set monthly work hour quota for years between the following values.
+// define('MONTHLY_QUOTA_YEAR_START', 2010); // If nothing is specified, it falls back to 2015.
+// define('MONTHLY_QUOTA_YEAR_END', 2025); // if nothing is specified it falls back to 2030.
// note input height in time.php
define('NOTE_INPUT_HEIGHT', '40');
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.9.26.3503 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.9.26.3504 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
}
// fallback values
-$yearStart = 2010;
+$yearStart = 2015;
$yearEnd = 2030;
-if (defined('MONTHLY_QUOTA_YEARS_START')){
- $yearStart = (int)MONTHLY_QUOTA_YEARS_START;
+if (defined('MONTHLY_QUOTA_YEAR_START')){
+ $yearStart = (int)MONTHLY_QUOTA_YEAR_START;
}
-if (defined('MONTHLY_QUOTA_YEARS_END')){
- $yearEnd = (int)MONTHLY_QUOTA_YEARS_END;
+if (defined('MONTHLY_QUOTA_YEAR_END')){
+ $yearEnd = (int)MONTHLY_QUOTA_YEAR_END;
}
// create values for dropdown
$years = array();
-for ($i=$yearStart; $i < $yearEnd; $i++) {
+for ($i=$yearStart; $i <= $yearEnd; $i++) {
array_push($years, array('id'=>$i, 'name'=>$i));
}