Advertisement
Guest User

Untitled

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