Added (c) stuff and some formatting.
[squirrelmail.git] / functions / constants.php
... / ...
CommitLineData
1<?php
2
3 /**
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 **/
15
16 /**************************************************************/
17 /* Set values for constants used by Squirrelmail preferences. */
18 /**************************************************************/
19
20 /* Define basic, general purpose preference constants. */
21 define('SMPREF_NO', 0);
22 define('SMPREF_OFF', 0);
23 define('SMPREF_YES', 1);
24 define('SMPREF_ON', 1);
25 define('SMPREF_NONE', 'none');
26
27 /* Define constants for location based preferences. */
28 define('SMPREF_LOC_TOP', 'top');
29 define('SMPREF_LOC_BETWEEN', 'between');
30 define('SMPREF_LOC_BOTTOM', 'bottom');
31 define('SMPREF_LOC_LEFT', '');
32 define('SMPREF_LOC_RIGHT', 'right');
33
34 /* Define preferences for folder settings. */
35 define('SMPREF_UNSEEN_NONE', 1);
36 define('SMPREF_UNSEEN_INBOX', 2);
37 define('SMPREF_UNSEEN_ALL', 3);
38 define('SMPREF_UNSEEN_ONLY', 1);
39 define('SMPREF_UNSEEN_TOTAL', 2);
40
41 /* Define constants for time/date display preferences. */
42 define('SMPREF_TIME_24HR', 1);
43 define('SMPREF_TIME_12HR', 2);
44
45 /* Define constants for javascript preferences. */
46 define('SMPREF_JS_OFF', 0);
47 define('SMPREF_JS_ON', 1);
48 define('SMPREF_JS_AUTODETECT', 2);
49
50 do_hook('loading_constants');
51?>