Add a mouseover tooltip to the delete icon, and add a "login" button to login as that student to see waht the studnet sees

This commit is contained in:
james 2009-03-30 20:06:25 +00:00
parent 65e4d29c58
commit e2b78cc707

View File

@ -209,9 +209,18 @@ else $wherestatus="";
echo "<td>$students</td>";
echo "<td align=\"center\">";
if($year==$config['FAIRYEAR']) {
echo "<a href=\"registration_list.php?action=delete&delete=$r->reg_id\" onclick=\"return confirmClick('".i18n("Are you sure you want to completely delete this registration?")."');\">";
echo "<a title=\"".i18n("Delete this registration")."\" href=\"registration_list.php?action=delete&delete=$r->reg_id\" onclick=\"return confirmClick('".i18n("Are you sure you want to completely delete this registration?")."');\">";
echo "<img src=\"".$config['SFIABDIRECTORY']."/images/16/button_cancel.".$config['icon_extension']."\" border=0>";
echo "</a>";
echo "<form target=\"_blank\" method=\"post\" action=\"../register_participants.php\">";
echo "<input type=\"hidden\" name=\"action\" value=\"continue\">";
echo "<input type=\"hidden\" name=\"email\" value=\"$r->email\">";
echo "<input type=\"hidden\" name=\"regnum\" value=\"$r->reg_num\">";
echo "<input type=\"submit\" value=\"".i18n("Login")."\">";
echo "</form>";
}
echo "</td>";
echo "</tr>";