+ 'size' => 40,
+ 'default' => 'address' ),
+ '$prefs_dsn' => array( 'name' => _("Preferences DSN"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40 ),
+ '$prefs_table' => array( 'name' => _("Preferences table"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40,
+ 'default' => 'userprefs' ),
+ '$prefs_user_field' => array('name' => _("Preferences username field"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40,
+ 'default' => 'user' ),
+ '$prefs_user_size' => array( 'name' => _("Size of username field"),
+ 'type' => SMOPT_TYPE_INTEGER ),
+ '$prefs_key_field' => array('name' => _("Preferences key field"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40,
+ 'default' => 'prefkey' ),
+ '$prefs_key_size' => array( 'name' => _("Size of key field"),
+ 'type' => SMOPT_TYPE_INTEGER ),
+ '$prefs_val_field' => array('name' => _("Preferences value field"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40,
+ 'default' => 'prefval' ),
+ '$prefs_val_size' => array( 'name' => _("Size of value field"),
+ 'type' => SMOPT_TYPE_INTEGER ),
+ '$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 ),
+ /* ---- Language settings ---- */
+ 'Group9' => array( 'name' => _("Language settings"),
+ 'type' => SMOPT_TYPE_TITLE ),
+ '$squirrelmail_default_language' => array( 'name' => _("Default Language"),
+ 'type' => SMOPT_TYPE_STRLIST,
+ 'size' => 7,
+ 'posvals' => $language_values ),
+ '$default_charset' => array( 'name' => _("Default Charset"),
+ 'type' => SMOPT_TYPE_STRLIST,
+ 'posvals' => array( 'iso-8859-1' => 'iso-8859-1',
+ 'iso-8859-2' => 'iso-8859-2',
+ 'iso-8859-7' => 'iso-8859-7',
+ 'iso-8859-9' => 'iso-8859-9',
+ 'iso-8859-15' => 'iso-8859-15',
+ 'utf-8' => 'utf-8',
+ 'koi8-r' => 'koi8-r',
+ 'euc-kr' => 'euc-kr',
+ 'big5' => 'big5',
+ 'gb2312' => 'gb2312',
+ 'tis-620' => 'tis-620',
+ 'windows-1251' => 'windows-1251',
+ 'windows-1255' => 'windows-1255',
+ 'windows-1256' => 'windows-1256',
+ 'iso-2022-jp' => 'iso-2022-jp' ) ),
+ '$show_alternative_names' => array( 'name' => _("Show alternative language names"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$aggressive_decoding' => array( 'name' => _("Enable aggressive decoding"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$lossy_encoding' => array( 'name' => _("Enable lossy encoding"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ /* ---- Tweaks ---- */
+ 'Group10' => array( 'name' => _("Tweaks"),
+ 'type' => SMOPT_TYPE_TITLE ),
+ '$use_icons' => array( 'name' => _("Use icons"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$use_iframe' => array( 'name' => _("Use inline frames with HTML mails"),
+ '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 ),
+ '$allow_remote_configtest' => array( 'name' => _("Allow remote configuration test"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ /* ---- Settings of address books ---- */
+ 'Group11' => array( 'name' => _("Address Books"),
+ 'type' => SMOPT_TYPE_TITLE ),
+ '$default_use_javascript_addr_book' => array( 'name' => _("Default Javascript Addressbook"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$abook_global_file' => array( 'name' => _("Global address book file"),
+ 'type' => SMOPT_TYPE_STRING ),
+ '$abook_global_file_writeable' => array( 'name' => _("Allow writing into global address book file"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$abook_global_file_listing' => array( 'name' => _("Allow listing of global address book"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$abook_file_line_length' => array( 'name' => _("Address book file line length"),
+ 'type' => SMOPT_TYPE_INTEGER ),