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

/tags/test-1_4_8utf8_1/squirrelmail/config/config_default.php

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