var $date_format = null; // Date format.
var $time_format = null; // Time format.
var $week_start = 0; // Week start day.
- var $show_holidays = 0; // Whether to show holidays in calendar.
var $tracking_mode = 0; // Tracking mode.
var $project_required = 0; // Whether project selection is required on time entires.
var $task_required = 0; // Whether task selection is required on time entires.
$this->config = $val['config'];
$this->configHelper = new ttConfigHelper($val['config']);
// Set user config options.
- $this->show_holidays = $this->configHelper->getDefinedValue('show_holidays');
$this->punch_mode = $this->configHelper->getDefinedValue('punch_mode');
$this->allow_overlap = $this->configHelper->getDefinedValue('allow_overlap');
$this->future_entries = $this->configHelper->getDefinedValue('future_entries');
var $date_format = null; // Date format.
var $time_format = null; // Time format.
var $week_start = 0; // Week start day.
- var $show_holidays = 0; // Whether to show holidays in calendar.
var $tracking_mode = 0; // Tracking mode.
var $project_required = 0; // Whether project selection is required on time entires.
var $task_required = 0; // Whether task selection is required on time entires.
$this->configHelper = new ttConfigHelper($val['config']);
// Set user config options.
- $this->show_holidays = $this->configHelper->getDefinedValue('show_holidays');
$this->punch_mode = $this->configHelper->getDefinedValue('punch_mode');
$this->allow_overlap = $this->configHelper->getDefinedValue('allow_overlap');
$this->future_entries = $this->configHelper->getDefinedValue('future_entries');
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
'form.group_edit.24_hours' => '24 timers',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Registrerings tilstand',
'form.group_edit.mode_time' => 'Tid',
'form.group_edit.24_hours' => '24 Stunden',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-'form.group_edit.show_holidays' => 'Zeige Feiertage',
-// TODO: translate the following.
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Nachverfolgung',
'form.group_edit.mode_time' => 'Zeit',
'form.group_edit.12_hours' => '12 hours',
'form.group_edit.24_hours' => '24 hours',
'form.group_edit.display_options' => 'Display options',
-'form.group_edit.show_holidays' => 'Show holidays',
'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Tracking mode',
'form.group_edit.mode_time' => 'time',
'form.group_edit.24_hours' => '24 horas',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
'form.group_edit.24_hours' => '24 tundi',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-'form.group_edit.show_holidays' => 'Näita pühi',
-// TODO: translate the following.
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Jälgimise režiim',
'form.group_edit.mode_time' => 'ajaarvestus',
'form.group_edit.24_hours' => '24 ساعت',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'حالت رهگیری',
'form.group_edit.mode_time' => 'زمان',
'form.group_edit.24_hours' => '24-tuntinen',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Seurantamuoto',
'form.group_edit.mode_time' => 'aika',
'form.group_edit.24_hours' => '24 heures',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Mode suivi',
'form.group_edit.mode_time' => 'Heures',
'form.group_edit.24_hours' => '24 ώρες',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-'form.group_edit.show_holidays' => 'Προβολή διακοπών',
-// TODO: translate the following.
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Λειτουργία καταγραφής',
'form.group_edit.mode_time' => 'χρόνος',
'form.group_edit.24_hours' => '24 שעות',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'סוג מעקב',
'form.group_edit.mode_time' => 'זמן',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
'form.group_edit.24_hours' => '24 ore',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-'form.group_edit.show_holidays' => 'Mostra vacanze',
-// TODO: translate the following.
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Modalità di registrazione',
'form.group_edit.mode_time' => 'tempo',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
'form.group_edit.24_hours' => '24 uurs',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-'form.group_edit.show_holidays' => 'Toon vakantiedagen',
-// TODO: translate the following.
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Bijhouden',
'form.group_edit.mode_time' => 'tijd',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
'form.group_edit.24_hours' => '24 godziny',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Tryb śledzenia',
'form.group_edit.mode_time' => 'czas',
'form.group_edit.24_hours' => '24 horas',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Modo de acompanhamento',
'form.group_edit.mode_time' => 'tempo',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
'form.group_edit.12_hours' => '12 часов',
'form.group_edit.24_hours' => '24 часа',
'form.group_edit.display_options' => 'Опции отображения',
-'form.group_edit.show_holidays' => 'Показывать праздники',
'form.group_edit.holidays' => 'Праздники',
'form.group_edit.tracking_mode' => 'Режим работы',
'form.group_edit.mode_time' => 'время',
'form.group_edit.24_hours' => '24-hodinový',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Režim sledovania',
'form.group_edit.mode_time' => 'čas',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
'form.group_edit.24_hours' => '24 časova',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Način evidencije',
'form.group_edit.mode_time' => 'vreme',
'form.group_edit.24_hours' => '24-timmars',
// TODO: translate the following.
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
'form.group_edit.tracking_mode' => 'Spårningsmetod',
'form.group_edit.mode_time' => 'Endast tid',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
// 'form.group_edit.12_hours' => '12 hours',
// 'form.group_edit.24_hours' => '24 hours',
// 'form.group_edit.display_options' => 'Display options',
-// 'form.group_edit.show_holidays' => 'Show holidays',
// 'form.group_edit.holidays' => 'Holidays',
// 'form.group_edit.tracking_mode' => 'Tracking mode',
// 'form.group_edit.mode_time' => 'time',
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.19.4.4996 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.19.4.4997 | 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>
<td align="right" nowrap>{$i18n.form.group_edit.display_options}:</td>
<td><a href="display_options.php">{$i18n.label.configure}</a></td>
</tr>
- <tr>
- <td align="right" nowrap>{$i18n.form.group_edit.show_holidays}:</td>
- <td>{$forms.groupForm.show_holidays.control} <a href="https://www.anuko.com/lp/tt_14.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
- </tr>
<tr>
<td align="right" nowrap>{$i18n.form.group_edit.holidays}:</td>
- <td>{$forms.groupForm.holidays.control} <a href="https://www.anuko.com/lp/tt_14.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
+ <td>{$forms.groupForm.holidays.control} <a href="https://www.anuko.com/lp/tt_36.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
</tr>
<tr>
<td align="right" nowrap>{$i18n.form.group_edit.tracking_mode}:</td>
$cl_date_format = $request->getParameter('date_format');
$cl_time_format = $request->getParameter('time_format');
$cl_start_week = $request->getParameter('start_week');
- $cl_show_holidays = $request->getParameter('show_holidays');
$cl_holidays = trim($request->getParameter('holidays'));
$cl_tracking_mode = $request->getParameter('tracking_mode');
$cl_project_required = $request->getParameter('project_required');
$cl_date_format = $group['date_format'];
$cl_time_format = $group['time_format'];
$cl_start_week = $group['week_start'];
- $cl_show_holidays = $config->getDefinedValue('show_holidays');
$cl_holidays = $group['holidays'];
$cl_tracking_mode = $group['tracking_mode'];
$cl_project_required = $group['project_required'];
}
$form->addInput(array('type'=>'combobox','name'=>'start_week','style'=>'width: 150px;','data'=>$week_start_options,'datakeys'=>array('id','name'),'value'=>$cl_start_week));
-// Show holidays checkbox.
-$form->addInput(array('type'=>'checkbox','name'=>'show_holidays','value'=>$cl_show_holidays));
+// Show holidays control.
$form->addInput(array('type'=>'text','name'=>'holidays','value'=>$cl_holidays));
// Prepare tracking mode choices.
if ($err->no()) {
// Update config.
- $config->setDefinedValue('show_holidays', $cl_show_holidays);
$config->setDefinedValue('punch_mode', $cl_punch_mode);
$config->setDefinedValue('allow_overlap', $cl_allow_overlap);
$config->setDefinedValue('future_entries', $cl_future_entries);