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 66a4f99bf93b83d98c5eb7ff5a4b03cc8a51a7fe..b54d6fb8d2fbe156c743f5da1ae1157f01da13f3 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 b84c16d3d6cdbd64bd5728526f25b838a54ce641..89ffe51fd22a9dd1f564c4be0c651ae5c51f1df9 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 22e998e5e669190608bb67e9013678390427dce8..26e4ec235c5e49865981b285181d0ce214a953ae 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');
 
 
index 00804b3b9a98de0f4370edbb30dca245ce32d438..e89c08b3675b5142546607dfe36cac403ce1697b 100644 (file)
@@ -62,5 +62,3 @@ extract($t);
 </table>
 </div>
 </form>
-</body>
-</html>