X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fconstants.php;h=15756f8cf017801fd8191f2b8f54a3f65c796489;hp=37d4c46aba4e51a8b4e34ead63c25b451d0ea7ed;hb=ce39317491517268fe421d95b7329bbe80a2fe8d;hpb=23d6bd09c631285eae8c45af3a37aa7c86be3cfa diff --git a/functions/constants.php b/functions/constants.php index 37d4c46a..15756f8c 100644 --- a/functions/constants.php +++ b/functions/constants.php @@ -12,10 +12,22 @@ * $Id$ */ + /**************************************************************/ + /* Set values for constants used by Squirrelmail preferences. */ + /**************************************************************/ + /* Define constants for javascript settings. */ define('SMPREF_JS_ON', 1); define('SMPREF_JS_OFF', 2); define('SMPREF_JS_AUTODETECT', 3); + define('SMPREF_LOC_TOP', 'top'); + define('SMPREF_LOC_BETWEEN', 'between'); + define('SMPREF_LOC_BOTTOM', 'bottom'); + define('SMPREF_LOC_LEFT', ''); + define('SMPREF_LOC_RIGHT', 'right'); + + define('SMPREF_NONE', 'none'); + do_hook("loading_constants"); ?>