echo "<span class=\"total-rows\">$numrows quarantined mail(s)</span>";
echo "<table><tr>";
echo "<table><tr><th>Received</th><th>Cause</th>";
- echo "<th>Sender</th><th>Recipient</th><th>Subject</th><th>Action</th><th></th>";
+ echo "<th>Sender</th><th>Recipient</th><th>Subject</th><th>Action</th>";
+ echo "<th><input name=\"multiselect\" type=\"checkbox\"
+ onchange=\"javascript: updateAction(this)\" /></th>";
echo "</tr>";
$mailInfo = array();
$_SESSION['marked'] = serialize($marked);
echo '<input class="mail-purge" type="button" value="Purge Mails ('.
count($marked).')" onclick="javascript: location.href=\'quarantine.php?op=purge\'"/>';
- echo '<input class="mail-purge" type="button" value="Release checked Mails."
- onclick="javascript: checkAction();"/>';
+ echo '<input class="mail-purge" type="button" value="Release checked"
+ onclick="javascript: checkAction(\'release\');"/>';
+ echo '<input class="mail-purge" type="button" value="Delete checked"
+ onclick="javascript: checkAction(\'delete\');"/>';
echo "<p class=\"page-nav\">$first$prev Showing page $pageNum of
$maxPage pages $next$last</p>";