// The getActiveUsers obtains all active users in a given team.
static function getActiveUsers($options = null) {
global $user;
+ global $i18n;
$mdb2 = getConnection();
if (isset($options['getAllFields']))
if (is_a($res, 'PEAR_Error'))
return false;
while ($val = $res->fetchRow()) {
+ // Localize top manager role name, as it is not localized in db.
+ if ($val['rank'] == 512)
+ $val['role_name'] = $i18n->getKey('role.top_manager.label');
$user_list[] = $val;
}
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.17.47.4084 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.17.47.4085 | 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>