* Loads constants used by the rest of the SquirrelMail source.
*
* Before 1.5.2 script was stored in functions/constants.php
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
/** @ignore */
+/**
+ * SquirrelMail version number -- DO NOT CHANGE
+ * @since 1.5.2
+ */
+define('SM_VERSION', '1.5.2 [SVN]');
+
/**************************************************************/
/* Set values for constants used by SquirrelMail preferences. */
/**************************************************************/
define('SMPREF_UNSEEN_ONLY', 1);
define('SMPREF_UNSEEN_TOTAL', 2);
+define('SMPREF_MAILBOX_SELECT_LONG', 0);
+define('SMPREF_MAILBOX_SELECT_INDENTED', 1);
+define('SMPREF_MAILBOX_SELECT_DELIMITED', 2);
+
/**
* Define constants for time/date display preferences.
* @since 1.2.0
define('SQM_COL_TO', 9);
define('SQM_COL_CC', 10);
define('SQM_COL_BCC', 11);
+
+/**
+ * Generic variable type constants
+ * @since 1.5.2
+ */
+define('SQ_TYPE_INT', 'int');
+define('SQ_TYPE_STRING', 'string');
+define('SQ_TYPE_BOOL', 'bool');
+define('SQ_TYPE_ARRAY', 'array');
+
+/**
+ * Template engines supported
+ * @since 1.5.2
+ */
+define('SQ_PHP_TEMPLATE', 'PHP_');
+define('SQ_SMARTY_TEMPLATE', 'Smarty_');
+
+/**
+ * Used by plugins to indicate an incompatibility with a SM version
+ * @since 1.5.2
+ */
+define('SQ_INCOMPATIBLE', 'INCOMPATIBLE');
+