Fixed broken RFC1918 reference in contrib/.htaccess and doc/.htaccess (#2798839).
[squirrelmail.git] / plugins / listcommands / functions.php
index b54d6fb8d2fbe156c743f5da1ae1157f01da13f3..b1e4a227f70b1c259f44e721d2747ebe6b7ee5da 100644 (file)
@@ -8,7 +8,7 @@
  * this plugin displays a menu which gives the user a choice of mailinglist
  * commands such as (un)subscribe, help and list archives.
  *
- * @copyright © 1999-2007 The SquirrelMail Project Team
+ * @copyright © 1999-2009 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -42,7 +42,6 @@ function get_non_rfc_lists() {
   */
 function plugin_listcommands_optpage_register_block_do()
 {
-
     global $optpage_blocks, $listcommands_allow_non_rfc_list_management;
 
     // only allow management of non-RFC lists if admin deems necessary
@@ -64,7 +63,7 @@ function plugin_listcommands_optpage_register_block_do()
  * internal function that builds mailing list links
  */
 function plugin_listcommands_menu_do() {
-    global $passed_id, $passed_ent_id, $color, $mailbox, $message, 
+    global $passed_id, $passed_ent_id, $mailbox, $message, 
            $startMessage, $oTemplate, $listcommands_allow_non_rfc_list_management;
 
     @include_once(SM_PATH . 'plugins/listcommands/config.php');
@@ -169,7 +168,7 @@ function plugin_listcommands_menu_do() {
 
 
     if (count($links) > 0) {
-        $oTemplate->assign('links', $links, FALSE);
+        $oTemplate->assign('links', $links);
         $output = $oTemplate->fetch('plugins/listcommands/read_body_header.tpl');
         return array('read_body_header' => $output);
     }