/**
* constants.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Loads constants used by the rest of the Squirrelmail source.
* src/load_prefs.php.
*
* $Id$
+ * @package squirrelmail
*/
-require_once('../functions/plugin.php'); // Required for the hook
+/** Need to enable plugin functions for a hook */
+require_once(SM_PATH . 'functions/plugin.php'); /* Required for the hook */
/**************************************************************/
/* Set values for constants used by Squirrelmail preferences. */
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);