X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=config%2Fconfig_default.php;h=f564b4cf9fd9d70d55bc95e2e115ae2a94957e43;hp=bbe4389b7c884a97606859e8f160441893edcb82;hb=94511d239551fa56b44eb26b5cfc9dd83324438b;hpb=6395c46db0a732860324fa43886b6ca806ad2588 diff --git a/config/config_default.php b/config/config_default.php index bbe4389b..f564b4cf 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -1,12 +1,17 @@ '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 + * @since 1.5.1 and 1.4.4 + */ +$abook_global_file = ''; + +/** + * Writing into shared address book control + * @global bool $abook_global_file_writeable + * @since 1.5.1 and 1.4.4 + */ +$abook_global_file_writeable = false; + +/** + * Listing of shared address book control + * @global bool $abook_global_file_listing + * @since 1.5.1 + */ +$abook_global_file_listing = true; /** * MOTD - * This is a message that is displayed immediately after a user logs in. + * + * This is a message that is displayed immediately after a user logs in. + * @global string $motd */ $motd = ""; @@ -557,15 +804,15 @@ $motd = ""; * 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'; + * $plugins[] = 'sqclock'; + * $plugins[] = 'attachment_common'; */ // Add list of enabled plugins here /*** Database ***/ /** - * Read doc/database.txt in order to get more information + * Read doc/database.txt in order to get more information * about these settings. */ /** @@ -588,102 +835,185 @@ $prefs_table = 'userprefs'; $prefs_key_field = 'prefkey'; $prefs_user_field = 'user'; $prefs_val_field = 'prefval'; + +/*** Global sql database options ***/ /** - * Global sql database options + * DSN of global address book database + * @global string $addrbook_global_dsn + * @since 1.5.1 */ $addrbook_global_dsn = ''; +/** + * Table used for global database address book + * @global string $addrbook_global_table + * @since 1.5.1 + */ $addrbook_global_table = 'global_abook'; +/** + * Control writing into global database address book + * @global boolean $addrbook_global_writeable + * @since 1.5.1 + */ $addrbook_global_writeable = false; +/** + * Control listing of global database address book + * @global boolean $addrbook_global_listing + * @since 1.5.1 + */ $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 + * Language names usually consist of language code, undercore * symbol and country code + * @global string $squirrelmail_default_language */ $squirrelmail_default_language = 'en_US'; /** - * This option controls what character set is used when sending mail - * and when sending HTML to the browser. Do not set this to US-ASCII, - * use ISO-8859-1 instead. - * - * You can set this option, only if $squirrelmail_default_language setting - * contains 'en_US' string. In any other case system does not allow - * making mistakes with incorrect language and charset combinations. + * 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'; /** - * This options allows displaying native language names in language + * 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; /** - * This option enables reading of Eastern multibyte encodings. + * 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 */ -$agresive_decoding = false; +$lossy_encoding = false; /*** Tweaks ***/ /** + * Advanced DHTML tree control + * * Use experimental DHTML folder listing + * @global bool $advanced_tree + * @since 1.5.0 */ $advanced_tree = false; + /** - * Use older way of folder listing + * Iframe sandbox code control + * + * Use iframe to render html emails + * (temp option used during debuging of new code) + * @global bool $use_iframe + * @since 1.5.1 */ -$oldway = false; +$use_iframe = false; + /** + * Message Icons control + * * Use icons for message and folder markers + * @global bool $use_icons + * @since 1.5.1 */ $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 + * + * 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 + * + * 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; /** + * Controls remote configuration checks + * @global boolean $allow_remote_configtest + * @since 1.5.1 + */ +$allow_remote_configtest = 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. + * menu with some colors and is provided here only as reference. + * @global integer $config_use_color */ $config_use_color = 2; @@ -699,4 +1029,4 @@ $config_use_color = 2; * 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