Replacing tabs with spaces
[squirrelmail.git] / config / config_default.php
CommitLineData
59177427 1<?php
716fa276 2
a3439b27 3/**
2d896bbf 4 * Default SquirrelMail configuration file
5 *
a3439b27 6 * BEFORE EDITING THIS FILE!
7 *
8 * Don't edit this file directly. Copy it to config.php before you
9 * edit it. However, it is best to use the configuration script
10 * conf.pl if at all possible. That is the easiest and cleanest way
11 * to configure.
2d896bbf 12 *
13 * @package squirrelmail
14 * @subpackage config
a3439b27 15 */
16
17/* Do not change this value. */
f6cfbdac 18global $version;
a3439b27 19global $config_version;
76911253 20$config_version = '1.4.0';
a3439b27 21
f6cfbdac 22/*** Organization preferences ***/
23/**
24 * Organization's name
2d896bbf 25 * @global string $org_name
f6cfbdac 26 */
27$org_name = "SquirrelMail";
b6e0c3b6 28
f6cfbdac 29/**
30 * Organization's logo picture (blank if none)
2d896bbf 31 * @global string $org_logo
f6cfbdac 32 */
33$org_logo = SM_PATH . 'images/sm_logo.png';
b6e0c3b6 34
f6cfbdac 35/**
36 * The width of the logo (0 for default)
2d896bbf 37 * @global string $org_logo_width
f6cfbdac 38 */
39$org_logo_width = '308';
b6e0c3b6 40
f6cfbdac 41/**
42 * The height of the logo (0 for default)
2d896bbf 43 * @global string $org_logo_height
f6cfbdac 44 */
45$org_logo_height = '111';
a3439b27 46
47/**
48 * Webmail Title
2d896bbf 49 *
50 * This is the web page title that appears at the top of the browser window.
51 * @global string $org_title
a3439b27 52 */
120fbed7 53$org_title = "SquirrelMail $version";
f6cfbdac 54
a3439b27 55/**
2d896bbf 56 * Signout page
57 *
f6cfbdac 58 * Rather than going to the signout.php page (which only allows you
59 * to sign back in), setting signout_page allows you to sign the user
60 * out and then redirect to whatever page you want. For instance,
61 * the following would return the user to your home page:
62 * $signout_page = '/';
63 * Set to the empty string to continue to use the default signout page.
2d896bbf 64 * @global string $signout_page
a3439b27 65 */
f6cfbdac 66$signout_page = '';
a3439b27 67
f6cfbdac 68/**
2d896bbf 69 * Top frame
70 *
f6cfbdac 71 * By default SquirrelMail takes up the whole browser window,
72 * this allows you to embed it within sites using frames. Set
73 * this to the frame you want it to stay in.
2d896bbf 74 * @global string $frame_top
f6cfbdac 75 */
76$frame_top = '_top';
a3439b27 77
f6cfbdac 78/**
2d896bbf 79 * Provider name
80 *
81 * Here you can set name of the link displayed on the right side of main page.
f6cfbdac 82 *
91e0dccc 83 * Link will be displayed only if you have $hide_sm_attributions
f6cfbdac 84 * option set to true.
2d896bbf 85 * @global string $provider_name
f6cfbdac 86 */
87$provider_name = 'SquirrelMail';
f6cfbdac 88
2d896bbf 89/**
90 * Provider URI
91 *
92 * Here you can set URL of the link displayed on the right side of main page.
93 *
91e0dccc 94 * Link will be displayed only if you have $hide_sm_attributions
2d896bbf 95 * option set to true.
96 * @global string $provider_uri
97 */
98$provider_uri = 'http://www.squirrelmail.org/';
f6cfbdac 99
100/*** Server Settings ***/
a3439b27 101/**
2d896bbf 102 * Default Domain
103 *
a3439b27 104 * The domain part of local email addresses.
105 * This is for all messages sent out from this server.
106 * Reply address is generated by $username@$domain
5d28b77e 107 * Example: In bob@example.com, example.com is the domain.
2d896bbf 108 * @global string $domain
a3439b27 109 */
884eba1e 110$domain = 'example.com';
a3439b27 111
f6cfbdac 112/**
2d896bbf 113 * Time offset inversion
114 *
f6cfbdac 115 * If you are running on a machine that doesn't have the tm_gmtoff
116 * value in your time structure and if you are in a time zone that
117 * has a negative offset, you need to set this value to 1. This is
118 * typically people in the US that are running Solaris 7.
2d896bbf 119 * @global bool $invert_time
f6cfbdac 120 */
121$invert_time = false;
a3439b27 122
123/**
2d896bbf 124 * Default send transport
125 *
f6cfbdac 126 * What should be used when sending email.
127 * If it is set to false, SquirrelMail will use SMTP server settings.
91e0dccc 128 * If it is set to true, SquirrelMail will use program defined in
f6cfbdac 129 * $sendmail_path
2d896bbf 130 * @global bool $useSendmail
a3439b27 131 */
f6cfbdac 132$useSendmail = false;
a3439b27 133
f6cfbdac 134/**
2d896bbf 135 * Your SMTP server (usually the same as the IMAP server).
136 * @global string $smtpServerAddress
f6cfbdac 137 */
138$smtpServerAddress = 'localhost';
2d896bbf 139/**
140 * Your SMTP port number (usually 25).
141 * @global integer $smtpPort
142 */
f6cfbdac 143$smtpPort = 25;
a3439b27 144
cba7675e 145/**
2d896bbf 146 * SquirrelMail header control
147 *
cba7675e 148 * Option can be used to disable Received: headers added by squirrelmail.
149 * This can increase user's privacy and solve problems with spam filters
150 * that increase spam marks for dynamic dialup addresses.
151 *
91e0dccc 152 * If admin enables this setting, system should have some logging facility
153 * or other tools to control users. SquirrelMail's Received: header provides
cba7675e 154 * information, that can't be forged by webmail user.
2d896bbf 155 * @global bool $skip_SM_header
cba7675e 156 */
157$skip_SM_header = false;
158
a3439b27 159/**
2d896bbf 160 * Path to Sendmail
161 *
f6cfbdac 162 * Program that should be used when sending email. SquirrelMail expects that
91e0dccc 163 * this program will follow options used by original sendmail
f6cfbdac 164 * (http://www.sendmail.org).
2d896bbf 165 * @global string $sendmail_path
a3439b27 166 */
f6cfbdac 167$sendmail_path = '/usr/sbin/sendmail';
91e0dccc 168
f6cfbdac 169/**
2d896bbf 170 * IMAP server address
171 *
172 * The dns name (or IP address) for your imap server.
173 * @global string $imapServerAddress
f6cfbdac 174 */
175$imapServerAddress = 'localhost';
2d896bbf 176
177/**
178 * IMAP server port
179 *
180 * Port used by your imap server. (Usually 143)
181 * @global integer $imapPort
182 */
f6cfbdac 183$imapPort = 143;
a3439b27 184
185/**
2d896bbf 186 * IMAP server type
187 *
a3439b27 188 * The type of IMAP server you are running.
189 * Valid type are the following (case is important):
190 * courier
191 * cyrus
192 * exchange
193 * uw
f6cfbdac 194 * macosx
b39825f0 195 * hmailserver
f6cfbdac 196 * mercury32
a3439b27 197 * other
f6cfbdac 198 *
199 * Please note that this changes only some of server settings.
200 *
201 * In order to set everything correctly, you need to adjust several
202 * squirrelmail options. These options are listed in doc/presets.txt
2d896bbf 203 * @global string $imap_server_type
a3439b27 204 */
884eba1e 205$imap_server_type = 'other';
a3439b27 206
207/**
2d896bbf 208 * Advanced IMAP authentication options control
209 *
f6cfbdac 210 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
211 * Set reasonable defaults - you'd never know this was there unless you ask for it
2d896bbf 212 * @global bool $use_imap_tls
a3439b27 213 */
f6cfbdac 214$use_imap_tls = false;
2d896bbf 215
216/**
217 * Advanced SMTP authentication options control
218 *
219 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
220 * Set reasonable defaults - you'd never know this was there unless you ask for it
221 * @global bool $use_smtp_tls
222 */
f6cfbdac 223$use_smtp_tls = false;
a3439b27 224
f6cfbdac 225/**
2d896bbf 226 * SMTP authentication mechanism
227 *
228 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
229 * @global string $smtp_auth_mech
f6cfbdac 230 */
231$smtp_auth_mech = 'none';
2d896bbf 232
233/**
234 * IMAP authentication mechanism
235 *
236 * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
237 * @global string $imap_auth_mech
238 */
f6cfbdac 239$imap_auth_mech = 'login';
240
241/**
2d896bbf 242 * IMAP folder delimiter
243 *
f6cfbdac 244 * This is the delimiter that your IMAP server uses to distinguish between
245 * folders. For example, Cyrus uses '.' as the delimiter and a complete
246 * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would
247 * look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect'
248 * but if you are sure you know what delimiter your server uses, you can
249 * specify it here.
250 *
251 * To have it autodetect the delimiter, set it to 'detect'.
2d896bbf 252 * @global string $optional_delimiter
f6cfbdac 253 */
254$optional_delimiter = 'detect';
255
256/**
2d896bbf 257 * POP before SMTP setting
258 *
f6cfbdac 259 * Do you wish to use POP3 before SMTP? Your server must
260 * support this in order for SquirrelMail to work with it.
2d896bbf 261 * @global bool $pop_before_smtp
f6cfbdac 262 */
263$pop_before_smtp = false;
264
265
266/*** Folder Settings ***/
a3439b27 267/**
2d896bbf 268 * Default IMAP folder prefix
269 *
a3439b27 270 * Many servers store mail in your home directory. With this, they
271 * store them in a subdirectory: mail/ or Mail/, etc. If your server
272 * does this, please set this to what the default mail folder should
273 * be. This is still a user preference, so they can change it if it
274 * is different for each user.
275 *
276 * Example:
277 * $default_folder_prefix = 'mail/';
278 * -- or --
279 * $default_folder_prefix = 'Mail/folders/';
280 *
281 * If you do not use this, set it to the empty string.
2d896bbf 282 * @global string $default_folder_prefix
a3439b27 283 */
a3439b27 284$default_folder_prefix = '';
285
286/**
2d896bbf 287 * User level prefix control
288 *
a3439b27 289 * If you do not wish to give them the option to change this, set it
290 * to false. Otherwise, if it is true, they can change the folder prefix
291 * to be anything.
2d896bbf 292 * @global bool $show_prefix_option
a3439b27 293 */
a3439b27 294$show_prefix_option = false;
295
296/**
297 * The following are related to deleting messages.
f6cfbdac 298 * $default_move_to_trash
299 * If this is set to 'true', when 'delete' is pressed, it
a3439b27 300 * will attempt to move the selected messages to the folder
301 * named $trash_folder. If it's set to 'false', we won't even
302 * attempt to move the messages, just delete them.
f6cfbdac 303 * $default_move_to_sent
304 * If this is set to 'true', sent messages will be stored in
305 * $sent_folder by default.
306 * $default_save_as_draft
307 * If this is set to 'true', users are able to use $draft_folder
308 * to store their unfinished messages.
a3439b27 309 * $trash_folder
310 * This is the path to the default trash folder. For Cyrus
311 * IMAP, it would be 'INBOX.Trash', but for UW it would be
312 * 'Trash'. We need the full path name here.
f6cfbdac 313 * $draft_folder
314 * This is the patch to where Draft messages will be stored.
a3439b27 315 * $auto_expunge
316 * If this is true, when a message is moved or copied, the
317 * source mailbox will get expunged, removing all messages
318 * marked 'Deleted'.
319 * $sent_folder
320 * This is the path to where Sent messages will be stored.
4e85a37f 321 * $delete_folder
322 * If this is true, when a folder is deleted then it will
323 * not get moved into the Trash folder.
2d896bbf 324 * @global bool $default_move_to_trash
325 * @global bool $default_move_to_sent
326 * @global bool $default_save_as_draft
327 * @global string $trash_folder
328 * @global string $sent_folder
329 * @global string $draft_folder
330 * @global bool $auto_expunge
331 * @global bool $delete_folder
a3439b27 332 */
a3439b27 333$default_move_to_trash = true;
334$default_move_to_sent = true;
335$default_save_as_draft = true;
336$trash_folder = 'INBOX.Trash';
337$sent_folder = 'INBOX.Sent';
338$draft_folder = 'INBOX.Drafts';
339$auto_expunge = true;
4e85a37f 340$delete_folder = false;
a3439b27 341
f6cfbdac 342/**
2d896bbf 343 * Special Folder Color Control
344 *
f6cfbdac 345 * Whether or not to use a special color for special folders. If not,
346 * special folders will be the same color as the other folders.
2d896bbf 347 * @global bool $use_special_folder_color
f6cfbdac 348 */
349$use_special_folder_color = true;
350
a3439b27 351/**
2d896bbf 352 * Create Special Folders Control
353 *
a3439b27 354 * Should I create the Sent and Trash folders automatically for
355 * a new user that doesn't already have them created?
2d896bbf 356 * @global bool $auto_create_special
a3439b27 357 */
a3439b27 358$auto_create_special = true;
359
2d896bbf 360/**
361 * List Special Folders First Control
362 *
363 * Whether or not to list the special folders first (true/false).
91e0dccc 364 * @global bool $list_special_folders_first
2d896bbf 365 */
a3439b27 366$list_special_folders_first = true;
367
368/**
2d896bbf 369 * Subfolder Layout Control
370 *
a3439b27 371 * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
372 * If you are unsure, set it to false.
2d896bbf 373 * @global bool $default_sub_of_inbox
a3439b27 374 */
a3439b27 375$default_sub_of_inbox = true;
376
377/**
2d896bbf 378 * Subfolder Format Control
379 *
a3439b27 380 * Some IMAP daemons (UW) handle folders weird. They only allow a
381 * folder to contain either messages or other folders, not both at
382 * the same time. This option controls whether or not to display an
383 * option during folder creation. The option toggles which type of
384 * folder it should be.
385 *
91e0dccc 386 * If this option confuses you, just set it to 'true'. You can not hurt
a3439b27 387 * anything if it's true, but some servers will respond weird if it's
388 * false. (Cyrus works fine whether it's true OR false).
2d896bbf 389 * @global bool $show_contain_subfolders_option
a3439b27 390 */
a3439b27 391$show_contain_subfolders_option = false;
392
393/**
f6cfbdac 394 * These next two options set the defaults for the way that the
395 * users see their folder list.
396 * $default_unseen_notify
91e0dccc 397 * Specifies whether or not the users will see the number of
f6cfbdac 398 * unseen in each folder by default and also which folders to
399 * do this to. Valid values are: 1=none, 2=inbox, 3=all.
400 * $default_unseen_type
401 * Specifies the type of notification to give the users by
402 * default. Valid choice are: 1=(4), 2=(4,25).
2d896bbf 403 * @global integer $default_unseen_notify
404 * @global integer $default_unseen_type
a3439b27 405 */
f6cfbdac 406$default_unseen_notify = 2;
407$default_unseen_type = 1;
a3439b27 408
f6cfbdac 409/**
2d896bbf 410 * NoSelect Fix Control
411 *
f6cfbdac 412 * This enables the no select fix for Cyrus when subfolders
413 * exist but parent folders do not
2d896bbf 414 * @global bool $noselect_fix_enable
f6cfbdac 415 */
416$noselect_fix_enable = false;
417
418/*** General options ***/
a3439b27 419/**
420 * Path to the data/ directory
2d896bbf 421 *
a3439b27 422 * It is a possible security hole to have a writable directory
423 * under the web server's root directory (ex: /home/httpd/html).
424 * For this reason, it is possible to put the data directory
425 * anywhere you would like. The path name can be absolute or
426 * relative (to the config directory). It doesn't matter. Here
427 * are two examples:
428 *
429 * Absolute:
430 * $data_dir = '/usr/local/squirrelmail/data/';
431 *
f6cfbdac 432 * Relative (to main SM directory):
884eba1e 433 * $data_dir = SM_PATH . 'data/';
2d896bbf 434 * @global string $data_dir
a3439b27 435 */
884eba1e 436$data_dir = SM_PATH . 'data/';
a3439b27 437
438/**
2d896bbf 439 * Attachments directory
440 *
a3439b27 441 * Path to directory used for storing attachments while a mail is
442 * being sent. There are a few security considerations regarding
443 * this directory:
444 * + It should have the permission 733 (rwx-wx-wx) to make it
445 * impossible for a random person with access to the webserver to
446 * list files in this directory. Confidential data might be laying
447 * around there.
448 * + Since the webserver is not able to list the files in the content
91e0dccc 449 * is also impossible for the webserver to delete files lying around
a3439b27 450 * there for too long.
451 * + It should probably be another directory than data_dir.
2d896bbf 452 * @global string $attachment_dir
a3439b27 453 */
f6cfbdac 454$attachment_dir = $data_dir;
a3439b27 455
f6cfbdac 456/**
457 * Hash level used for data directory.
91e0dccc 458 *
f6cfbdac 459 * This option allows spliting file based squirrelmail user
460 * data storage directory into several subfolders. Number from
461 * 0 to 4 allows allows having up to four subfolder levels.
462 *
91e0dccc 463 * Hashing should speed up directory access if you have big number
f6cfbdac 464 * of users (500 and more).
2d896bbf 465 * @global integer $dir_hash_level
f6cfbdac 466 */
a3439b27 467$dir_hash_level = 0;
468
469/**
2d896bbf 470 * Default Size of Folder List
471 *
a3439b27 472 * This is the default size of the folder list. Default
473 * is 150, but you can set it to whatever you wish.
2d896bbf 474 * @global string $default_left_size
a3439b27 475 */
f6cfbdac 476$default_left_size = '150';
a3439b27 477
478/**
2d896bbf 479 * Username Case Control
480 *
a3439b27 481 * Some IMAP servers allow a username (like 'bob') to log in if they use
482 * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
483 * preference files. Toggling this option to true will transparently
484 * change all usernames to lowercase.
2d896bbf 485 * @global bool $force_username_lowercase
a3439b27 486 */
a3439b27 487$force_username_lowercase = false;
488
f6cfbdac 489/**
2d896bbf 490 * Email Priority Control
491 *
f6cfbdac 492 * This option enables use of email priority flags by end users.
2d896bbf 493 * @global bool $default_use_priority
f6cfbdac 494 */
495$default_use_priority = true;
496
497/**
2d896bbf 498 * SquirrelMail Attributions Control
499 *
91e0dccc 500 * This option disables display of "created by squirrelmail developers"
f6cfbdac 501 * strings and provider link
2d896bbf 502 * @global bool $hide_sm_attributions
f6cfbdac 503 */
504$hide_sm_attributions = false;
505
506/**
2d896bbf 507 * Delivery Receipts Control
508 *
509 * This option enables use of read/delivery receipts by end users.
510 * @global bool $default_use_mdn
f6cfbdac 511 */
512$default_use_mdn = true;
513
514/**
2d896bbf 515 * Identity Controls
516 *
f6cfbdac 517 * If you don't want to allow users to change their email address
518 * then you can set $edit_identity to false, if you want them to
519 * not be able to change their full name too then set $edit_name
520 * to false as well. $edit_name has no effect unless $edit_identity
521 * is false;
2d896bbf 522 * @global bool $edit_identity
523 * @global bool $edit_name
f6cfbdac 524 */
525$edit_identity = true;
526$edit_name = true;
527
528/**
2d896bbf 529 * Server Side Threading Control
530 *
f6cfbdac 531 * If you want to enable server side thread sorting options
91e0dccc 532 * Your IMAP server must support the THREAD extension for
f6cfbdac 533 * this to work.
2d896bbf 534 * @global bool $allow_thread_sort
f6cfbdac 535 */
536$allow_thread_sort = false;
537
2d896bbf 538/**
539 * Server Side Sorting Control
540 *
f6cfbdac 541 * to use server-side sorting instead of SM client side.
542 * Your IMAP server must support the SORT extension for this
543 * to work.
2d896bbf 544 * @global bool $allow_server_sort
f6cfbdac 545 */
546$allow_server_sort = false;
547
548/**
2d896bbf 549 * IMAP Charset Use Control
550 *
f6cfbdac 551 * This option allows you to choose if SM uses charset search
91e0dccc 552 * Your imap server should support SEARCH CHARSET command for
f6cfbdac 553 * this to work.
2d896bbf 554 * @global bool $allow_charset_search
f6cfbdac 555 */
556$allow_charset_search = true;
557
fdefb2e7 558/**
559 * Search functions control
560 *
561 * This option allows you to control the use of advanced search form.
562 * Set to 0 to enable basic search only, 1 to enable advanced search only
563 * or 2 to enable both.
564 * @global integer $allow_advanced_search
565 */
566$allow_advanced_search = 0;
567
f6cfbdac 568/**
2d896bbf 569 * PHP session name.
570 *
571 * Leave this alone unless you know what you are doing.
572 * @global string $session_name
f6cfbdac 573 */
574$session_name = 'SQMSESSID';
575
576
a3439b27 577/**
578 * Themes
579 * You can define your own theme and put it in this directory.
580 * You must call it as the example below. You can name the theme
581 * whatever you want. For an example of a theme, see the ones
582 * included in the config directory.
583 *
584 * To add a new theme to the options that users can choose from, just
585 * add a new number to the array at the bottom, and follow the pattern.
91e0dccc 586 *
f6cfbdac 587 * $theme_default sets theme that will be used by default
91e0dccc 588 * $theme_css sets stylesheet (from theme/css directory) that will be
f6cfbdac 589 * used by default.
2d896bbf 590 * @global integer $theme_default
591 * @global string $theme_css
a3439b27 592 */
57c6fabc 593$theme_default = 0;
f6cfbdac 594$theme_css = '';
a3439b27 595
2d896bbf 596/**
597 * Listing of installed themes
598 * @global array $theme
599 */
884eba1e 600$theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
a3439b27 601$theme[0]['NAME'] = 'Default';
602
884eba1e 603$theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
a3439b27 604$theme[1]['NAME'] = 'Plain Blue';
605
884eba1e 606$theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
a3439b27 607$theme[2]['NAME'] = 'Sand Storm';
608
884eba1e 609$theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
a3439b27 610$theme[3]['NAME'] = 'Deep Ocean';
611
884eba1e 612$theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
a3439b27 613$theme[4]['NAME'] = 'Slashdot';
614
884eba1e 615$theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
a3439b27 616$theme[5]['NAME'] = 'Purple';
617
884eba1e 618$theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
a3439b27 619$theme[6]['NAME'] = 'Forest';
620
884eba1e 621$theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
a3439b27 622$theme[7]['NAME'] = 'Ice';
623
884eba1e 624$theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
a3439b27 625$theme[8]['NAME'] = 'Sea Spray';
626
884eba1e 627$theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
a3439b27 628$theme[9]['NAME'] = 'Blue Steel';
629
884eba1e 630$theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
a3439b27 631$theme[10]['NAME'] = 'Dark Grey';
632
884eba1e 633$theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
a3439b27 634$theme[11]['NAME'] = 'High Contrast';
635
884eba1e 636$theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
a3439b27 637$theme[12]['NAME'] = 'Black Bean Burrito';
638
884eba1e 639$theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
a3439b27 640$theme[13]['NAME'] = 'Servery';
641
884eba1e 642$theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
a3439b27 643$theme[14]['NAME'] = 'Maize';
644
884eba1e 645$theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
a3439b27 646$theme[15]['NAME'] = 'BluesNews';
647
884eba1e 648$theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
a3439b27 649$theme[16]['NAME'] = 'Deep Ocean 2';
650
884eba1e 651$theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
ecf5c1bd 652$theme[17]['NAME'] = 'Blue Grey';
a3439b27 653
884eba1e 654$theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
a3439b27 655$theme[18]['NAME'] = 'Dompie';
656
884eba1e 657$theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
a3439b27 658$theme[19]['NAME'] = 'Methodical';
659
884eba1e 660$theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
a3439b27 661$theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
6e0fa5e6 662
884eba1e 663$theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
a3439b27 664$theme[21]['NAME'] = 'In The Pink (Changes)';
94c9adcb 665
884eba1e 666$theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
a3439b27 667$theme[22]['NAME'] = 'Kind of Blue (Changes)';
668
884eba1e 669$theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
a3439b27 670$theme[23]['NAME'] = 'Monostochastic (Changes)';
a610c5e4 671
884eba1e 672$theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
a3439b27 673$theme[24]['NAME'] = 'Shades of Grey (Changes)';
a610c5e4 674
884eba1e 675$theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
a3439b27 676$theme[25]['NAME'] = 'Spice of Life (Changes)';
a1b33f64 677
884eba1e 678$theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
a3439b27 679$theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
a1b33f64 680
884eba1e 681$theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
a3439b27 682$theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
a1b33f64 683
884eba1e 684$theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
a3439b27 685$theme[28]['NAME'] = 'Holiday - Christmas';
686
884eba1e 687$theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
9007bf00 688$theme[29]['NAME'] = 'Darkness (Changes)';
689
884eba1e 690$theme[30]['PATH'] = SM_PATH . 'themes/random.php';
fb351cd8 691$theme[30]['NAME'] = 'Random (Changes every login)';
692
884eba1e 693$theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
fb351cd8 694$theme[31]['NAME'] = 'Midnight';
9007bf00 695
884eba1e 696$theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php';
211f8c1d 697$theme[32]['NAME'] = 'Alien Glow';
698
884eba1e 699$theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php';
211f8c1d 700$theme[33]['NAME'] = 'Dark Green';
701
884eba1e 702$theme[34]['PATH'] = SM_PATH . 'themes/penguin.php';
46b89abe 703$theme[34]['NAME'] = 'Penguin';
716fa276 704
e79c77f2 705$theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php';
706$theme[35]['NAME'] = 'Minimal BW';
707
f2225182 708$theme[36]['PATH'] = SM_PATH . 'themes/redmond.php';
709$theme[36]['NAME'] = 'Redmond';
e79c77f2 710
1043c75f 711$theme[37]['PATH'] = SM_PATH . 'themes/netstyle_theme.php';
712$theme[37]['NAME'] = 'Net Style';
713
714$theme[38]['PATH'] = SM_PATH . 'themes/silver_steel_theme.php';
715$theme[38]['NAME'] = 'Silver Steel';
716
717$theme[39]['PATH'] = SM_PATH . 'themes/simple_green_theme.php';
718$theme[39]['NAME'] = 'Simple Green';
719
720$theme[40]['PATH'] = SM_PATH . 'themes/wood_theme.php';
721$theme[40]['NAME'] = 'Wood';
722
a3439b27 723/**
724 * LDAP server(s)
725 * Array of arrays with LDAP server parameters. See
726 * functions/abook_ldap_server.php for a list of possible
727 * parameters
728 *
729 * EXAMPLE:
730 * $ldap_server[0] = Array(
731 * 'host' => 'memberdir.netscape.com',
732 * 'name' => 'Netcenter Member Directory',
733 * 'base' => 'ou=member_directory,o=netcenter.com'
91e0dccc 734 * );
a3439b27 735 */
f6cfbdac 736// Add your ldap server options here
3499f99f 737
a3439b27 738/**
2d896bbf 739 * Javascript in Addressbook Control
740 *
a3439b27 741 * Users may search their addressbook via either a plain HTML or Javascript
742 * enhanced user interface. This option allows you to set the default choice.
743 * Set this default choice as either:
744 * true = javascript
745 * false = html
2d896bbf 746 * @global bool $default_use_javascript_addr_book
a3439b27 747 */
a3439b27 748$default_use_javascript_addr_book = false;
749
4272758c 750/**
751 * Shared filebased address book
752 * @global string $abook_global_file
753 */
754$abook_global_file = '';
755
756/**
757 * Writing into shared address book control
758 * @global bool $abook_global_file_writeable
759 */
760$abook_global_file_writeable = false;
a3439b27 761
80e86e94 762/**
f6cfbdac 763 * MOTD
2d896bbf 764 *
91e0dccc 765 * This is a message that is displayed immediately after a user logs in.
2d896bbf 766 * @global string $motd
80e86e94 767 */
f6cfbdac 768$motd = "";
80e86e94 769
80e86e94 770
a3439b27 771/**
772 * To install plugins, just add elements to this array that have
773 * the plugin directory name relative to the /plugins/ directory.
774 * For instance, for the 'sqclock' plugin, you'd put a line like
775 * the following.
776 * $plugins[0] = 'sqclock';
777 * $plugins[1] = 'attachment_common';
778 */
f6cfbdac 779// Add list of enabled plugins here
a3439b27 780
f6cfbdac 781
782/*** Database ***/
8a7d0669 783/**
91e0dccc 784 * Read doc/database.txt in order to get more information
f6cfbdac 785 * about these settings.
8a7d0669 786 */
f6cfbdac 787/**
788 * Database-driven private addressbooks
789 * DSN (Data Source Name) for a database where the private
790 * addressbooks are stored. See doc/db-backend.txt for more info.
791 * If it is not set, the addressbooks are stored in files
792 * in the data dir.
793 * The DSN is in the format: mysql://user:pass@hostname/dbname
794 * The table is the name of the table to use within the
795 * specified database.
796 */
797$addrbook_dsn = '';
798$addrbook_table = 'address';
799/**
800 * Database used to store user data
801 */
802$prefs_dsn = '';
803$prefs_table = 'userprefs';
804$prefs_key_field = 'prefkey';
805$prefs_user_field = 'user';
806$prefs_val_field = 'prefval';
30e9932c 807/**
808 * Global sql database options
809 */
810$addrbook_global_dsn = '';
811$addrbook_global_table = 'global_abook';
812$addrbook_global_writeable = false;
813$addrbook_global_listing = false;
7c612fdd 814
f6cfbdac 815/*** Language settings ***/
7c612fdd 816/**
f6cfbdac 817 * Default language
2d896bbf 818 *
f6cfbdac 819 * This is the default language. It is used as a last resort
820 * if SquirrelMail can't figure out which language to display.
91e0dccc 821 * Language names usually consist of language code, undercore
f6cfbdac 822 * symbol and country code
2d896bbf 823 * @global string $squirrelmail_default_language
aa0da530 824 */
f6cfbdac 825$squirrelmail_default_language = 'en_US';
7c612fdd 826
f6cfbdac 827/**
2d896bbf 828 * Default Charset
829 *
fe48c808 830 * This option controls what character set is used when sending
831 * mail and when sending HTML to the browser. Option works only
832 * with US English (en_US) translation. Other translations use
833 * charsets that are set in functions/i18n.php.
834 *
2d896bbf 835 * @global string $default_charset
f6cfbdac 836 */
837$default_charset = 'iso-8859-1';
7c612fdd 838
f6cfbdac 839/**
2d896bbf 840 * Available Languages
841 *
f6cfbdac 842 * This option controls number of languages available to end user in
843 * language selection preferences. You can use space separated list
844 * of translations installed in locale/ directory or special keys
845 * 'all' (all languages are available) and 'none' (language selection
846 * is disabled, interface is set to $squirrelmail_default_language
2d896bbf 847 * @global string $available_languages
f03f6ee7 848 * @since 1.5.0
aa0da530 849 */
f6cfbdac 850$available_languages = 'all';
ca85aabe 851
f6cfbdac 852/**
2d896bbf 853 * Alternative Language Names Control
854 *
91e0dccc 855 * This options allows displaying native language names in language
f6cfbdac 856 * selection box.
2d896bbf 857 * @global bool $show_alternative_names
f03f6ee7 858 * @since 1.5.0
f6cfbdac 859 */
860$show_alternative_names = false;
aa0da530 861
ca85aabe 862/**
f03f6ee7 863 * Aggressive Decoding Control
2d896bbf 864 *
91e0dccc 865 * This option enables reading of Eastern multibyte encodings.
f6cfbdac 866 * Functions that provide this support are very cpu and memory intensive.
867 * Don't enable this option unless you really need it.
f03f6ee7 868 * @global bool $aggressive_decoding
869 * @since 1.5.1
ca85aabe 870 */
f03f6ee7 871$aggressive_decoding = false;
872
873/**
6d3689f5 874 * Lossy Encoding Control
f03f6ee7 875 *
91e0dccc 876 * This option allows charset conversions when output charset does not support
877 * all symbols used in original charset. Symbols unsupported by output charset
f03f6ee7 878 * will be replaced with question marks.
6d3689f5 879 * @global bool $lossy_encoding
f03f6ee7 880 * @since 1.5.1
881 */
6d3689f5 882$lossy_encoding = false;
ca85aabe 883
f6cfbdac 884/*** Tweaks ***/
885/**
91e0dccc 886 * Advanced DHTML tree control
2d896bbf 887 *
f6cfbdac 888 * Use experimental DHTML folder listing
2d896bbf 889 * @global bool $advanced_tree
f03f6ee7 890 * @since 1.5.0
f6cfbdac 891 */
892$advanced_tree = false;
f03f6ee7 893
f6cfbdac 894/**
2d896bbf 895 * Older listing way control
896 *
f6cfbdac 897 * Use older way of folder listing
2d896bbf 898 * @global bool $oldway
f6cfbdac 899 */
900$oldway = false;
f03f6ee7 901
6395c46d 902/**
2d896bbf 903 * Message Icons control
904 *
6395c46d 905 * Use icons for message and folder markers
2d896bbf 906 * @global bool $use_icons
6395c46d 907 */
908$use_icons = false;
2d896bbf 909
f6cfbdac 910/**
2d896bbf 911 * PHP recode functions control
912 *
f6cfbdac 913 * Use experimental code with php recode functions when reading messages with
914 * different encoding. This code is faster that original SM functions,
915 * but it require php with recode support.
91e0dccc 916 *
917 * Don't enable this option if you are not sure about availability of
f6cfbdac 918 * recode support.
2d896bbf 919 * @global bool $use_php_recode
f03f6ee7 920 * @since 1.5.0
f6cfbdac 921 */
922$use_php_recode = false;
f03f6ee7 923
f6cfbdac 924/**
2d896bbf 925 * PHP iconv functions control
926 *
f6cfbdac 927 * Use experimental code with php iconv functions when reading messages with
928 * different encoding. This code is faster that original SM functions,
929 * but it require php with iconv support and works only with some translations.
91e0dccc 930 *
931 * Don't enable this option if you are not sure about availability of
f6cfbdac 932 * iconv support.
2d896bbf 933 * @global bool $use_php_iconv
f03f6ee7 934 * @since 1.5.0
f6cfbdac 935 */
936$use_php_iconv = false;
ca85aabe 937
52ed2f88 938/**
2d896bbf 939 * Subscribe Listing Control
940 *
52ed2f88 941 * this disables listing all of the folders on the IMAP Server to
942 * generate the folder subscribe listbox (this can take a long time
943 * when you have a lot of folders). Instead, a textbox will be
f6cfbdac 944 * displayed allowing users to enter a specific folder name to subscribe to
91e0dccc 945 *
f6cfbdac 946 * This option can't be changed by conf.pl
2d896bbf 947 * @global bool $no_list_for_subscribe
f6cfbdac 948 */
52ed2f88 949$no_list_for_subscribe = false;
950
47a29326 951/**
2d896bbf 952 * Color in config control
953 *
f6cfbdac 954 * This option is used only by conf.pl script to generate configuration
91e0dccc 955 * menu with some colors and is provided here only as reference.
2d896bbf 956 * @global integer $config_use_color
47a29326 957 */
f6cfbdac 958$config_use_color = 2;
47a29326 959
f6cfbdac 960/**
961 * This option includes special configuration options
962 */
963@include SM_PATH . 'config/config_local.php';
9a641903 964
a3439b27 965/**
966 * Make sure there are no characters after the PHP closing
967 * tag below (including newline characters and whitespace).
968 * Otherwise, that character will cause the headers to be
969 * sent and regular output to begin, which will majorly screw
970 * things up when we try to send more headers later.
971 */
b39825f0 972?>