]> wagnertech.de Git - timetracker.git/blobdiff - cf_custom_field_add.php
Cosmetic - improved comments
[timetracker.git] / cf_custom_field_add.php
index fc35cf13e4a95c3313cc68ae317bcebc0ed103da..056ce531abe9910b92d2e7cad0a3478fc09838e6 100644 (file)
@@ -43,7 +43,7 @@ if ($request->getMethod() == 'POST') {
   if (!$cl_required)
     $cl_required = 0;
 }
-       
+
 $form = new Form('fieldForm');
 $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'name','value'=>''));
 $form->addInput(array('type'=>'combobox','name'=>'type',
@@ -65,7 +65,7 @@ if ($request->getMethod() == 'POST') {
     } else
       $errors->add($i18n->getKey('error.db'));
   }
-}
+} // POST
 
 $smarty->assign('forms', array($form->getName()=>$form->toArray()));
 $smarty->assign('onload', 'onLoad="document.fieldForm.name.focus()"');