X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=config%2Fconfig_default.php;h=228cb82742c8d195b0f14ac9151a6f424179bd2b;hp=7044b3a1ae389ba1ba5927e16b77420d7d185a32;hb=91e0dccca7b2452d8b450791cae3aa4125e8889e;hpb=4df48d80ff99f57690fd78934353cc95ac9c63bb diff --git a/config/config_default.php b/config/config_default.php index 7044b3a1..228cb827 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -1,163 +1,959 @@ -mailing list"; - -// Themes -// You can define your own theme and put it in this directory. You must -// call it as the example below. You can name the theme whatever you -// want. For an example of a theme, see the ones included in the config -// directory. -// -// You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10 -// -// To add a new theme to the options that users can choose from, just add -// a new number to the array at the bottom, and follow the pattern. - - // The first one HAS to be here, and is your system's default theme. - // It can be any theme you want - $theme[0]["PATH"] = "../config/default_theme.php"; - $theme[0]["NAME"] = "Default"; - - $theme[1]["PATH"] = "../config/sandstorm_theme.php"; - $theme[1]["NAME"] = "Sand Storm"; - - $theme[2]["PATH"] = "../config/deepocean_theme.php"; - $theme[2]["NAME"] = "Deep Ocean"; - - $theme[3]["PATH"] = "../config/slashdot_theme.php"; - $theme[3]["NAME"] = "Slashdot"; - - $theme[4]["PATH"] = "../config/purple_theme.php"; - $theme[4]["NAME"] = "Purple"; - - $theme[5]["PATH"] = "../config/forest_theme.php"; - $theme[5]["NAME"] = "Forest"; - - $theme[6]["PATH"] = "../config/ice_theme.php"; - $theme[6]["NAME"] = "Ice"; - - $theme[7]["PATH"] = "../config/seaspray_theme.php"; - $theme[7]["NAME"] = "Sea Spray"; - -// Whether or not to use a special color for special folders. If not, special -// folders will be the same color as the other folders - $use_special_folder_color = true; - -// The following are related to deleting messages. -// $move_to_trash -// - if this is set to "true", when "delete" is pressed, it -// will attempt to move the selected messages to the folder -// named $trash_folder. If it's set to "false", we won't even -// attempt to move the messages, just delete them. -// $trash_folder -// - This is the path to the default trash folder. For Cyrus -// IMAP, it would be "INBOX.Trash", but for UW it would be -// "Trash". We need the full path name here. -// $auto_expunge -// - If this is true, when a message is moved or copied, the -// source mailbox will get expunged, removing all messages -// marked "Deleted". - - $default_move_to_trash = true; - $trash_folder = "INBOX.Trash"; - $auto_expunge = true; - -// Special Folders are folders that can't be manipulated like normal -// user created folders can. A couple of examples would be -// "INBOX.Trash", "INBOX.Drafts". We have them set to Netscape's -// default mailboxes, but this obviously can be changed. To add one, -// just add a new number to the array. - - $special_folders[0] = "INBOX"; // The first one has to be the inbox (whatever the name is) - $special_folders[1] = $trash_folder; - $special_folders[2] = "INBOX.Sent"; - $special_folders[3] = "INBOX.Drafts"; - $special_folders[4] = "INBOX.Templates"; - -// Whether or not to list the special folders first (true/false) - $list_special_folders_first = true; - -// Are all your folders subfolders of INBOX (i.e. cyrus IMAP server) -// If you are not sure, set it to false. - $default_sub_of_inbox = true; - -// Some IMAP daemons (UW) handle folders weird. They only allow a -// folder to contain either messages or other folders, not both at -// the same time. This option controls whether or not to display an -// option during folder creation. The option toggles which type of -// folder it should be. -// -// If this option confuses you, make it "true". You can't hurt -// anything if it's true, but some servers will respond weird if it's -// false. (Cyrus works fine whether it's true OR false). - - $show_contain_subfolders_option = false; - -// Whether or not to use META tags and automatically forward after an -// action has been completed. - $auto_forward = true; - -// Path to the data/ directory -// It is a possible security hole to have a writable directory -// under the web server's root directory (ex: /home/httpd/html). -// For this reason, it is possible to put the data directory -// anywhere you would like. The path name can be absolute or -// relative (to the config directory). It doesn't matter. Here are -// two examples: -// -// Absolute: -// $data_dir = "/usr/local/squirrelmail/data/"; -// -// Relative (to the config directory): -// $data_dir = "../data/"; - - $data_dir = "../data/"; - -// Path to directory used for storing attachments while a mail is -// being sent. There are a few security considerations regarding this -// directory: -// - It should have the permission 733 (rwx-wx-wx) to make it -// impossible for a random person with access to the webserver to -// list files in this directory. Confidential data might be laying -// around there -// - Since the webserver is not able to list the files in the content -// is also impossible for the webserver to delete files lying around -// there for too long. -// - It should probably be another directory than data_dir. - - $attachment_dir = $data_dir; - -// This is the default size of the left folder list. Default is 200, -// but you can set it to whatever you wish. - - $default_left_size = 200; -?> + 'memberdir.netscape.com', + * 'name' => 'Netcenter Member Directory', + * 'base' => 'ou=member_directory,o=netcenter.com' + * ); + */ +// Add your ldap server options here + +/** + * Javascript in Addressbook Control + * + * Users may search their addressbook via either a plain HTML or Javascript + * enhanced user interface. This option allows you to set the default choice. + * Set this default choice as either: + * true = javascript + * false = html + * @global bool $default_use_javascript_addr_book + */ +$default_use_javascript_addr_book = false; + +/** + * Shared filebased address book + * @global string $abook_global_file + */ +$abook_global_file = ''; + +/** + * Writing into shared address book control + * @global bool $abook_global_file_writeable + */ +$abook_global_file_writeable = false; + +/** + * MOTD + * + * This is a message that is displayed immediately after a user logs in. + * @global string $motd + */ +$motd = ""; + + +/** + * To install plugins, just add elements to this array that have + * the plugin directory name relative to the /plugins/ directory. + * For instance, for the 'sqclock' plugin, you'd put a line like + * the following. + * $plugins[0] = 'sqclock'; + * $plugins[1] = 'attachment_common'; + */ +// Add list of enabled plugins here + + +/*** Database ***/ +/** + * Read doc/database.txt in order to get more information + * about these settings. + */ +/** + * Database-driven private addressbooks + * DSN (Data Source Name) for a database where the private + * addressbooks are stored. See doc/db-backend.txt for more info. + * If it is not set, the addressbooks are stored in files + * in the data dir. + * The DSN is in the format: mysql://user:pass@hostname/dbname + * The table is the name of the table to use within the + * specified database. + */ +$addrbook_dsn = ''; +$addrbook_table = 'address'; +/** + * Database used to store user data + */ +$prefs_dsn = ''; +$prefs_table = 'userprefs'; +$prefs_key_field = 'prefkey'; +$prefs_user_field = 'user'; +$prefs_val_field = 'prefval'; +/** + * Global sql database options + */ +$addrbook_global_dsn = ''; +$addrbook_global_table = 'global_abook'; +$addrbook_global_writeable = false; +$addrbook_global_listing = false; + +/*** Language settings ***/ +/** + * Default language + * + * This is the default language. It is used as a last resort + * if SquirrelMail can't figure out which language to display. + * Language names usually consist of language code, undercore + * symbol and country code + * @global string $squirrelmail_default_language + */ +$squirrelmail_default_language = 'en_US'; + +/** + * Default Charset + * + * This option controls what character set is used when sending + * mail and when sending HTML to the browser. Option works only + * with US English (en_US) translation. Other translations use + * charsets that are set in functions/i18n.php. + * + * @global string $default_charset + */ +$default_charset = 'iso-8859-1'; + +/** + * Available Languages + * + * This option controls number of languages available to end user in + * language selection preferences. You can use space separated list + * of translations installed in locale/ directory or special keys + * 'all' (all languages are available) and 'none' (language selection + * is disabled, interface is set to $squirrelmail_default_language + * @global string $available_languages + * @since 1.5.0 + */ +$available_languages = 'all'; + +/** + * Alternative Language Names Control + * + * This options allows displaying native language names in language + * selection box. + * @global bool $show_alternative_names + * @since 1.5.0 + */ +$show_alternative_names = false; + +/** + * Aggressive Decoding Control + * + * This option enables reading of Eastern multibyte encodings. + * Functions that provide this support are very cpu and memory intensive. + * Don't enable this option unless you really need it. + * @global bool $aggressive_decoding + * @since 1.5.1 + */ +$aggressive_decoding = false; + +/** + * Lossy Encoding Control + * + * This option allows charset conversions when output charset does not support + * all symbols used in original charset. Symbols unsupported by output charset + * will be replaced with question marks. + * @global bool $lossy_encoding + * @since 1.5.1 + */ +$lossy_encoding = false; + +/*** Tweaks ***/ +/** + * Advanced DHTML tree control + * + * Use experimental DHTML folder listing + * @global bool $advanced_tree + * @since 1.5.0 + */ +$advanced_tree = false; + +/** + * Older listing way control + * + * Use older way of folder listing + * @global bool $oldway + */ +$oldway = false; + +/** + * Message Icons control + * + * Use icons for message and folder markers + * @global bool $use_icons + */ +$use_icons = false; + +/** + * PHP recode functions control + * + * Use experimental code with php recode functions when reading messages with + * different encoding. This code is faster that original SM functions, + * but it require php with recode support. + * + * Don't enable this option if you are not sure about availability of + * recode support. + * @global bool $use_php_recode + * @since 1.5.0 + */ +$use_php_recode = false; + +/** + * PHP iconv functions control + * + * Use experimental code with php iconv functions when reading messages with + * different encoding. This code is faster that original SM functions, + * but it require php with iconv support and works only with some translations. + * + * Don't enable this option if you are not sure about availability of + * iconv support. + * @global bool $use_php_iconv + * @since 1.5.0 + */ +$use_php_iconv = false; + +/** + * Subscribe Listing Control + * + * this disables listing all of the folders on the IMAP Server to + * generate the folder subscribe listbox (this can take a long time + * when you have a lot of folders). Instead, a textbox will be + * displayed allowing users to enter a specific folder name to subscribe to + * + * This option can't be changed by conf.pl + * @global bool $no_list_for_subscribe + */ +$no_list_for_subscribe = false; + +/** + * Color in config control + * + * This option is used only by conf.pl script to generate configuration + * menu with some colors and is provided here only as reference. + * @global integer $config_use_color + */ +$config_use_color = 2; + +/** + * This option includes special configuration options + */ +@include SM_PATH . 'config/config_local.php'; + +/** + * Make sure there are no characters after the PHP closing + * tag below (including newline characters and whitespace). + * Otherwise, that character will cause the headers to be + * sent and regular output to begin, which will majorly screw + * things up when we try to send more headers later. + */ +?> \ No newline at end of file