git://git.iain.cx/iain
/
readifood.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added report table class.
[readifood.git]
/
lib
/
report.php
diff --git
a/lib/report.php
b/lib/report.php
index
2fabab4
..
b268440
100644
(file)
--- a/
lib/report.php
+++ b/
lib/report.php
@@
-79,7
+79,7
@@
$week = 1;
$last_week = 0;
$total = 0;
$week = 1;
$last_week = 0;
$total = 0;
- echo "<table>\n";
+ echo "<table
class=\"report\"
>\n";
foreach ($rows as $row) {
/* Convert week of year to date range. */
if (! $week_offset) $week_offset = $row->getWeek() - 1;
foreach ($rows as $row) {
/* Convert week of year to date range. */
if (! $week_offset) $week_offset = $row->getWeek() - 1;
@@
-111,7
+111,7
@@
$q->groupByRequesterId()->addDescendingOrderByColumn('count');
$rows = $q->find();
$total = 0;
$q->groupByRequesterId()->addDescendingOrderByColumn('count');
$rows = $q->find();
$total = 0;
- echo "<table>\n";
+ echo "<table
class=\"report\"
>\n";
/* XXX Join! */
foreach ($rows as $row) {
echo "<tr>\n";
/* XXX Join! */
foreach ($rows as $row) {
echo "<tr>\n";