- added more hooks
[squirrelmail.git] / src / left_main.php
index 0e6ef6c7b09cc2d687a3b13629ae3002d08f7c0d..112ad87b7aca3dc1a961b526acf28b002e0a17f4 100644 (file)
@@ -29,7 +29,8 @@
       include("../functions/page_header.php");
    if (!isset($i18n_php))
       include("../functions/i18n.php");
-
+   if (!isset($plugin_php))
+      include("../functions/plugin.php");
 
    displayHtmlHeader();
 
    
    echo "\n<BODY BGCOLOR=\"$color[3]\" TEXT=\"$color[6]\" LINK=\"$color[6]\" VLINK=\"$color[6]\" ALINK=\"$color[6]\">\n\n";
 
+   do_hook("left_main_before");
+
    $boxes = sqimap_mailbox_list($imapConnection);
 
    echo "<CENTER><FONT SIZE=4><B>";
       }
       echo "\n$line<BR>\n";
    }
-
    sqimap_logout($imapConnection);
+   do_hook("left_main_after");
 ?>
 </BODY></HTML>