+ 'type' => SMOPT_TYPE_INTEGER ),
+ '$use_smtp_tls' => array( 'name' => _("SMTP Connection Security"),
+ 'type' => SMOPT_TYPE_STRLIST,
+ 'posvals' => array( 0 => _("Plain text connection"),
+ 1 => _("Secure IMAP (TLS) connection"),
+ 2 => _("IMAP STARTTLS connection")),
+ 'comment' => _("Requires higher PHP version and special functions. See SquirrelMail documentation."),
+ 'default' => 0 ),
+ '$smtp_auth_mech' => array( 'name' => _("SMTP Authentication Type"),
+ 'type' => SMOPT_TYPE_STRLIST,
+ 'posvals' => array('none' => _("No SMTP auth"),
+ 'login' => _("Login (plain text)"),
+ 'cram-md5' => 'CRAM-MD5',
+ 'digest-md5' => 'DIGEST-MD5'),
+ 'default' => 'none'),
+ '$pop_before_smtp' => array( 'name' => _("POP3 Before SMTP?"),
+ 'type' => SMOPT_TYPE_BOOLEAN,
+ 'default' => false ),
+ '$encode_header_key' => array( 'name' => _("Header Encryption Key"),
+ 'type' => SMOPT_TYPE_STRING ),
+ '$invert_time' => array( 'name' => _("Invert Time"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ /* --------------------------------------------------------*/
+ 'Group3' => array( 'name' => _("Folders Defaults"),
+ 'type' => SMOPT_TYPE_TITLE ),
+ '$default_folder_prefix' => array( 'name' => _("Default Folder Prefix"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40 ),
+ '$show_prefix_option' => array( 'name' => _("Show Folder Prefix Option"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$trash_folder' => array( 'name' => _("Trash Folder"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40 ),
+ '$sent_folder' => array( 'name' => _("Sent Folder"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40 ),
+ '$draft_folder' => array( 'name' => _("Draft Folder"),
+ 'type' => SMOPT_TYPE_STRING,
+ 'size' => 40 ),
+ '$default_move_to_trash' => array( 'name' => _("By default, move to trash"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$default_move_to_sent' => array( 'name' => _("By default, move to sent"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$default_save_as_draft' => array( 'name' => _("By default, save as draft"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$list_special_folders_first' => array( 'name' => _("List Special Folders First"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$use_special_folder_color' => array( 'name' => _("Show Special Folders Color"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$auto_expunge' => array( 'name' => _("Auto Expunge"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$default_sub_of_inbox' => array( 'name' => _("Default Sub. of INBOX"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$show_contain_subfolders_option' => array( 'name' => _("Show 'Contain Sub.' Option"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$default_unseen_notify' => array( 'name' => _("Default Unseen Notify"),
+ 'type' => SMOPT_TYPE_NUMLIST,
+ 'posvals' => array( SMPREF_UNSEEN_NONE => _("No Notification"),
+ SMPREF_UNSEEN_INBOX => _("Only INBOX"),
+ SMPREF_UNSEEN_ALL => _("All Folders")) ),
+ '$default_unseen_type' => array( 'name' => _("Default Unseen Type"),
+ 'type' => SMOPT_TYPE_NUMLIST ,
+ 'posvals' => array( SMPREF_UNSEEN_ONLY => _("Only Unseen"),
+ SMPREF_UNSEEN_TOTAL => _("Unseen and Total") ) ),
+ '$auto_create_special' => array( 'name' => _("Auto Create Special Folders"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$delete_folder' => array( 'name' => _("Auto delete folders"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$noselect_fix_enable' => array( 'name' => _("Enable /NoSelect folder fix"),
+ 'type' => SMOPT_TYPE_BOOLEAN,
+ 'default' => false),
+ /* --------------------------------------------------------*/
+ 'Group4' => array( 'name' => _("General Options"),
+ 'type' => SMOPT_TYPE_TITLE ),
+ '$data_dir' => array( 'name' => _("Data Directory"),
+ 'type' => SMOPT_TYPE_PATH,
+ 'size' => 40 ),
+ '$attachment_dir' => array( 'name' => _("Temp Directory"),
+ 'type' => SMOPT_TYPE_PATH,
+ 'size' => 40 ),
+ '$dir_hash_level' => array( 'name' => _("Hash Level"),
+ 'type' => SMOPT_TYPE_NUMLIST,
+ 'posvals' => array( 0 => _("Hash Disabled"),
+ 1 => _("Low"),
+ 2 => _("Moderate"),
+ 3 => _("Medium"),
+ 4 => _("High") ) ),
+ '$default_left_size' => array( 'name' => _("Default Left Size"),
+ 'type' => SMOPT_TYPE_NUMLIST,
+ 'posvals' => $left_size_values ),
+ '$force_username_lowercase' => array( 'name' => _("Usernames in Lowercase"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$default_use_priority' => array( 'name' => _("Allow use of priority"),
+ '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"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$edit_identity' => array( 'name' => _("Allow editing of identities"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$edit_name' => array( 'name' => _("Allow editing of full name"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$hide_auth_header' => array( 'name' => _("Remove username from headers"),
+ 'comment' => _("Used only when identities can't be modified"),
+ 'type' => SMOPT_TYPE_BOOLEAN ),
+ '$disable_server_sort' => array( 'name' => _("Disable server-side sorting"),
+ 'type' => SMOPT_TYPE_BOOLEAN,
+ 'default' => false ),
+ '$disable_thread_sort' => array( 'name' => _("Disable server-side thread sorting"),
+ 'type' => SMOPT_TYPE_BOOLEAN,
+ 'default' => false ),
+ '$allow_charset_search' => array( 'name' => _("Allow server charset search"),
+ 'type' => SMOPT_TYPE_BOOLEAN,
+ 'default' => false ),
+ '$allow_advanced_search' => array( 'name' => _("Search functions"),
+ 'type' => SMOPT_TYPE_NUMLIST,
+ 'posvals' => array( 0 => _("Only basic search"),
+ 1 => _("Only advanced search"),
+ 2 => _("Both search functions") ),
+ 'default' => 0 ),
+ '$session_name' => array( 'name' => _("PHP session name"),
+ 'type' => SMOPT_TYPE_HIDDEN ),
+ '$time_zone_type' => array( 'name' => _("Time Zone Configuration"),
+ 'type' => SMOPT_TYPE_NUMLIST,
+ 'posvals' => array( 0 => _("Standard GNU C time zones"),
+ 1 => _("Strict time zones"),
+ 2 => _("Custom GNU C time zones"),
+ 3 => _("Custom strict time zones")),
+ 'default' => 0 ),
+ /* --------------------------------------------------------*/
+ 'Group5' => array( 'name' => _("Message of the Day"),
+ 'type' => SMOPT_TYPE_TITLE ),