From ec4db98936a5821472a1ea078892de5b122397e2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 3 May 2007 19:16:32 +0000 Subject: [PATCH] sitemgr module was not loading eTemplates javascript file --- etemplate/inc/class.sitemgr_module.inc.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/etemplate/inc/class.sitemgr_module.inc.php b/etemplate/inc/class.sitemgr_module.inc.php index b371a5b909..cc91a0b980 100644 --- a/etemplate/inc/class.sitemgr_module.inc.php +++ b/etemplate/inc/class.sitemgr_module.inc.php @@ -41,20 +41,21 @@ class sitemgr_module extends Module // the Module class get automatic included b list($app) = explode('.',$this->etemplate_method); $GLOBALS['egw']->translation->add_app($app); - $css = "\n"; + $extra .= "-->\n\n"; + $extra .= ''."\n"; $ret = false; if($_POST['etemplate_exec_id']) { $ret = ExecMethod('etemplate.etemplate.process_exec'); } - return $css.($ret ? $ret : ExecMethod2($this->etemplate_method,null,$arguments['arg1'],$arguments['arg2'],$arguments['arg3'])); + return $extra.($ret ? $ret : ExecMethod2($this->etemplate_method,null,$arguments['arg1'],$arguments['arg2'],$arguments['arg3'])); } }