PageRenderTime 46ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1_4_3-rc1/squirrelmail/config/config_default.php

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