$user_part .= " role_id=\"".$role_id."\"";
$user_part .= " client_id=\"".$this->clientMap[$user_item['client_id']]."\"";
$user_part .= " rate=\"".$user_item['rate']."\"";
+ $user_part .= " quota_percent=\"".$user_item['quota_percent']."\"";
$user_part .= " email=\"".$user_item['email']."\"";
$user_part .= " status=\"".$user_item['status']."\"";
$user_part .= "></user>\n";
'login' => $attrs['LOGIN'],
'password' => $attrs['PASSWORD'],
'rate' => $attrs['RATE'],
+ 'quota_percent' => $attrs['QUOTA_PERCENT'],
'email' => $attrs['EMAIL'],
'status' => $attrs['STATUS']), false);
if ($user_id) {
$group_id = (int) $fields['group_id'];
$org_id = (int) $fields['org_id'];
- $columns = '(login, password, name, group_id, org_id, role_id, client_id, rate, email, created, created_ip, created_by, status)';
+ $columns = '(login, password, name, group_id, org_id, role_id, client_id, rate, quota_percent, email, created, created_ip, created_by, status)';
$values = 'values (';
$values .= $mdb2->quote($fields['login']);
$values .= ', '.(int)$fields['role_id'];
$values .= ', '.$mdb2->quote($fields['client_id']);
$values .= ', '.$mdb2->quote($fields['rate']);
+ $values .= ', '.$mdb2->quote($fields['quota_percent']);
$values .= ', '.$mdb2->quote($fields['email']);
$values .= ', now(), '.$mdb2->quote($_SERVER['REMOTE_ADDR']).', '.$user->id;
$values .= ', '.$mdb2->quote($fields['status']);
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.36.4684 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.36.4685 | 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>