-
+/**
+ * options_display.php
+ *
+ * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * Displays all optinos about display preferences
+ *
+ * $Id$
+ */
-
-
+/* Define the group constants for the display options page. */
+define('SMOPT_GRP_GENERAL', 0);
+define('SMOPT_GRP_MAILBOX', 1);
+define('SMOPT_GRP_MESSAGE', 2);
-
+ $optvals[SMOPT_GRP_MESSAGE][] = array(
+ 'name' => 'wrap_at',
+ 'caption' => _("Wrap Incoming Text At"),
+ 'type' => SMOPT_TYPE_INTEGER,
+ 'refresh' => SMOPT_REFRESH_NONE,
+ 'size' => SMOPT_SIZE_TINY
+ );
-
+ $optvals[SMOPT_GRP_MESSAGE][] = array(
+ 'name' => 'editor_size',
+ 'caption' => _("Size of Editor Window"),
+ 'type' => SMOPT_TYPE_INTEGER,
+ 'refresh' => SMOPT_REFRESH_NONE,
+ 'size' => SMOPT_SIZE_TINY
+ );
- |
-
+ $optvals[SMOPT_GRP_MESSAGE][] = array(
+ 'name' => 'location_of_buttons',
+ 'caption' => _("Location of Buttons when Composing"),
+ 'type' => SMOPT_TYPE_STRLIST,
+ 'refresh' => SMOPT_REFRESH_NONE,
+ 'posvals' => array(SMPREF_LOC_TOP => _("Before headers"),
+ SMPREF_LOC_BETWEEN => _("Between headers and message body"),
+ SMPREF_LOC_BOTTOM => _("After message body"))
+ );
-
+ $optvals[SMOPT_GRP_MESSAGE][] = array(
+ 'name' => 'use_javascript_addr_book',
+ 'caption' => _("Addressbook Display Format"),
+ 'type' => SMOPT_TYPE_STRLIST,
+ 'refresh' => SMOPT_REFRESH_NONE,
+ 'posvals' => array('1' => _("Javascript"),
+ '0' => _("HTML"))
+ );
- |
-