<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.17.87.4237 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.17.87.4238 | 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>
if (!defined('CURRENCY_DEFAULT')) define('CURRENCY_DEFAULT', '$');
if ($request->isPost()) {
- $cl_team = trim($request->getParameter('team_name'));
+ $cl_group = trim($request->getParameter('group_name'));
$cl_currency = trim($request->getParameter('currency'));
if (!$cl_currency) $cl_currency = CURRENCY_DEFAULT;
$cl_lang = $request->getParameter('lang');
$cl_quotas = $request->getParameter('quotas');
$cl_week_view = $request->getParameter('week_view');
} else {
- $cl_team = $user->group;
+ $cl_group = $user->group;
$cl_currency = ($user->currency == ''? CURRENCY_DEFAULT : $user->currency);
$cl_lang = $user->lang;
$cl_decimal_mark = $user->decimal_mark;
}
$form = new Form('groupForm');
-$form->addInput(array('type'=>'text','maxlength'=>'200','name'=>'team_name','value'=>$cl_team,'enable'=>$advanced_settings));
+$form->addInput(array('type'=>'text','maxlength'=>'200','name'=>'group_name','value'=>$cl_group,'enable'=>$advanced_settings));
$form->addInput(array('type'=>'text','maxlength'=>'7','name'=>'currency','value'=>$cl_currency));
// Prepare an array of available languages.
if ($request->isPost()) {
// Validate user input.
- if (!ttValidString($cl_team, true)) $err->add($i18n->get('error.field'), $i18n->get('label.group_name'));
+ if (!ttValidString($cl_group, true)) $err->add($i18n->get('error.field'), $i18n->get('label.group_name'));
if (!ttValidString($cl_currency, true)) $err->add($i18n->get('error.field'), $i18n->get('label.currency'));
if ($advanced_settings) {
if (!ttValidEmail($cl_bcc_email, true)) $err->add($i18n->get('error.field'), $i18n->get('label.bcc'));
$config = trim($config, ',');
$update_result = ttTeamHelper::update($user->group_id, array(
- 'name' => $cl_team,
+ 'name' => $cl_group,
'currency' => $cl_currency,
'lang' => $cl_lang,
'decimal_mark' => $cl_decimal_mark,