PageRenderTime 47ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

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

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