Added support for using Squirrelmail without frames
[squirrelmail.git] / plugins / filters / spamoptions.php
index 7f6491c79fb0df3dffd4c84a067c7add332cbd2a..52c255bcfea129d49f019a07728088a8158ac555 100644 (file)
@@ -178,7 +178,8 @@ if (isset($action) && $action == 'spam') {
         '</table>'.
         '</center>'.
         '</form>';
-    echo '</body></html>';
+        noframes_bottom();
+
 }
 
 if (! isset($_GET['action']) || $_GET['action'] != 'spam') {
@@ -221,7 +222,7 @@ if (! isset($_GET['action']) || $_GET['action'] != 'spam') {
         echo "</td></tr>\n";
     }
     echo '</table>';
-    echo '</body></html>';
+    noframes_bottom();
 }
 
 ?>
\ No newline at end of file