X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FActionForm.class.php;h=97c9219c06ff976a1c030854f359c2c449811b28;hb=7993ce63bc6a4249ab508c3bbf4fb7ec5be1b9a3;hp=ee30f7d169604cbbdca3875b6700a65b5cffe2a6;hpb=ac5189157ef60820dd125400baee9f408a9ba2ea;p=timetracker.git diff --git a/WEB-INF/lib/form/ActionForm.class.php b/WEB-INF/lib/form/ActionForm.class.php index ee30f7d1..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->setLocalization($GLOBALS["I18N"]); + $el->localize(); $el->setValueSafe(@$_SESSION[$this->mSessionCell . "_" .$el->getName()]); if ($this->mForm && !isset($this->mForm->elements[$ref_el["name"]])) {