mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
more changes etemplate_old --> etemplate, maybe better not started that ;-)
This commit is contained in:
parent
20193e6418
commit
05857ba73b
@ -122,7 +122,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
$tab_widget = new etemplate_old('etemplate.tab_widget');
|
||||
$tab_widget = new etemplate('etemplate.tab_widget');
|
||||
$tab_widget->no_onclick = true;
|
||||
|
||||
if ($value && strpos($value,'.') === false)
|
||||
@ -188,7 +188,7 @@
|
||||
foreach($names as $n => $name)
|
||||
{
|
||||
$bcell = boetemplate::empty_cell('template',$name);
|
||||
$bcell['obj'] = new etemplate_old(empty($templates[$n]) ? $name : $templates[$n],$tmpl->as_array());
|
||||
$bcell['obj'] = new etemplate(empty($templates[$n]) ? $name : $templates[$n],$tmpl->as_array());
|
||||
// hack to set id / content attribute on first grid, as it's not supported on template itself
|
||||
if (!empty($ids[$n]) && $bcell['obj']->children[0]['type'] == 'grid')
|
||||
{
|
||||
@ -203,7 +203,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$stab = new etemplate_old($selected_tab,$tmpl->as_array());
|
||||
$stab = new etemplate($selected_tab,$tmpl->as_array());
|
||||
$tab_widget->set_cell_attribute('body','type','template');
|
||||
$tab_widget->set_cell_attribute('body','size',''); // the deck has a '1' there
|
||||
$tab_widget->set_cell_attribute('body','obj',$stab);
|
||||
|
Loading…
Reference in New Issue
Block a user