config_default.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?php
  2. /**
  3. * SquirrelMail NewMail plugin
  4. *
  5. * Default configuration file
  6. * @copyright &copy; 2005-2007 The SquirrelMail Project Team
  7. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  8. * @version $Id$
  9. * @package plugins
  10. * @subpackage newmail
  11. */
  12. /**
  13. * Custom formatting for both new mail popup window title
  14. * bar and changed main SquirrelMail window title bar
  15. *
  16. * If you change these, they will ONLY show up in the
  17. * language you use here unless you add it to your
  18. * SquirrelMail translation files!
  19. *
  20. * Use ###USERNAME### in these strings if you want to insert
  21. * the username in the title.
  22. *
  23. * Use ###ORG_TITLE### in these strings if you want to insert
  24. * the $org_title setting from the main SquirrelMail config
  25. * in the title.
  26. *
  27. * Use %s in these strings if you want to insert the number
  28. * of new messages in the title.
  29. *
  30. * Leave blank to use default title bar strings
  31. *
  32. * $newmail_title_bar_singular = '###USERNAME### - %s New Message';
  33. * $newmail_title_bar_plural = '###USERNAME### - %s New Messages';
  34. * $newmail_popup_title_bar_singular = '###ORG_TITLE### - New Mail';
  35. * $newmail_popup_title_bar_plural = '###ORG_TITLE### - New Mail';
  36. *
  37. */
  38. global $newmail_title_bar_singular, $newmail_title_bar_plural,
  39. $newmail_popup_title_bar_singular, $newmail_popup_title_bar_plural;
  40. $newmail_title_bar_singular = '';
  41. $newmail_title_bar_plural = '';
  42. $newmail_popup_title_bar_singular = '';
  43. $newmail_popup_title_bar_plural = '';
  44. /**
  45. * Set $newmail_allowsound to false if you don't want sound files available
  46. * @global boolean $newmail_allowsound
  47. */
  48. global $newmail_allowsound;
  49. $newmail_allowsound = true;
  50. /**
  51. * Set $newmail_uploadsounds to false if you don't want to allow uploading
  52. * of custom sound files.
  53. * @global boolean $newmail_uploadsounds
  54. */
  55. global $newmail_uploadsounds;
  56. $newmail_uploadsounds = true;
  57. /**
  58. * controls insertion of embed tags
  59. * @global boolean $newmail_mediacompat_mode
  60. */
  61. global $newmail_mediacompat_mode;
  62. $newmail_mediacompat_mode=false;
  63. /**
  64. * List of available multimedia files.
  65. *
  66. * For example.
  67. * $newmail_mmedia['notify']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
  68. * $newmail_mmedia['notify']['args'] = array('width'=>0,'height'=>0);
  69. *
  70. * These two entries say that media/ directory contains notify.swf, notify.mp3 and notify.wav files
  71. * Object elements for these files should use zero width and height attributes
  72. * @global array $newmail_mmedia
  73. */
  74. global $newmail_mmedia;
  75. $newmail_mmedia=array();