Changed default value for SpamFilters_YourHop
[squirrelmail.git] / functions / constants.php
CommitLineData
23d6bd09 1<?php
2ba13803 2
23d6bd09 3 /**
7350889b 4 * constants.php
5 *
6 * Copyright (c) 1999-2001 The SquirrelMail Development Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
8 *
9 * Loads constants used by the rest of the Squirrelmail source.
10 * This file is include by src/login.php, src/redirect.php and
11 * src/load_prefs.php.
12 *
13 * $Id$
14 */
23d6bd09 15
9962527a 16 /**************************************************************/
17 /* Set values for constants used by Squirrelmail preferences. */
18 /**************************************************************/
19
fb120846 20 require_once( '../functions/plugin.php' ); // Required for the hook
21
a440e68f 22 /* Define basic, general purpose preference constants. */
23 define('SMPREF_NO', 0);
e938ae34 24 define('SMPREF_OFF', 0);
a440e68f 25 define('SMPREF_YES', 1);
e938ae34 26 define('SMPREF_ON', 1);
a440e68f 27 define('SMPREF_NONE', 'none');
23d6bd09 28
a440e68f 29 /* Define constants for location based preferences. */
a3ec3c91 30 define('SMPREF_LOC_TOP', 'top');
31 define('SMPREF_LOC_BETWEEN', 'between');
32 define('SMPREF_LOC_BOTTOM', 'bottom');
33 define('SMPREF_LOC_LEFT', '');
34 define('SMPREF_LOC_RIGHT', 'right');
35
a440e68f 36 /* Define preferences for folder settings. */
37 define('SMPREF_UNSEEN_NONE', 1);
38 define('SMPREF_UNSEEN_INBOX', 2);
39 define('SMPREF_UNSEEN_ALL', 3);
40 define('SMPREF_UNSEEN_ONLY', 1);
41 define('SMPREF_UNSEEN_TOTAL', 2);
42
43 /* Define constants for time/date display preferences. */
44 define('SMPREF_TIME_24HR', 1);
45 define('SMPREF_TIME_12HR', 2);
46
47 /* Define constants for javascript preferences. */
48 define('SMPREF_JS_OFF', 0);
49 define('SMPREF_JS_ON', 1);
50 define('SMPREF_JS_AUTODETECT', 2);
ce393174 51
cbe5423b 52 do_hook('loading_constants');
23d6bd09 53?>