X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/10eda5d259af06b3777d6ee662e0ac36f86507fe..251996aed11c648ecaa30f77383e0384bfadf7a5:/cf_dropdown_options.php diff --git a/cf_dropdown_options.php b/cf_dropdown_options.php new file mode 100644 index 00000000..c8713caf --- /dev/null +++ b/cf_dropdown_options.php @@ -0,0 +1,52 @@ +getParameter('field_id'); +$options = CustomFields::getOptions($field_id); +if (false === $options) + $errors->add($i18n->getKey('error.db')); + +$form = new Form('dropdownOptionsForm'); + +$smarty->assign('forms', array($form->getName()=>$form->toArray())); +$smarty->assign('field_id', $field_id); +$smarty->assign('options', $options); +$smarty->assign('title', $i18n->getKey('title.cf_dropdown_options')); +$smarty->assign('content_page_name', 'cf_dropdown_options.tpl'); +$smarty->display('index.tpl'); +?> \ No newline at end of file