Plugins like listcommands should not close their own pages without displaying errors...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 14 Feb 2007 04:32:00 +0000 (04:32 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 14 Feb 2007 04:32:00 +0000 (04:32 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12260 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/listcommands/functions.php
plugins/listcommands/mailout.php
plugins/listcommands/options.php
plugins/listcommands/templates/default/non_rfc_lists.tpl

index 66a4f99..b54d6fb 100644 (file)
@@ -169,7 +169,7 @@ function plugin_listcommands_menu_do() {
 
 
     if (count($links) > 0) {
-        $oTemplate->assign('links', $links);
+        $oTemplate->assign('links', $links, FALSE);
         $output = $oTemplate->fetch('plugins/listcommands/read_body_header.tpl');
         return array('read_body_header' => $output);
     }
index b84c16d..89ffe51 100644 (file)
@@ -84,4 +84,4 @@ echo '<br />' .
     addSubmit(_("Send Mail"), 'send');
 ?>
 <br /><br />
-</form></td></tr></table></p></body></html>
\ No newline at end of file
+</form></td></tr></table></p></body></html>
index 22e998e..26e4ec2 100644 (file)
@@ -74,5 +74,6 @@ displayPageHeader($color, 'None');
 
 $oTemplate->assign('lists', $lists);
 $oTemplate->display('plugins/listcommands/non_rfc_lists.tpl');
+$oTemplate->display('footer.tpl');