mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fixed template_alternate_row_color, so also set the row_color in the supplied template, not only in the template of the nextmatch-class
This commit is contained in:
parent
54b5310818
commit
f81afd60a9
@ -762,7 +762,11 @@
|
|||||||
*/
|
*/
|
||||||
function template_alternate_row_color(&$tpl)
|
function template_alternate_row_color(&$tpl)
|
||||||
{
|
{
|
||||||
$this->template->set_var('tr_color',$this->alternate_row_color());
|
$this->template->set_var('tr_color',$color = $this->alternate_row_color());
|
||||||
|
if (is_object($tpl))
|
||||||
|
{
|
||||||
|
$tpl->set_var('tr_color',$color); // set the supplied template too
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user