Adding template for error box.
[squirrelmail.git] / functions / imap.php
index 7c4e41653f063782b402dddaeeff9abd71be43bd..ae7704b38b56064e9c4d8d70aa1e4e76eb8cdb5c 100644 (file)
@@ -1,16 +1,26 @@
 <?php
-   /**  This just includes the different sections of the imap functions.
-    **  They have been organized into these sections for simplicity sake.
-    **
-    **  $Id$
-    **/
 
-   $imap_php = true;
+/**
+ * imap.php
+ *
+ * This just includes the different sections of the imap functions.
+ * They have been organized into these sections for simplicity sake.
+ *
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage imap
+ */
 
-   $imap_backend = 'imap';
-   
-   include ('../functions/' . $imap_backend . '_mailbox.php');
-   include ('../functions/' . $imap_backend . '_messages.php');
-   include ('../functions/' . $imap_backend . '_general.php');
-   include ('../functions/' . $imap_backend . '_search.php');
-?>
+/** Includes */
+require_once(SM_PATH . 'functions/imap_mailbox.php');
+require_once(SM_PATH . 'functions/imap_messages.php');
+require_once(SM_PATH . 'functions/imap_general.php');
+
+/** This is here for bc */
+require_once(SM_PATH . 'functions/date.php');
+require_once(SM_PATH . 'functions/mailbox_display.php');
+require_once(SM_PATH . 'functions/mime.php');
+
+?>
\ No newline at end of file