X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fconstants.php;h=00f771edda2259c6e0fc5e5e6b1467f64733d993;hb=d7048dd4c878206dcdd86b036203c9828b18f919;hp=ed75631f4039d1ddb4ce03b582445e5f367cc5b8;hpb=15e6162eacc97158393bc75aed3afeb7b19c24a6;p=squirrelmail.git diff --git a/functions/constants.php b/functions/constants.php index ed75631f..00f771ed 100644 --- a/functions/constants.php +++ b/functions/constants.php @@ -3,7 +3,7 @@ /** * constants.php * - * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Copyright (c) 1999-2003 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. @@ -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);