|
From: Benjamin C. <bc...@us...> - 2001-10-05 04:22:48
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv25131
Modified Files:
bug.php
Log Message:
Adding some more css stuff
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- bug.php 2001/09/29 14:50:26 1.47
+++ bug.php 2001/10/05 04:22:45 1.48
@@ -66,6 +66,7 @@
while ($row = $q->grab()) {
$t->set_var(array(
'bgcolor' => (++$i % 2 == 0) ? '#dddddd' : '#ffffff',
+ 'trclass' => $i % 2 ? '' : 'alt',
'field' => stripslashes($row['changed_field']),
'oldvalue' => stripslashes($row['old_value']),
'newvalue' => stripslashes($row['new_value']),
@@ -517,6 +518,7 @@
}
$t->set_var(array(
'bgcolor' => (++$j % 2 == 0) ? '#dddddd' : '#ffffff',
+ 'trclass' => $j % 2 ? '' : 'alt',
'attid' => $att['attachment_id'],
'attname' => stripslashes($att['file_name']),
'attdesc' => stripslashes($att['description']),
@@ -544,6 +546,7 @@
while ($row = $q->grab()) {
$t->set_var(array(
'bgcolor' => (++$i % 2 == 0) ? '#dddddd' : '#ffffff',
+ 'trclass' => $i % 2 ? '' : 'alt',
'rdescription' => nl2br(format_comments(
htmlspecialchars($row['comment_text']))),
'rreporter' => maskemail($row['login']),
|