PageRenderTime 47ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

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

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