Fixes filters kicking in on login, added 'webmail_bottom' hook
authorjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 19 Mar 2002 07:13:02 +0000 (07:13 +0000)
committerjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 19 Mar 2002 07:13:02 +0000 (07:13 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2604 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/filters/setup.php
src/webmail.php

index a390627..de06bc3 100644 (file)
@@ -87,8 +87,9 @@ function squirrelmail_plugin_init_filters() {
     $squirrelmail_plugin_hooks['optpage_register_block']['filters'] = 'squirrelmail_plugin_optpage_register_block';
 #    $squirrelmail_plugin_hooks['special_mailbox']['filters'] = 'filters_special_mailbox';
     $squirrelmail_plugin_hooks['rename_or_delete_folder']['filters'] = 'update_for_folder';
+    $squirrelmail_plugin_hooks['webmail_bottom']['filters'] = 'start_filters';
 }
-
+       
 function filters_special_mailbox( $mb ) {
     GLOBAL $data_dir, $username;
 
index 89fa16a..a54d404 100644 (file)
@@ -103,7 +103,7 @@ else {
     echo '<FRAME SRC="left_main.php" NORESIZE NAME="left">'.
          "<FRAME SRC=\"$right_frame_url\" NORESIZE NAME=\"right\">";
 }
-
+do_hook('webmail_bottom');
 ?>
 </FRAMESET>
 </HEAD></HTML>