From 4cacf1b945b3d969128bc59547cbc1e7295fe48d Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 10 Dec 2007 02:59:47 +0000 Subject: [PATCH] - Add a link to try each report before adding it, so the committee member can see what it looks like. --- admin/committee_reports.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/admin/committee_reports.php b/admin/committee_reports.php index 9299d4d..50d806d 100644 --- a/admin/committee_reports.php +++ b/admin/committee_reports.php @@ -232,14 +232,20 @@ echo '
'; 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"; $x=0; foreach(array_merge($reports, $report_custom) as $r) { $trclass = ($x % 2 == 0) ? "even" : "odd"; $x++; echo ""; - echo ""; -// echo ""; + if($r['custom_url'] == '') { + $url = "admin/reports_gen.php?id={$r['id']}"; + } else { + $url = $r['custom_url']; + } + echo ""; echo "
$x.$x."; echo "";
{$r['name']}