forked from extern/egroupware
Switch to using bgcolor instead of a border
This commit is contained in:
parent
b0de1c375c
commit
b9e5de3b85
@ -1,5 +1,5 @@
|
|||||||
<!-- BEGIN view_row.tpl -->
|
<!-- BEGIN view_row.tpl -->
|
||||||
<tr>
|
<tr bgcolor="{th_bg}">
|
||||||
<td align="right" width="30%"><b>{display_col}</b>:</td><td width="70%">{ref_data}</td>
|
<td align="right" width="30%"><b>{display_col}</b>:</td><td width="70%">{ref_data}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- END view_row.tpl -->
|
<!-- END view_row.tpl -->
|
||||||
|
@ -124,6 +124,8 @@
|
|||||||
$ref = $data = "";
|
$ref = $data = "";
|
||||||
if ($fields[0][$column])
|
if ($fields[0][$column])
|
||||||
{
|
{
|
||||||
|
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
|
||||||
|
$t->set_var('th_bg',$tr_color);
|
||||||
$coldata = $fields[0][$column];
|
$coldata = $fields[0][$column];
|
||||||
// Some fields require special formatting.
|
// Some fields require special formatting.
|
||||||
if ( ($column == "note" || $column == "label" || $column == "pubkey") && $coldata )
|
if ( ($column == "note" || $column == "label" || $column == "pubkey") && $coldata )
|
||||||
@ -135,7 +137,7 @@
|
|||||||
{
|
{
|
||||||
if ($key)
|
if ($key)
|
||||||
{
|
{
|
||||||
$data .= "</td></tr><tr><td width=\"30%\"> </td><td width=\"70%\">" .$info;
|
$data .= '</td></tr><tr bgcolor="'.$tr_color.'"><td width="30%"> </td><td width="70%">' .$info;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ // First row, don't close td/tr
|
{ // First row, don't close td/tr
|
||||||
|
Loading…
Reference in New Issue
Block a user