X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a4d1c5627c3958245ea7e2e573267e34f5872471..c83e33b75d24c71b29df94a061e79a3079f7fe12:/WEB-INF/lib/form/ActionForm.class.php?ds=sidebyside diff --git a/WEB-INF/lib/form/ActionForm.class.php b/WEB-INF/lib/form/ActionForm.class.php index edc15708..97c9219c 100644 --- a/WEB-INF/lib/form/ActionForm.class.php +++ b/WEB-INF/lib/form/ActionForm.class.php @@ -99,17 +99,7 @@ class ActionForm { $this->mInitForm = true; } } - - /** - * Init custom variables - * - * @param unknown $request - * @param unknown $respons - */ - function initVariables(&$request, &$respons) { - - } - + function setVariablesNames($namelist) { $this->mVariables = $namelist; } @@ -186,7 +176,7 @@ class ActionForm { import('form.'.$ref_el["class"]); $class_name = $ref_el["class"]; $el = new $class_name($ref_el["name"]); - if (isset($GLOBALS["I18N"])) $el->localize($GLOBALS["I18N"]); + $el->localize(); $el->setValueSafe(@$_SESSION[$this->mSessionCell . "_" .$el->getName()]); if ($this->mForm && !isset($this->mForm->elements[$ref_el["name"]])) {