X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=config%2Fconfig_default.php;h=2002038381666515a67d495df0fed1464525cb4a;hb=ea7ff11121c27c813a334e817b88579bf0694d9d;hp=6cb02a44b1aeb405c404aecb7b166cac550864de;hpb=ecf5c1bd74140566ff58b5c6a88440483f2583b7;p=squirrelmail.git diff --git a/config/config_default.php b/config/config_default.php index 6cb02a44..20020383 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -16,6 +16,13 @@ $config_version = '1.2.0'; global $org_logo; $org_logo = '../images/sm_logo.png'; +/* The width of the logo (0 for default) */ +$org_logo_width = 0; + +/* The height of the logo (0 for default) */ +$org_logo_height = 1; + + /* Organization's name */ global $org_name; $org_name = 'SquirrelMail'; @@ -139,9 +146,13 @@ $show_prefix_option = false; * marked 'Deleted'. * $sent_folder * This is the path to where Sent messages will be stored. + * $delete_folder + * If this is true, when a folder is deleted then it will + * not get moved into the Trash folder. */ global $default_move_to_trash, $default_move_to_sent, $default_save_as_draft; global $trash_folder, $sent_folder, $draft_folder, $auto_expunge; +global $delete_folder; $default_move_to_trash = true; $default_move_to_sent = true; $default_save_as_draft = true; @@ -149,21 +160,7 @@ $trash_folder = 'INBOX.Trash'; $sent_folder = 'INBOX.Sent'; $draft_folder = 'INBOX.Drafts'; $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. - */ -global $special_folders; -$special_folders[0] = 'INBOX'; /* The first special folder should always */ - /* be the inbox (whatever it is named). */ -$special_folders[1] = $trash_folder; -$special_folders[2] = $sent_folder; -$special_folders[3] = $draft_folder; -$special_folders[4] = 'INBOX.Templates'; +$delete_folder = false; /** * Should I create the Sent and Trash folders automatically for @@ -391,11 +388,19 @@ 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 defined, the addressbooks are stored in files + * 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_dsn = 'mysql://user:pass@hostname/dbname'; +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 @@ -431,6 +436,15 @@ $default_unseen_type = 1; 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 @@ -441,6 +455,18 @@ global $plugins; * $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).