PageRenderTime 49ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 1ms

/tags/rel-1_4_13/config/config_default.php

#
PHP | 1054 lines | 196 code | 131 blank | 727 comment | 0 complexity | e0fdb6ef7109f5330803b902d94b6490 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 &copy; 2000-2007 The SquirrelMail Project Team
  18. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  19. * @version $Id: config_default.php 12522 2007-07-10 14:52:53Z kink $
  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://www.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. /*** Folder Settings ***/
  282. /**
  283. * Default IMAP folder prefix
  284. *
  285. * Many servers store mail in your home directory. With this, they
  286. * store them in a subdirectory: mail/ or Mail/, etc. If your server
  287. * does this, please set this to what the default mail folder should
  288. * be. This is still a user preference, so they can change it if it
  289. * is different for each user.
  290. *
  291. * Example:
  292. * $default_folder_prefix = 'mail/';
  293. * -- or --
  294. * $default_folder_prefix = 'Mail/folders/';
  295. *
  296. * If you do not use this, set it to the empty string.
  297. * @global string $default_folder_prefix
  298. */
  299. $default_folder_prefix = '';
  300. /**
  301. * User level prefix control
  302. *
  303. * If you do not wish to give them the option to change this, set it
  304. * to false. Otherwise, if it is true, they can change the folder prefix
  305. * to be anything.
  306. * @global bool $show_prefix_option
  307. */
  308. $show_prefix_option = false;
  309. /**
  310. * The following are related to deleting messages.
  311. * $default_move_to_trash
  312. * If this is set to 'true', when 'delete' is pressed, it
  313. * will attempt to move the selected messages to the folder
  314. * named $trash_folder. If it's set to 'false', we won't even
  315. * attempt to move the messages, just delete them.
  316. * $default_move_to_sent
  317. * If this is set to 'true', sent messages will be stored in
  318. * $sent_folder by default.
  319. * $default_save_as_draft
  320. * If this is set to 'true', users are able to use $draft_folder
  321. * to store their unfinished messages.
  322. * $trash_folder
  323. * This is the path to the default trash folder. For Cyrus
  324. * IMAP, it would be 'INBOX.Trash', but for UW it would be
  325. * 'Trash'. We need the full path name here.
  326. * $draft_folder
  327. * This is the patch to where Draft messages will be stored.
  328. * $auto_expunge
  329. * If this is true, when a message is moved or copied, the
  330. * source mailbox will get expunged, removing all messages
  331. * marked 'Deleted'.
  332. * $sent_folder
  333. * This is the path to where Sent messages will be stored.
  334. * $delete_folder
  335. * If this is true, when a folder is deleted then it will
  336. * not get moved into the Trash folder.
  337. * @global bool $default_move_to_trash
  338. * @global bool $default_move_to_sent
  339. * @global bool $default_save_as_draft
  340. * @global string $trash_folder
  341. * @global string $sent_folder
  342. * @global string $draft_folder
  343. * @global bool $auto_expunge
  344. * @global bool $delete_folder
  345. */
  346. $default_move_to_trash = true;
  347. $default_move_to_sent = true;
  348. $default_save_as_draft = true;
  349. $trash_folder = 'INBOX.Trash';
  350. $sent_folder = 'INBOX.Sent';
  351. $draft_folder = 'INBOX.Drafts';
  352. $auto_expunge = true;
  353. $delete_folder = false;
  354. /**
  355. * Special Folder Color Control
  356. *
  357. * Whether or not to use a special color for special folders. If not,
  358. * special folders will be the same color as the other folders.
  359. * @global bool $use_special_folder_color
  360. */
  361. $use_special_folder_color = true;
  362. /**
  363. * Create Special Folders Control
  364. *
  365. * Should I create the Sent and Trash folders automatically for
  366. * a new user that doesn't already have them created?
  367. * @global bool $auto_create_special
  368. */
  369. $auto_create_special = true;
  370. /**
  371. * List Special Folders First Control
  372. *
  373. * Whether or not to list the special folders first (true/false).
  374. * @global bool $list_special_folders_first
  375. */
  376. $list_special_folders_first = true;
  377. /**
  378. * Subfolder Layout Control
  379. *
  380. * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
  381. * If you are unsure, set it to false.
  382. * @global bool $default_sub_of_inbox
  383. */
  384. $default_sub_of_inbox = true;
  385. /**
  386. * Subfolder Format Control
  387. *
  388. * Some IMAP daemons (UW) handle folders weird. They only allow a
  389. * folder to contain either messages or other folders, not both at
  390. * the same time. This option controls whether or not to display an
  391. * option during folder creation. The option toggles which type of
  392. * folder it should be.
  393. *
  394. * If this option confuses you, just set it to 'true'. You can not hurt
  395. * anything if it's true, but some servers will respond weird if it's
  396. * false. (Cyrus works fine whether it's true OR false).
  397. * @global bool $show_contain_subfolders_option
  398. */
  399. $show_contain_subfolders_option = false;
  400. /**
  401. * These next two options set the defaults for the way that the
  402. * users see their folder list.
  403. * $default_unseen_notify
  404. * Specifies whether or not the users will see the number of
  405. * unseen in each folder by default and also which folders to
  406. * do this to. Valid values are: 1=none, 2=inbox, 3=all.
  407. * $default_unseen_type
  408. * Specifies the type of notification to give the users by
  409. * default. Valid choice are: 1=(4), 2=(4,25).
  410. * @global integer $default_unseen_notify
  411. * @global integer $default_unseen_type
  412. */
  413. $default_unseen_notify = 2;
  414. $default_unseen_type = 1;
  415. /**
  416. * NoSelect Fix Control
  417. *
  418. * This enables the no select fix for Cyrus when subfolders
  419. * exist but parent folders do not
  420. * @global bool $noselect_fix_enable
  421. */
  422. $noselect_fix_enable = false;
  423. /*** General options ***/
  424. /**
  425. * Path to the data/ directory
  426. *
  427. * It is a possible security hole to have a writable directory
  428. * under the web server's root directory (ex: /home/httpd/html).
  429. * It is possible to put the data directory anywhere you would like;
  430. * it is strongly advised that it is NOT directly web-accessible.
  431. *
  432. * The path name can be absolute or relative (to the config directory).
  433. * If it is relative, it must use the SM_PATH constant.
  434. * Here are two examples:
  435. *
  436. * Absolute:
  437. * $data_dir = '/var/local/squirrelmail/data/';
  438. *
  439. * Relative (to main SM directory):
  440. * $data_dir = SM_PATH . 'data/';
  441. * (NOT recommended: you need to secure apache to make sure these
  442. * files are not world readable)
  443. *
  444. * @global string $data_dir
  445. */
  446. $data_dir = '/var/local/squirrelmail/data/';
  447. /**
  448. * Attachments directory
  449. *
  450. * Path to directory used for storing attachments while a mail is
  451. * being sent. There are a few security considerations regarding
  452. * this directory:
  453. * + It should have the permission 733 (rwx-wx-wx) to make it
  454. * impossible for a random person with access to the webserver to
  455. * list files in this directory. Confidential data might be laying
  456. * around there.
  457. * + Since the webserver is not able to list the files in the content
  458. * is also impossible for the webserver to delete files lying around
  459. * there for too long.
  460. * + It should probably be another directory than data_dir.
  461. * @global string $attachment_dir
  462. */
  463. $attachment_dir = '/var/local/squirrelmail/attach/';
  464. /**
  465. * Hash level used for data directory.
  466. *
  467. * This option allows spliting file based squirrelmail user
  468. * data storage directory into several subfolders. Number from
  469. * 0 to 4 allows allows having up to four subfolder levels.
  470. *
  471. * Hashing should speed up directory access if you have big number
  472. * of users (500 and more).
  473. * @global integer $dir_hash_level
  474. */
  475. $dir_hash_level = 0;
  476. /**
  477. * Default Size of Folder List
  478. *
  479. * This is the default size of the folder list. Default
  480. * is 150, but you can set it to whatever you wish.
  481. * @global string $default_left_size
  482. */
  483. $default_left_size = '150';
  484. /**
  485. * Username Case Control
  486. *
  487. * Some IMAP servers allow a username (like 'bob') to log in if they use
  488. * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
  489. * preference files. Toggling this option to true will transparently
  490. * change all usernames to lowercase.
  491. * @global bool $force_username_lowercase
  492. */
  493. $force_username_lowercase = false;
  494. /**
  495. * Email Priority Control
  496. *
  497. * This option enables use of email priority flags by end users.
  498. * @global bool $default_use_priority
  499. */
  500. $default_use_priority = true;
  501. /**
  502. * SquirrelMail Attributions Control
  503. *
  504. * This option disables display of "created by squirrelmail developers"
  505. * strings and provider link
  506. * @global bool $hide_sm_attributions
  507. */
  508. $hide_sm_attributions = false;
  509. /**
  510. * Delivery Receipts Control
  511. *
  512. * This option enables use of read/delivery receipts by end users.
  513. * @global bool $default_use_mdn
  514. */
  515. $default_use_mdn = true;
  516. /**
  517. * Identity Controls
  518. *
  519. * If you don't want to allow users to change their email address
  520. * then you can set $edit_identity to false, if you want them to
  521. * not be able to change their full name too then set $edit_name
  522. * to false as well. $edit_name has no effect unless $edit_identity
  523. * is false;
  524. * @global bool $edit_identity
  525. * @global bool $edit_name
  526. */
  527. $edit_identity = true;
  528. $edit_name = true;
  529. /**
  530. * SquirrelMail adds username information to every sent email.
  531. * It is done in order to prevent possible sender forging when
  532. * end users are allowed to change their email and name
  533. * information.
  534. *
  535. * You can disable this header, if you think that it violates
  536. * user's privacy or security. Please note, that setting will
  537. * work only when users are not allowed to change their identity.
  538. *
  539. * See SquirrelMail bug tracker #847107 for more details about it.
  540. * @global bool $hide_auth_header
  541. * @since 1.5.1 and 1.4.5
  542. */
  543. $hide_auth_header = false;
  544. /**
  545. * Server Side Threading Control
  546. *
  547. * If you want to enable server side thread sorting options
  548. * Your IMAP server must support the THREAD extension for
  549. * this to work.
  550. * @global bool $allow_thread_sort
  551. */
  552. $allow_thread_sort = false;
  553. /**
  554. * Server Side Sorting Control
  555. *
  556. * to use server-side sorting instead of SM client side.
  557. * Your IMAP server must support the SORT extension for this
  558. * to work.
  559. * @global bool $allow_server_sort
  560. */
  561. $allow_server_sort = false;
  562. /**
  563. * IMAP Charset Use Control
  564. *
  565. * This option allows you to choose if SM uses charset search
  566. * Your imap server should support SEARCH CHARSET command for
  567. * this to work.
  568. * @global bool $allow_charset_search
  569. */
  570. $allow_charset_search = true;
  571. /**
  572. * IMAP UID control
  573. *
  574. * This option allows you to enable unique identifier (UID) support.
  575. * @global bool $uid_support
  576. */
  577. $uid_support = true;
  578. /**
  579. * PHP session name.
  580. *
  581. * Leave this alone unless you know what you are doing.
  582. * @global string $session_name
  583. */
  584. $session_name = 'SQMSESSID';
  585. /**
  586. * Location base
  587. *
  588. * This is used to build the URL to the SquirrelMail location.
  589. * It should contain only the protocol and hostname/port parts
  590. * of the URL; the full path will be appended automatically.
  591. *
  592. * If not specified or empty, it will be autodetected.
  593. *
  594. * Examples:
  595. * http://webmail.example.org
  596. * http://webmail.example.com:8080
  597. * https://webmail.example.com:6691
  598. *
  599. * To be clear: do not include any of the path elements, so if
  600. * SquirrelMail is at http://www.example.net/web/mail/src/login.php, you
  601. * write: http://www.example.net
  602. *
  603. * @global string $config_location_base
  604. * @since 1.4.8
  605. */
  606. $config_location_base = '';
  607. /**
  608. * Themes
  609. * You can define your own theme and put it in this directory.
  610. * You must call it as the example below. You can name the theme
  611. * whatever you want. For an example of a theme, see the ones
  612. * included in the config directory.
  613. *
  614. * To add a new theme to the options that users can choose from, just
  615. * add a new number to the array at the bottom, and follow the pattern.
  616. *
  617. * $theme_default sets theme that will be used by default
  618. * $theme_css sets stylesheet (from theme/css directory) that will be
  619. * used by default.
  620. * @global integer $theme_default
  621. * @global string $theme_css
  622. */
  623. $theme_default = 0;
  624. $theme_css = '';
  625. /**
  626. * Listing of installed themes
  627. * @global array $theme
  628. */
  629. $theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
  630. $theme[0]['NAME'] = 'Default';
  631. $theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
  632. $theme[1]['NAME'] = 'Plain Blue';
  633. $theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
  634. $theme[2]['NAME'] = 'Sand Storm';
  635. $theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
  636. $theme[3]['NAME'] = 'Deep Ocean';
  637. $theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
  638. $theme[4]['NAME'] = 'Slashdot';
  639. $theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
  640. $theme[5]['NAME'] = 'Purple';
  641. $theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
  642. $theme[6]['NAME'] = 'Forest';
  643. $theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
  644. $theme[7]['NAME'] = 'Ice';
  645. $theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
  646. $theme[8]['NAME'] = 'Sea Spray';
  647. $theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
  648. $theme[9]['NAME'] = 'Blue Steel';
  649. $theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
  650. $theme[10]['NAME'] = 'Dark Grey';
  651. $theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
  652. $theme[11]['NAME'] = 'High Contrast';
  653. $theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
  654. $theme[12]['NAME'] = 'Black Bean Burrito';
  655. $theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
  656. $theme[13]['NAME'] = 'Servery';
  657. $theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
  658. $theme[14]['NAME'] = 'Maize';
  659. $theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
  660. $theme[15]['NAME'] = 'BluesNews';
  661. $theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
  662. $theme[16]['NAME'] = 'Deep Ocean 2';
  663. $theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
  664. $theme[17]['NAME'] = 'Blue Grey';
  665. $theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
  666. $theme[18]['NAME'] = 'Dompie';
  667. $theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
  668. $theme[19]['NAME'] = 'Methodical';
  669. $theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
  670. $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
  671. $theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
  672. $theme[21]['NAME'] = 'In The Pink (Changes)';
  673. $theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
  674. $theme[22]['NAME'] = 'Kind of Blue (Changes)';
  675. $theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
  676. $theme[23]['NAME'] = 'Monostochastic (Changes)';
  677. $theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
  678. $theme[24]['NAME'] = 'Shades of Grey (Changes)';
  679. $theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
  680. $theme[25]['NAME'] = 'Spice of Life (Changes)';
  681. $theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
  682. $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
  683. $theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
  684. $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
  685. $theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
  686. $theme[28]['NAME'] = 'Holiday - Christmas';
  687. $theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
  688. $theme[29]['NAME'] = 'Darkness (Changes)';
  689. $theme[30]['PATH'] = SM_PATH . 'themes/random.php';
  690. $theme[30]['NAME'] = 'Random (Changes every login)';
  691. $theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
  692. $theme[31]['NAME'] = 'Midnight';
  693. $theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php';
  694. $theme[32]['NAME'] = 'Alien Glow';
  695. $theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php';
  696. $theme[33]['NAME'] = 'Dark Green';
  697. $theme[34]['PATH'] = SM_PATH . 'themes/penguin.php';
  698. $theme[34]['NAME'] = 'Penguin';
  699. $theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php';
  700. $theme[35]['NAME'] = 'Minimal BW';
  701. $theme[36]['PATH'] = SM_PATH . 'themes/redmond.php';
  702. $theme[36]['NAME'] = 'Redmond';
  703. $theme[37]['PATH'] = SM_PATH . 'themes/netstyle_theme.php';
  704. $theme[37]['NAME'] = 'Net Style';
  705. $theme[38]['PATH'] = SM_PATH . 'themes/silver_steel_theme.php';
  706. $theme[38]['NAME'] = 'Silver Steel';
  707. $theme[39]['PATH'] = SM_PATH . 'themes/simple_green_theme.php';
  708. $theme[39]['NAME'] = 'Simple Green';
  709. $theme[40]['PATH'] = SM_PATH . 'themes/wood_theme.php';
  710. $theme[40]['NAME'] = 'Wood';
  711. $theme[41]['PATH'] = SM_PATH . 'themes/bluesome.php';
  712. $theme[41]['NAME'] = 'Bluesome';
  713. $theme[42]['PATH'] = SM_PATH . 'themes/simple_green2.php';
  714. $theme[42]['NAME'] = 'Simple Green 2';
  715. $theme[43]['PATH'] = SM_PATH . 'themes/simple_purple.php';
  716. $theme[43]['NAME'] = 'Simple Purple';
  717. $theme[44]['PATH'] = SM_PATH . 'themes/autumn.php';
  718. $theme[44]['NAME'] = 'Autumn';
  719. $theme[45]['PATH'] = SM_PATH . 'themes/autumn2.php';
  720. $theme[45]['NAME'] = 'Autumn 2';
  721. $theme[46]['PATH'] = SM_PATH . 'themes/blue_on_blue.php';
  722. $theme[46]['NAME'] = 'Blue on Blue';
  723. $theme[47]['PATH'] = SM_PATH . 'themes/classic_blue.php';
  724. $theme[47]['NAME'] = 'Classic Blue';
  725. $theme[48]['PATH'] = SM_PATH . 'themes/classic_blue2.php';
  726. $theme[48]['NAME'] = 'Classic Blue 2';
  727. $theme[49]['PATH'] = SM_PATH . 'themes/powder_blue.php';
  728. $theme[49]['NAME'] = 'Powder Blue';
  729. $theme[50]['PATH'] = SM_PATH . 'themes/techno_blue.php';
  730. $theme[50]['NAME'] = 'Techno Blue';
  731. $theme[51]['PATH'] = SM_PATH . 'themes/turquoise.php';
  732. $theme[51]['NAME'] = 'Turquoise';
  733. /**
  734. * LDAP server(s)
  735. * Array of arrays with LDAP server parameters. See
  736. * functions/abook_ldap_server.php for a list of possible
  737. * parameters
  738. *
  739. * EXAMPLE:
  740. * $ldap_server[0] = Array(
  741. * 'host' => 'memberdir.netscape.com',
  742. * 'name' => 'Netcenter Member Directory',
  743. * 'base' => 'ou=member_directory,o=netcenter.com'
  744. * );
  745. *
  746. * NOTE: please see security note at the top of this file when
  747. * entering a password.
  748. */
  749. // Add your ldap server options here
  750. /**
  751. * Javascript in Addressbook Control
  752. *
  753. * Users may search their addressbook via either a plain HTML or Javascript
  754. * enhanced user interface. This option allows you to set the default choice.
  755. * Set this default choice as either:
  756. * true = javascript
  757. * false = html
  758. * @global bool $default_use_javascript_addr_book
  759. */
  760. $default_use_javascript_addr_book = false;
  761. /**
  762. * Shared filebased address book
  763. * @global string $abook_global_file
  764. * @since 1.5.1 and 1.4.4
  765. */
  766. $abook_global_file = '';
  767. /**
  768. * Writing into shared address book control
  769. * @global bool $abook_global_file_writeable
  770. * @since 1.5.1 and 1.4.4
  771. */
  772. $abook_global_file_writeable = false;
  773. /**
  774. * Listing of shared address book control
  775. * @global bool $abook_global_file_listing
  776. * @since 1.5.1 and 1.4.9
  777. */
  778. $abook_global_file_listing = true;
  779. /**
  780. * Controls file based address book entry size
  781. *
  782. * This setting controls space allocated to file based address book records.
  783. * End users will be unable to save address book entry, if total entry size
  784. * (quoted address book fields + 4 delimiters + linefeed) exceeds allowed
  785. * address book length size.
  786. *
  787. * Same setting is applied to personal and global file based address books.
  788. *
  789. * It is strongly recommended to keep default setting value. Change it only
  790. * if you really want to store address book entries that are bigger than two
  791. * kilobytes (2048).
  792. * @global integer $abook_file_line_length
  793. * @since 1.5.2 and 1.4.9
  794. */
  795. $abook_file_line_length = 2048;
  796. /**
  797. * MOTD
  798. *
  799. * This is a message that is displayed immediately after a user logs in.
  800. * @global string $motd
  801. */
  802. $motd = "";
  803. /**
  804. * To install plugins, just add elements to this array that have
  805. * the plugin directory name relative to the /plugins/ directory.
  806. * For instance, for the 'squirrelspell' plugin, you'd put a line like
  807. * the following.
  808. * $plugins[0] = 'squirrelspell';
  809. * $plugins[1] = 'listcommands';
  810. */
  811. // Add list of enabled plugins here
  812. /*** Database ***/
  813. /**
  814. * Read the administrator's manual in order to get more information
  815. * about these settings.
  816. */
  817. /**
  818. * Database-driven private addressbooks
  819. * DSN (Data Source Name) for a database where the private
  820. * addressbooks are stored. See the administrator's manual for more info.
  821. * If it is not set, the addressbooks are stored in files
  822. * in the data dir.
  823. * The DSN is in the format: mysql://user:pass@hostname/dbname
  824. * The table is the name of the table to use within the
  825. * specified database.
  826. *
  827. * NOTE: please see security note at the top of this file when
  828. * entering a password.
  829. */
  830. $addrbook_dsn = '';
  831. $addrbook_table = 'address';
  832. /**
  833. * Database used to store user data
  834. */
  835. $prefs_dsn = '';
  836. $prefs_table = 'userprefs';
  837. $prefs_key_field = 'prefkey';
  838. $prefs_user_field = 'user';
  839. $prefs_val_field = 'prefval';
  840. /*** Global sql database options ***/
  841. /**
  842. * DSN of global address book database
  843. * @global string $addrbook_global_dsn
  844. * @since 1.5.1 and 1.4.4
  845. */
  846. $addrbook_global_dsn = '';
  847. /**
  848. * Table used for global database address book
  849. * @global string $addrbook_global_table
  850. * @since 1.5.1 and 1.4.4
  851. */
  852. $addrbook_global_table = 'global_abook';
  853. /**
  854. * Control writing into global database address book
  855. * @global boolean $addrbook_global_writeable
  856. * @since 1.5.1 and 1.4.4
  857. */
  858. $addrbook_global_writeable = false;
  859. /**
  860. * Control listing of global database address book
  861. * @global boolean $addrbook_global_listing
  862. * @since 1.5.1 and 1.4.4
  863. */
  864. $addrbook_global_listing = false;
  865. /*** Language settings ***/
  866. /**
  867. * Default language
  868. *
  869. * This is the default language. It is used as a last resort
  870. * if SquirrelMail can't figure out which language to display.
  871. * Language names usually consist of language code, undercore
  872. * symbol and country code
  873. * @global string $squirrelmail_default_language
  874. */
  875. $squirrelmail_default_language = 'en_US';
  876. /**
  877. * Default Charset
  878. *
  879. * This option controls what character set is used when sending mail
  880. * and when sending HTML to the browser. Do not set this to US-ASCII,
  881. * use ISO-8859-1 instead.
  882. *
  883. * This option is active only when default language is en_US. In other
  884. * cases SquirrelMail uses charset that depends on default language.
  885. * See $squirrelmail_default_language
  886. *
  887. * @global string $default_charset
  888. */
  889. $default_charset = 'iso-8859-1';
  890. /**
  891. * Lossy Encoding Control
  892. *
  893. * This option allows charset conversions when output charset does not support
  894. * all symbols used in original charset. Symbols unsupported by output charset
  895. * will be replaced with question marks.
  896. * @global bool $lossy_encoding
  897. * @since 1.4.4 and 1.5.1
  898. */
  899. $lossy_encoding = false;
  900. /**
  901. * Subscribe Listing Control
  902. *
  903. * this disables listing all of the folders on the IMAP Server to
  904. * generate the folder subscribe listbox (this can take a long time
  905. * when you have a lot of folders). Instead, a textbox will be
  906. * displayed allowing users to enter a specific folder name to subscribe to
  907. *
  908. * This option can't be changed by conf.pl
  909. * @global bool $no_list_for_subscribe
  910. */
  911. $no_list_for_subscribe = false;
  912. /**
  913. * Color in config control
  914. *
  915. * This option is used only by conf.pl script to generate configuration
  916. * menu with some colors and is provided here only as reference.
  917. * @global integer $config_use_color
  918. */
  919. $config_use_color = 2;
  920. /**
  921. * This option includes special configuration options
  922. */
  923. @include SM_PATH . 'config/config_local.php';