Added option to disable cumalative unseen count because status request are
[squirrelmail.git] / functions / constants.php
index ed75631f4039d1ddb4ce03b582445e5f367cc5b8..a6ac0909de3afc8db4c29dabc4213052ac48a98c 100644 (file)
@@ -13,7 +13,7 @@
  * $Id$
  */
 
-require_once('../functions/plugin.php');      // Required for the hook
+require_once(SM_PATH . 'functions/plugin.php');  /* Required for the hook */
 
 /**************************************************************/
 /* Set values for constants used by Squirrelmail preferences. */
@@ -37,6 +37,8 @@ define('SMPREF_LOC_RIGHT', 'right');
 define('SMPREF_UNSEEN_NONE', 1);
 define('SMPREF_UNSEEN_INBOX', 2);
 define('SMPREF_UNSEEN_ALL', 3);
+define('SMPREF_UNSEEN_SPECIAL', 4); // Only special folders
+define('SMPREF_UNSEEN_NORMAL', 5);  // Only normal folders
 define('SMPREF_UNSEEN_ONLY', 1);
 define('SMPREF_UNSEEN_TOTAL', 2);