More work done on the options stuff.
[squirrelmail.git] / functions / constants.php
index fd98ff32d5fd8712dae2beb61fdab06777230999..15756f8cf017801fd8191f2b8f54a3f65c796489 100644 (file)
      * $Id$
      */
 
      * $Id$
      */
 
-    /******************************************************/
-    /* Set values for constants used in the options code. */
-    /******************************************************/
-
-    /* Define constants for the various option types. */
-    define('SMOPT_TYPE_STRING', 0);
-    define('SMOPT_TYPE_STRLIST', 1);
-    define('SMOPT_TYPE_TEXTAREA', 2);
-    define('SMOPT_TYPE_INTEGER', 3);
-    define('SMOPT_TYPE_FLOAT', 4);
-    define('SMOPT_TYPE_BOOLEAN', 5);
-
-    /* Define constants for the options refresh levels. */
-    define('SMOPT_REFRESH_NONE', 0);
-    define('SMOPT_REFRESH_FOLDERLIST', 1);
-    define('SMOPT_REFRESH_ALL', 2);
-
     /**************************************************************/
     /* Set values for constants used by Squirrelmail preferences. */
     /**************************************************************/
     /**************************************************************/
     /* Set values for constants used by Squirrelmail preferences. */
     /**************************************************************/
     define('SMPREF_JS_OFF', 2);
     define('SMPREF_JS_AUTODETECT', 3);
 
     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");
 ?>
     do_hook("loading_constants");
 ?>