PageRenderTime 46ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/branches/SM-1_4-STABLE/squirrelmail/config/config_default.php

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