From 23f85e97634e74804aa8fc44b86a8cfc9fe69ed2 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 13 Nov 2013 22:43:19 +0000 Subject: [PATCH] Enable etemplate for multiple templates --- etemplate/inc/class.etemplate.inc.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 5403e20651..c79d6b3403 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -200,6 +200,19 @@ class etemplate_new extends etemplate_widget_template $GLOBALS['egw']->framework->response->generic('et2_load',$load_array); return; } + else if (!$header) + { + // Headers already sent, another etemplate + echo '
'; + echo ''; + } else { //error_log("NON-Ajax " . __LINE__); @@ -233,6 +246,7 @@ class etemplate_new extends etemplate_widget_template echo ')});'; } } + self::$request = null; } /**