From a38cda2c054954319dd4fbed74687f41cbda2f37 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 10 Dec 2007 18:23:00 +0000 Subject: [PATCH] Make the reports page much more real-estate friendly --- admin/reports.php | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/admin/reports.php b/admin/reports.php index fcf89af..9b94ed3 100644 --- a/admin/reports.php +++ b/admin/reports.php @@ -124,17 +124,17 @@ echo '
'; } - echo ''; $last_category = ''; $x=0; + echo "
"; while($i = mysql_fetch_object($q)) { $trclass = ($x % 2 == 0) ? "even" : "odd"; $x++; if($last_category != $i->category) { /* New category */ - echo '

'; + echo '

"; $last_category = $i->category; } @@ -149,12 +149,11 @@ if($edit_mode == false) $name = "$name"; - echo "

'; if($edit_mode == true) echo i18n('Category').': '; - echo "{$i->category}

"; + echo "{$i->category}
"; + echo "
"; - echo "'; + echo $name.''; /* if($i->reports_id > 0) { @@ -168,9 +167,9 @@ } */ - echo ""; - echo "
"; if($edit_mode == true) echo "id}\">\"Remove "; - echo $name.'
{$i->comment}
"; + echo "{$i->comment}"; } + echo ""; } @@ -182,7 +181,7 @@ echo ''.i18n('Click here to edit your Report List').''; echo '
'; - echo "

".i18n("All Reports")."

"; + echo "

".i18n("All Reports")."

"; /* Print all the reports in a pulldown menu for generation */ echo "
"; @@ -215,7 +214,7 @@ '.i18n('Add a Report to your Report List').''; + echo '

'.i18n('Add a Report to your Report List').'

'; echo ""; echo ""; echo "\n"; @@ -275,10 +274,10 @@ echo '
'; - echo '

Descriptions for All Reports

'; + echo '

Descriptions for All Reports

'; echo i18n('Click on the report number to try the report with the default report options before you add it to your Report List'); echo '

'; - echo "
\n"; + echo "
\n"; $x=0; foreach(array_merge($reports, $report_custom) as $r) { $trclass = ($x % 2 == 0) ? "even" : "odd"; @@ -290,7 +289,7 @@ $url = $r['custom_url']; } echo ""; - echo "
$x."; + echo "
"; echo ""; echo "";
{$r['name']}Created By: {$r['creator']}