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 -->
|
||||
<tr>
|
||||
<tr bgcolor="{th_bg}">
|
||||
<td align="right" width="30%"><b>{display_col}</b>:</td><td width="70%">{ref_data}</td>
|
||||
</tr>
|
||||
<!-- END view_row.tpl -->
|
||||
|
@ -124,6 +124,8 @@
|
||||
$ref = $data = "";
|
||||
if ($fields[0][$column])
|
||||
{
|
||||
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
|
||||
$t->set_var('th_bg',$tr_color);
|
||||
$coldata = $fields[0][$column];
|
||||
// Some fields require special formatting.
|
||||
if ( ($column == "note" || $column == "label" || $column == "pubkey") && $coldata )
|
||||
@ -135,7 +137,7 @@
|
||||
{
|
||||
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
|
||||
{ // First row, don't close td/tr
|
||||
|
Loading…
Reference in New Issue
Block a user