mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
some fixes:
- listbox (multiline select) was not setting the type on export - templates referenzed by nextmatch or tab-widget got not embeded on export
This commit is contained in:
parent
ede69c0a38
commit
28618888da
@ -184,6 +184,11 @@
|
|||||||
}
|
}
|
||||||
switch ($parent)
|
switch ($parent)
|
||||||
{
|
{
|
||||||
|
case 'nextmatch':
|
||||||
|
$embeded = new etemplate($cell['size']);
|
||||||
|
$this->etempl2grid($embeded,&$root,$embeded_too);
|
||||||
|
unset($embeded);
|
||||||
|
break;
|
||||||
case 'tabbox':
|
case 'tabbox':
|
||||||
$labels = explode('|',$cell['label']); unset($cell['label']);
|
$labels = explode('|',$cell['label']); unset($cell['label']);
|
||||||
$helps = explode('|',$cell['help']); unset($cell['help']);
|
$helps = explode('|',$cell['help']); unset($cell['help']);
|
||||||
@ -198,6 +203,9 @@
|
|||||||
$grid = new xmlnode('grid');
|
$grid = new xmlnode('grid');
|
||||||
$grid->set_attribute('id',$names[$n]);
|
$grid->set_attribute('id',$names[$n]);
|
||||||
$child2->add_node($grid);
|
$child2->add_node($grid);
|
||||||
|
$embeded = new etemplate($names[$n]);
|
||||||
|
$this->etempl2grid($embeded,&$root,$embeded_too);
|
||||||
|
unset($embeded);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'menulist': // id,options belongs to the 'menupopup' child
|
case 'menulist': // id,options belongs to the 'menupopup' child
|
||||||
@ -212,6 +220,7 @@
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'menulist':
|
case 'menulist':
|
||||||
|
case 'listbox':
|
||||||
if ($cell['type'] != 'select') // one of the sub-types
|
if ($cell['type'] != 'select') // one of the sub-types
|
||||||
{
|
{
|
||||||
$widget->set_attribute('type',$cell['type']);
|
$widget->set_attribute('type',$cell['type']);
|
||||||
|
Loading…
Reference in New Issue
Block a user