PageRenderTime 52ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1_4_6rc1/squirrelmail/config/config_default.php

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