| 1 | <?php |
| 2 | /** |
| 3 | * constants.php |
| 4 | * |
| 5 | * Copyright (c) 1999-2001 The SquirrelMail Development Team |
| 6 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 7 | * |
| 8 | * Loads constants used by the rest of the Squirrelmail source. |
| 9 | * This file is include by src/login.php, src/redirect.php and |
| 10 | * src/load_prefs.php. |
| 11 | * |
| 12 | * $Id$ |
| 13 | */ |
| 14 | |
| 15 | /**************************************************************/ |
| 16 | /* Set values for constants used by Squirrelmail preferences. */ |
| 17 | /**************************************************************/ |
| 18 | |
| 19 | /* Define constants for javascript settings. */ |
| 20 | define('SMPREF_JS_ON', 1); |
| 21 | define('SMPREF_JS_OFF', 2); |
| 22 | define('SMPREF_JS_AUTODETECT', 3); |
| 23 | |
| 24 | define('SMPREF_LOC_TOP', 'top'); |
| 25 | define('SMPREF_LOC_BETWEEN', 'between'); |
| 26 | define('SMPREF_LOC_BOTTOM', 'bottom'); |
| 27 | define('SMPREF_LOC_LEFT', ''); |
| 28 | define('SMPREF_LOC_RIGHT', 'right'); |
| 29 | |
| 30 | define('SMPREF_NONE', 'none'); |
| 31 | |
| 32 | do_hook("loading_constants"); |
| 33 | ?> |