From 28618888dac9c467eeea2e4515e2b139351ef50d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 24 Sep 2002 19:21:56 +0000 Subject: [PATCH] some fixes: - listbox (multiline select) was not setting the type on export - templates referenzed by nextmatch or tab-widget got not embeded on export --- etemplate/inc/class.xul_io.inc.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etemplate/inc/class.xul_io.inc.php b/etemplate/inc/class.xul_io.inc.php index 6986d4ff14..e50ed3aa04 100644 --- a/etemplate/inc/class.xul_io.inc.php +++ b/etemplate/inc/class.xul_io.inc.php @@ -184,6 +184,11 @@ } switch ($parent) { + case 'nextmatch': + $embeded = new etemplate($cell['size']); + $this->etempl2grid($embeded,&$root,$embeded_too); + unset($embeded); + break; case 'tabbox': $labels = explode('|',$cell['label']); unset($cell['label']); $helps = explode('|',$cell['help']); unset($cell['help']); @@ -198,6 +203,9 @@ $grid = new xmlnode('grid'); $grid->set_attribute('id',$names[$n]); $child2->add_node($grid); + $embeded = new etemplate($names[$n]); + $this->etempl2grid($embeded,&$root,$embeded_too); + unset($embeded); } break; case 'menulist': // id,options belongs to the 'menupopup' child @@ -212,6 +220,7 @@ } break; case 'menulist': + case 'listbox': if ($cell['type'] != 'select') // one of the sub-types { $widget->set_attribute('type',$cell['type']);