forked from science-ation/science-ation
- Make the report generator interface look a little saner
This commit is contained in:
parent
39c350c91f
commit
fd045a51b4
@ -62,6 +62,9 @@
|
||||
'Committee Main' => 'committee_main.php',
|
||||
'My Reports' => 'admin/reports.php'));
|
||||
|
||||
echo '<form method=\"get\" action="reports_gen.php">';
|
||||
echo "<input type=\"hidden\" name=\"id\" value=\"$id\">";
|
||||
|
||||
echo '<table class="tableedit">';
|
||||
echo "<tr><td><b>".i18n('Report Name')."</b>:</td>";
|
||||
echo "<td>{$report['name']}</td></tr>";
|
||||
@ -75,7 +78,7 @@
|
||||
$q = mysql_query("SELECT * FROM reports_committee
|
||||
WHERE users_id='{$_SESSION['users_uid']}'
|
||||
AND reports_id='{$report['id']}'");
|
||||
echo "<tr><td colspan=\"2\"><h4>".i18n('My Reports Info')."</h4></td></tr>";
|
||||
echo "<tr><td colspan=\"2\"><h3>".i18n('My Reports Info')."</h3></td></tr>";
|
||||
if(mysql_num_rows($q) > 0) {
|
||||
/* Yes, it is */
|
||||
$i = mysql_fetch_object($q);
|
||||
@ -86,15 +89,9 @@
|
||||
} else {
|
||||
echo "<tr><td colspan=\"2\">".i18n('This report is NOT in your \'My Reports\' list.')."</td></tr>";
|
||||
}
|
||||
echo '<tr><td colspan="2"><hr /></td></tr>';
|
||||
echo "<tr><td colspan=\"2\"><h3>".i18n('Report Options')."</h3></td></tr>";
|
||||
|
||||
echo "</table>";
|
||||
echo '<hr />';
|
||||
echo "<h3>".i18n('Report Options')."</h3>";
|
||||
|
||||
|
||||
echo '<form method=\"get\" action="reports_gen.php">';
|
||||
echo "<input type=\"hidden\" name=\"id\" value=\"$id\">";
|
||||
echo "<table class=\"tableedit\">";
|
||||
$format = $report['options']['type'];
|
||||
$stock = $report['options']['stock'];
|
||||
$year = $config['FAIRYEAR'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user