Commit f822e4cc authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add approval status in a couple more tables.

parent cc2a18d6
......@@ -30,6 +30,7 @@ function SHOWPROJECT($pid, $thisuid) {
$proj_sharks = $row[num_sharks];
$proj_why = $row[why];
$control_node = $row[control_node];
$approved = $row[approved];
#
# Generate the table.
......@@ -82,6 +83,16 @@ function SHOWPROJECT($pid, $thisuid) {
<td class=\"left\">$proj_expires</td>
</tr>\n";
echo "<tr>
<td>Approved?: </td>\n";
if ($approved) {
echo "<td class=left><img alt=\"Y\" src=\"greenball.gif\"></td>\n";
}
else {
echo "<td class=left><img alt=\"N\" src=\"redball.gif\"></td>\n";
}
echo "</tr>\n";
echo "<tr>
<td colspan='2'>Why?</td>
</tr>\n";
......@@ -112,6 +123,7 @@ function SHOWUSER($uid) {
$usr_passwd = $row[usr_pswd];
$usr_title = $row[usr_title];
$usr_affil = $row[usr_affil];
$status = $row[status];
echo "<table align=center border=1>\n";
......@@ -160,6 +172,11 @@ function SHOWUSER($uid) {
<td>$usr_affil</td>
</tr>\n";
echo "<tr>
<td>Status:</td>
<td>$status</td>
</tr>\n";
echo "</table>\n";
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment