X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/19f245ff861895c99c3f04fbc53404564bb44267..dd30f46db3b91a8540b92f905930d8c38ea4c2b9:/mobile/timer.php diff --git a/mobile/timer.php b/mobile/timer.php index d2d3a8df..cdb32c7b 100644 --- a/mobile/timer.php +++ b/mobile/timer.php @@ -84,7 +84,7 @@ $uncompleted = ttTimeHelper::getUncompleted($user->getActiveUser()); $enable_controls = ($uncompleted == null); // Elements of timeRecordForm. -$form = new Form('timerRecordForm'); +$form = new Form('timeRecordForm'); // Dropdown for clients in MODE_TIME. Use all active clients. if (MODE_TIME == $user->tracking_mode && $user->isPluginEnabled('cl')) { @@ -155,7 +155,7 @@ if (MODE_PROJECTS_AND_TASKS == $user->tracking_mode) { 'empty'=>array(''=>$i18n->getKey('dropdown.select')))); } if ($user->isPluginEnabled('iv')) - $form->addInput(array('type'=>'checkbox','name'=>'billable','data'=>1,'value'=>$cl_billable,'enable'=>$enable_controls)); + $form->addInput(array('type'=>'checkbox','name'=>'billable','value'=>$cl_billable,'enable'=>$enable_controls)); $form->addInput(array('type'=>'hidden','name'=>'browser_today','value'=>'')); // User current date, which gets filled in on button click. $form->addInput(array('type'=>'hidden','name'=>'browser_time','value'=>'')); // User current time, which gets filled in on button click. $enable_start = $uncompleted ? false : true;