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 Addressbook"),
- 'type' => SMOPT_TYPE_BOOLEAN ),
'$delete_folder' => array( 'name' => _("Auto delete folders"),
'type' => SMOPT_TYPE_BOOLEAN ),
'$noselect_fix_enable' => array( 'name' => _("Enable /NoSelect folder fix"),
'$motd' => array( 'name' => _("Message of the Day"),
'type' => SMOPT_TYPE_TEXTAREA,
'size' => 40 ),
- /* --------------------------------------------------------*/
+ /* ---- Database settings ---- */
'Group6' => array( 'name' => _("Database"),
'type' => SMOPT_TYPE_TITLE ),
'$addrbook_dsn' => array( 'name' => _("Address book DSN"),
'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_BOOLEAN ),
'$lossy_encoding' => array( 'name' => _("Enable lossy encoding"),
'type' => SMOPT_TYPE_BOOLEAN ),
+ /* ---- Tweaks ---- */
'Group10' => array( 'name' => _("Tweaks"),
'type' => SMOPT_TYPE_TITLE ),
'$advanced_tree' => array( 'name' => _("Use advanced tree folder listing"),
'type' => SMOPT_TYPE_BOOLEAN ),
'$use_php_iconv' => array( 'name' => _("Use php iconv functions"),
'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 ),
/* --------------------------------------------------------*/
'Group7' => array( 'name' => _("Themes"),
'type' => SMOPT_TYPE_TITLE ),
'Group7' => getPref($data_dir, $username, 'adm_Group7', 'on' ),
'Group8' => getPref($data_dir, $username, 'adm_Group8', 'on' ),
'Group9' => getPref($data_dir, $username, 'adm_Group9', 'on' ),
- 'Group10' => getPref($data_dir, $username, 'adm_Group10', 'on' ) );
+ 'Group10' => getPref($data_dir, $username, 'adm_Group10', 'on' ),
+ 'Group11' => getPref($data_dir, $username, 'adm_Group10', 'on' ) );
/* look in $_GET array for 'switch' */
if ( sqgetGlobalVar('switch', $switch, SQ_GET) ) {