added a bunch more hooks
[squirrelmail.git] / src / search.php
index 2fb69f6da38091833ad80ad12e354b3b9381d01f..de730d096deb3a7f7bbff3d35b934ae8a65da7e3 100644 (file)
@@ -28,6 +28,7 @@
    displayPageHeader($color, $mailbox);
    $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 
+   do_hook("search_before_form");
    echo "<br>
       <table width=95% align=center cellpadding=2 cellspacing=0 border=0>
       <tr><td bgcolor=\"$color[0]\">
    echo "   </TABLE>\n"; 
    echo "</FORM>";
    echo "</td></tr></table>";
+   do_hook("search_after_form");
    if ($where && $what) {   
       sqimap_mailbox_select($imapConnection, $mailbox);
       sqimap_search($imapConnection, $where, $what, $mailbox, $color);
    }
+   do_hook("search_bottom");
    sqimap_logout ($imapConnection);
 ?>
 </body></html>