]> git.datanom.net - qtadmin.git/blobdiff - index.php
add multicheck
[qtadmin.git] / index.php
index 96cfd4ed61ea586ce650312a1355e3ecede712b0..6e1db887d6256d2a42035a7135aeefd542e7f2ce 100644 (file)
--- a/index.php
+++ b/index.php
@@ -33,7 +33,9 @@
         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"
+              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>";
 
This page took 0.343966 seconds and 5 git commands to generate.