X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/89a5c1982ce74075e74a814c170e3d87563d5c47..1e825770a4defc5eb8d2032c35dc90e8bc8684da:/plugins.php diff --git a/plugins.php b/plugins.php index bf0e527f..5880aa37 100644 --- a/plugins.php +++ b/plugins.php @@ -94,9 +94,8 @@ $form->addInput(array('type'=>'checkbox','name'=>'week_view','value'=>$cl_week_v $form->addInput(array('type'=>'checkbox','name'=>'work_units','value'=>$cl_work_units,'onchange'=>'handlePluginCheckboxes()')); $form->addInput(array('type'=>'checkbox','name'=>'approval','value'=>$cl_approval)); $form->addInput(array('type'=>'checkbox','name'=>'timesheets','value'=>$cl_timesheets)); -if (isTrue('TEMPLATES_DEBUG')) { - $form->addInput(array('type'=>'checkbox','name'=>'templates','value'=>$cl_templates)); -} +$form->addInput(array('type'=>'checkbox','name'=>'templates','value'=>$cl_templates,'onchange'=>'handlePluginCheckboxes()')); + // Submit button. $form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->get('button.save')));