From ad2c99f11e6bbd027b7e8906488eac0ae8ab7f9b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 17 Aug 2006 05:36:19 +0000 Subject: [PATCH] ability to pass arguments to the etemplate method --- etemplate/inc/class.sitemgr_module.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/inc/class.sitemgr_module.inc.php b/etemplate/inc/class.sitemgr_module.inc.php index fd9db7c0b3c..87d35763078 100644 --- a/etemplate/inc/class.sitemgr_module.inc.php +++ b/etemplate/inc/class.sitemgr_module.inc.php @@ -32,7 +32,7 @@ class sitemgr_module extends Module // the Module class get automatic included b /** * generate the module content AND process submitted forms * - * @param array &$arguments + * @param array &$arguments $arguments['arg1']-$arguments['arg3'] will be passed for non-submitted forms (first call) * @param array $properties * @return string the html content */ @@ -52,6 +52,6 @@ class sitemgr_module extends Module // the Module class get automatic included b { $ret = ExecMethod('etemplate.etemplate.process_exec'); } - return $css.($ret ? $ret : ExecMethod($this->etemplate_method)); + return $css.($ret ? $ret : ExecMethod2($this->etemplate_method,null,$arguments['arg1'],$arguments['arg2'],$arguments['arg3'])); } }