forked from extern/egroupware
allow to set class and align for boxes (incl. the template itself)
This commit is contained in:
parent
71b15ceabf
commit
76ff6260c2
@ -430,7 +430,11 @@
|
||||
$path = '/';
|
||||
foreach ($this->children as $n => $child)
|
||||
{
|
||||
$html .= $this->show_cell($child,$content,$readonlys,$cname,$show_c,$show_row,$nul,$nul,$path.$n);
|
||||
$h = $this->show_cell($child,$content,$readonlys,$cname,$show_c,$show_row,$nul,$class,$path.$n);
|
||||
$html .= $class || $child['align'] ? $this->html->div($h,$this->html->formatOptions(array(
|
||||
$class,
|
||||
$child['align'],
|
||||
),'class,align')) : $h;
|
||||
}
|
||||
return $html."<!-- END eTemplate $this->name -->\n\n";
|
||||
}
|
||||
@ -1250,7 +1254,7 @@
|
||||
}
|
||||
if (!$orient)
|
||||
{
|
||||
$html .= $h;
|
||||
$html .= $cl ? $this->html->div($h," class=\"$cl\"") : $h;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user