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