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