|
From: Javier S. <ja...@us...> - 2002-01-16 11:12:36
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv30195
Modified Files:
report.php
Log Message:
css problems
Index: report.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/report.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- report.php 2001/11/13 03:53:04 1.17
+++ report.php 2002/01/16 11:12:33 1.18
@@ -20,6 +20,7 @@
// along with phpBugTracker; if not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// ------------------------------------------------------------------------
+// $Id$
include 'include.php';
@@ -76,9 +77,12 @@
));
$t->parse('cols', 'col', true);
}
- $t->set_var('bgcolor', (++$i % 2 == 0) ? '#dddddd' : '#ffffff');
+ $t->set_var('trclass', $i % 2 ? 'alt' : '');
+ $i++;
$t->parse('rows', 'row', true);
$t->set_var('cols', '');
+ //for header default
+ $t->set_var('trclass','alt');
}
}
}
|