config_default.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. * Set $newmail_allowsound to false if you don't want sound files available
  14. * @global boolean $newmail_allowsound
  15. */
  16. global $newmail_allowsound;
  17. $newmail_allowsound = true;
  18. /**
  19. * Set $newmail_uploadsounds to false if you don't want to allow uploading
  20. * of custom sound files.
  21. * @global boolean $newmail_uploadsounds
  22. */
  23. global $newmail_uploadsounds;
  24. $newmail_uploadsounds = true;
  25. /**
  26. * controls insertion of embed tags
  27. * @global boolean $newmail_mediacompat_mode
  28. */
  29. global $newmail_mediacompat_mode;
  30. $newmail_mediacompat_mode=false;
  31. /**
  32. * List of available multimedia files.
  33. *
  34. * For example.
  35. * $newmail_mmedia['notify']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
  36. * $newmail_mmedia['notify']['args'] = array('width'=>0,'height'=>0);
  37. *
  38. * These two entries say that media/ directory contains notify.swf, notify.mp3 and notify.wav files
  39. * Object elements for these files should use zero width and height attributes
  40. * @global array $newmail_mmedia
  41. */
  42. global $newmail_mmedia;
  43. $newmail_mmedia=array();