X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=config%2Fconfig_default.php;h=2002038381666515a67d495df0fed1464525cb4a;hb=ea7ff11121c27c813a334e817b88579bf0694d9d;hp=c8a1aa4b8a7c93525b8e2c2daf08f23a194bece4;hpb=baf93783a770626c353f446b3ce4a2424c95e184;p=squirrelmail.git diff --git a/config/config_default.php b/config/config_default.php index c8a1aa4b..20020383 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -1,136 +1,477 @@ -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"; - -// 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. + 'memberdir.netscape.com', + * 'name' => 'Netcenter Member Directory', + * 'base' => 'ou=member_directory,o=netcenter.com' + * ); + */ +global $ldap_server; + +/** + * 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. + */ +global $addrbook_dsn, $addrbook_table; +$addrbook_dsn = ''; +$addrbook_table = 'address'; + +global $prefs_dsn, $prefs_table; +$prefs_dsn = ''; +$prefs_table = 'userprefs'; + +/** + * 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 $default_use_javascript_addr_book; +$default_use_javascript_addr_book = false; + +/** + * These next two options set the defaults for the way that the + * users see their folder list. + * $default_unseen_notify + * Specifies whether or not the users will see the number of + * unseen in each folder by default and also which folders to + * do this to. Valid values are: 1=none, 2=inbox, 3=all. + * $default_unseen_type + * Specifies the type of notification to give the users by + * default. Valid choice are: 1=(4), 2=(4,25). + */ +global $default_unseen_notify, $default_unseen_type; +$default_unseen_notify = 2; +$default_unseen_type = 1; + +/** + * If you are running on a machine that doesn't have the tm_gmtoff + * value in your time structure and if you are in a time zone that + * has a negative offset, you need to set this value to 1. This is + * typically people in the US that are running Solaris 7. + */ +global $invert_time; +$invert_time = false; + +/** + * By default SquirrelMail takes up the whole browser window, + * this allows you to embed it within sites using frames. Set + * this to the frame you want it to stay in. + */ + +global $frame_top; +$frame_top = '_top'; + +global $plugins; +/** + * 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'; + */ + +/** + * If you don't want to allow users to change their email address + * then you can set $edit_identity to false, if you want them to + * not be able to change their full name too then set $edit_name + * to false as well. $edit_name has no effect unless $edit_identity + * is false; + */ + +global $edit_identity, $edit_name; +$edit_identity = true; +$edit_name = true; + +/** + * 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. + */ ?>