Make participant invite table header clickable to sort

This commit is contained in:
james 2011-03-09 02:49:41 +00:00
parent ae8ec49388
commit a463b591cc

View File

@ -239,12 +239,15 @@ if( ($_POST['action']=="invitenew" || $_POST['action']=="inviteexisting") && $_P
echo "<h2>".i18n("The following participants have been invited from your school")."</h2>\n";
}
echo "<table class=\"tableview\">\n";
echo "<thead>";
echo "<tr><th>Username</th><th>Email Address</th><th>First Name</th><th>Last Name</th>";
if($_SESSION['superuser']=="yes") {
echo "<th>School</th>";
}
echo "<th>Actions</th>";
echo "</tr>\n";
echo "</thead>";
echo "<tbody>";
while($r=mysql_fetch_object($q)) {
echo "<tr>";
echo " <td>$r->username</td>";
@ -269,6 +272,7 @@ if( ($_POST['action']=="invitenew" || $_POST['action']=="inviteexisting") && $_P
echo "</tr>";
}
echo "</tbody>";
echo "</table>\n";
send_footer();