'menu.time' => 'Time',
'menu.expenses' => 'Expenses',
'menu.reports' => 'Reports',
+'menu.timesheets' => 'Timesheets',
'menu.charts' => 'Charts',
'menu.projects' => 'Projects',
'menu.tasks' => 'Tasks',
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.37.4719 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.37.4720 | 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>{$forms.pluginsForm.work_units.control}</td>
<td><label for="work_units">{$i18n.label.work_units}</label> <span id="work_units_config"><a href="work_units.php">{$i18n.label.configure}</a></span></td>
</tr>
+{if isTrue('TIMESHEET_DEBUG')}
+ <tr>
+ <td align="right" nowrap>{$forms.pluginsForm.timesheets.control}</td>
+ <td><label for="charts">{$i18n.menu.timesheets}</label></td>
+ </tr>
+{/if}
<tr>
<td colspan="2"> </td>
</tr>
$cl_quotas = $request->getParameter('quotas');
$cl_week_view = $request->getParameter('week_view');
$cl_work_units = $request->getParameter('work_units');
+ $cl_timesheets = $request->getParameter('timesheets');
} else {
// Note: we get here in get, and also in post when group changes.
// Which plugins do we have enabled in currently selected group?
$cl_quotas = in_array('mq', $plugins);
$cl_week_view = in_array('wv', $plugins);
$cl_work_units = in_array('wu', $plugins);
+ $cl_timesheets = in_array('ts', $plugins);
}
$form = new Form('pluginsForm');
$form->addInput(array('type'=>'checkbox','name'=>'quotas','value'=>$cl_quotas,'onchange'=>'handlePluginCheckboxes()'));
$form->addInput(array('type'=>'checkbox','name'=>'week_view','value'=>$cl_week_view,'onchange'=>'handlePluginCheckboxes()'));
$form->addInput(array('type'=>'checkbox','name'=>'work_units','value'=>$cl_work_units,'onchange'=>'handlePluginCheckboxes()'));
+$form->addInput(array('type'=>'checkbox','name'=>'timesheets','value'=>$cl_timesheets));
// Submit button.
$form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->get('button.save')));
$plugins .= ',wv';
if ($cl_work_units)
$plugins .= ',wu';
+ if ($cl_timesheets)
+ $plugins .= ',ts';
// Recycle week view plugin options as they are not configured on this page.
$existing_plugins = explode(',', $user->getPlugins());