mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
WIP allow to place custom-fields in tabs: fix not working saving of preferences, because namespace / content attribute was not passed to template
This commit is contained in:
parent
ef3ca2acb4
commit
470216d165
@ -71,6 +71,7 @@ class Tabbox extends Etemplate\Widget
|
||||
foreach($tabs as &$tab)
|
||||
{
|
||||
$template= clone Template::instance($tab['template']);
|
||||
if (isset($tab['content'])) $template->attrs['content'] = $tab['content'];
|
||||
$this->children[1]->children[] = $template;
|
||||
$tab['url'] = Template::rel2url($template->rel_path);
|
||||
//$this->tabs[] = $tab;
|
||||
|
Loading…
Reference in New Issue
Block a user