/**
* defines.php
*
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Philippe Mingo
'size' => 40,
'default' => '../images/sm_logo.png'),
'$org_logo_width' => array( 'name' => _("Organization Logo Width"),
- 'type' => SMOPT_TYPE_INTEGER,
+ 'type' => SMOPT_TYPE_STRING,
'size' => 5,
'default' => 0),
'$org_logo_height' => array( 'name' => _("Organization Logo Height"),
- 'type' => SMOPT_TYPE_INTEGER,
+ 'type' => SMOPT_TYPE_STRING,
'size' => 5,
'default' => 0),
'$org_title' => array( 'name' => _("Organization Title"),
'$pop_before_smtp' => array( 'name' => _("POP3 Before SMTP?"),
'type' => SMOPT_TYPE_BOOLEAN,
'default' => false ),
+ '$skip_SM_header' => array( 'name' => _("Hide SquirrelMail Header"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
'$invert_time' => array( 'name' => _("Invert Time"),
'type' => SMOPT_TYPE_BOOLEAN ),
- '$default_use_mdn' => array( 'name' => _("Use Confirmation Flags"),
- 'type' => SMOPT_TYPE_BOOLEAN ),
/* --------------------------------------------------------*/
'Group3' => array( 'name' => _("Folders Defaults"),
'type' => SMOPT_TYPE_TITLE ),
SMPREF_UNSEEN_TOTAL => _("Unseen and Total") ) ),
'$auto_create_special' => array( 'name' => _("Auto Create Special Folders"),
'type' => SMOPT_TYPE_BOOLEAN ),
- '$default_use_javascript_addr_book' => array( 'name' => _("Default Javascript Adrressbook"),
+ '$default_use_javascript_addr_book' => array( 'name' => _("Default Javascript Addressbook"),
'type' => SMOPT_TYPE_BOOLEAN ),
'$delete_folder' => array( 'name' => _("Auto delete folders"),
'type' => SMOPT_TYPE_BOOLEAN ),
'type' => SMOPT_TYPE_BOOLEAN ),
'$hide_sm_attributions' => array( 'name' => _("Hide SM attributions"),
'type' => SMOPT_TYPE_BOOLEAN ),
- 'default_use_mdn' => array( 'name' => _("Enable use of delivery receipts"),
+ '$default_use_mdn' => array( 'name' => _("Enable use of delivery receipts"),
'type' => SMOPT_TYPE_BOOLEAN ),
'$edit_identity' => array( 'name' => _("Allow editing of identities"),
'type' => SMOPT_TYPE_BOOLEAN ),
'$allow_charset_search' => array( 'name' => _("Allow server charset search"),
'type' => SMOPT_TYPE_BOOLEAN,
'default' => false ),
- '$uid_support' => array( 'name' => _("UID support"),
- 'type' => SMOPT_TYPE_BOOLEAN,
- 'default' => false ),
'$session_name' => array( 'name' => _("PHP session name"),
'type' => SMOPT_TYPE_HIDDEN ),
/* --------------------------------------------------------*/
'type' => SMOPT_TYPE_STRING,
'size' => 40,
'default' => 'prefval' ),
- /* --------------------------------------------------------*/
- 'Group7' => array( 'name' => _("Themes"),
- 'type' => SMOPT_TYPE_TITLE ),
- '$theme_css' => array( 'name' => _("Style Sheet URL (css)"),
- 'type' => SMOPT_TYPE_PATH,
- 'size' => 40 ),
- '$theme_default' => array( 'name' => _("Default theme"),
- 'type' => SMOPT_TYPE_INTEGER,
- 'default' => 0,
- 'comment' => _("Use index number of theme") ),
+ '$addrbook_global_dsn' => array( 'name' => _("Global address book DSN"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40 ),
+ '$addrbook_global_table' => array( 'name' => _("Global address book table"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40,
+ 'default' => 'global_abook' ),
+ '$addrbook_global_writeable' => array( 'name' => _("Allow writing into global address book"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$addrbook_global_listing' => array( 'name' => _("Allow listing of global address book"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
'Group9' => array( 'name' => _("Language settings"),
'type' => SMOPT_TYPE_TITLE ),
'$squirrelmail_default_language' => array( 'name' => _("Default Language"),
'type' => SMOPT_TYPE_BOOLEAN ),
'$oldway' => array( 'name' => _("Use old folder listing functions"),
'type' => SMOPT_TYPE_BOOLEAN ),
+ '$use_icons' => array( 'name' => _("Use icons"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
'$use_php_recode' => array( 'name' => _("Use php recode functions"),
'type' => SMOPT_TYPE_BOOLEAN ),
'$use_php_iconv' => array( 'name' => _("Use php iconv functions"),
'type' => SMOPT_TYPE_BOOLEAN ),
/* --------------------------------------------------------*/
+ 'Group7' => array( 'name' => _("Themes"),
+ 'type' => SMOPT_TYPE_TITLE ),
+ '$theme_css' => array( 'name' => _("Style Sheet URL (css)"),
+ 'type' => SMOPT_TYPE_PATH,
+ 'size' => 40 ),
+ '$theme_default' => array( 'name' => _("Default theme"),
+ 'type' => SMOPT_TYPE_INTEGER,
+ 'default' => 0,
+ 'comment' => _("Use index number of theme") ),
+ /* --------------------------------------------------------*/
'$config_use_color' => array( 'name' => '',
'type' => SMOPT_TYPE_HIDDEN ),
'$no_list_for_subscribe' => array( 'name' => '',