X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=config%2Fconfig_default.php;h=e52c821999c747e6ce2528240bc09ececaeb8514;hp=581130c1d4f25889564a07647e9950b840789634;hb=c4faef335b2362c81b8ebf026d4066c12d70536c;hpb=30e9932c6ad14849bab5618fd1ca42d607999325 diff --git a/config/config_default.php b/config/config_default.php index 581130c1..e52c8219 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -1,153 +1,315 @@ _rpc", as SquirrelMail will assume + * any template sets ending in "_rpc" are intended + * for its RPC interface only) + * + * @global string $templateset_default + * @global string $templateset_fallback + * @global string $rpc_templateset + */ +$templateset_default = 'default'; +$templateset_fallback = 'default'; +$rpc_templateset = 'default_rpc'; -$theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php'; -$theme[33]['NAME'] = 'Dark Green'; +$aTemplateSet[0]['ID'] = 'default'; +$aTemplateSet[0]['NAME'] = 'Default'; +$aTemplateSet[1]['ID'] = 'default_advanced'; +$aTemplateSet[1]['NAME'] = 'Advanced'; -$theme[34]['PATH'] = SM_PATH . 'themes/penguin.php'; -$theme[34]['NAME'] = 'Penguin'; +/** + * Default interface font size. + * @global string $default_fontsize + * @since 1.5.1 + */ +$default_fontsize = ''; -$theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php'; -$theme[35]['NAME'] = 'Minimal BW'; +/** + * Default font set + * @global string $default_fontset + * @since 1.5.1 + */ +$default_fontset = ''; +/** + * List of available fontsets. + * @global array $fontsets + * @since 1.5.1 + */ +$fontsets = array(); +$fontsets['serif'] = 'serif'; +$fontsets['sans'] = 'helvetica,arial,sans-serif'; +$fontsets['comicsans'] = 'comic sans ms,sans-serif'; +$fontsets['verasans'] = 'bitstream vera sans,verdana,sans-serif'; +$fontsets['tahoma'] = 'tahoma,sans-serif'; /** * LDAP server(s) @@ -531,23 +903,69 @@ $theme[35]['NAME'] = 'Minimal BW'; * 'host' => 'memberdir.netscape.com', * 'name' => 'Netcenter Member Directory', * 'base' => 'ou=member_directory,o=netcenter.com' - * ); + * ); + * + * NOTE: please see security note at the top of this file when + * entering a password. */ // 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; + +/** + * Controls file based address book entry size + * + * This setting controls space allocated to file based address book records. + * End users will be unable to save address book entry, if total entry size + * (quoted address book fields + 4 delimiters + linefeed) exceeds allowed + * address book length size. + * + * Same setting is applied to personal and global file based address books. + * + * It is strongly recommended to keep default setting value. Change it only + * if you really want to store address book entries that are bigger than two + * kilobytes (2048). + * @global integer $abook_file_line_length + * @since 1.5.2 + */ +$abook_file_line_length = 2048; /** * 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 = ""; @@ -555,28 +973,43 @@ $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 + * For instance, for the 'squirrelspell' plugin, you'd put a line like * the following. - * $plugins[0] = 'sqclock'; - * $plugins[1] = 'attachment_common'; + * $plugins[] = 'squirrelspell'; + * $plugins[] = 'listcommands'; */ // Add list of enabled plugins here +/** + * To disable all plugins regardless of any that are installed + * above, turn on $disable_plugins. To disable them ONLY for + * one user, put that username into $disable_plugins_user. + * @global boolean $disable_plugins + * @global string $disable_plugins_user + * @since 1.5.2 + */ +$disable_plugins = false; +$disable_plugins_user = ''; + + /*** Database ***/ /** - * Read doc/database.txt in order to get more information + * Read the administrator's manual 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. + * addressbooks are stored. See the administrator's manual 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. + * + * NOTE: please see security note at the top of this file when + * entering a password. */ $addrbook_dsn = ''; $addrbook_table = 'address'; @@ -585,114 +1018,301 @@ $addrbook_table = 'address'; */ $prefs_dsn = ''; $prefs_table = 'userprefs'; +/** + * Preference key field + * @global string $prefs_key_field + */ $prefs_key_field = 'prefkey'; +/** + * Size of preference key field + * @global integer $prefs_key_size + * @since 1.5.1 + */ +$prefs_key_size = 64; +/** + * Preference owner field + * @global string $prefs_user_field + */ $prefs_user_field = 'user'; +/** + * Size of preference owner field + * @global integer $prefs_user_size + * @since 1.5.1 + */ +$prefs_user_size = 128; +/** + * Preference value field + * @global string $prefs_val_field + */ $prefs_val_field = 'prefval'; /** - * Global sql database options + * Size of preference key field + * @global integer $prefs_val_size + * @since 1.5.1 + */ +$prefs_val_size = 65536; + +/*** Global sql database options ***/ +/** + * DSN of global address book database + * @global string $addrbook_global_dsn + * @since 1.5.1 and 1.4.4 */ $addrbook_global_dsn = ''; +/** + * Table used for global database address book + * @global string $addrbook_global_table + * @since 1.5.1 and 1.4.4 + */ $addrbook_global_table = 'global_abook'; +/** + * Control writing into global database address book + * @global boolean $addrbook_global_writeable + * @since 1.5.1 and 1.4.4 + */ $addrbook_global_writeable = false; +/** + * Control listing of global database address book + * @global boolean $addrbook_global_listing + * @since 1.5.1 and 1.4.4 + */ $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 translation settings. + * + * @global string $default_charset */ $default_charset = 'iso-8859-1'; /** - * 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 - */ -$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 */ -$agresive_decoding = false; +$aggressive_decoding = false; -/*** Tweaks ***/ /** - * Use experimental DHTML folder listing + * 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 */ -$advanced_tree = false; +$lossy_encoding = false; + /** - * Use older way of folder listing + * Controls use of time zone libraries + * + * Possible values: + *