| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * SquirrelMail NewMail plugin |
| 5 | * |
| 6 | * Default configuration file |
| 7 | * @copyright © 2005-2007 The SquirrelMail Project Team |
| 8 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
| 9 | * @version $Id$ |
| 10 | * @package plugins |
| 11 | * @subpackage newmail |
| 12 | */ |
| 13 | |
| 14 | /** |
| 15 | * Set $newmail_allowsound to false if you don't want sound files available |
| 16 | * @global boolean $newmail_allowsound |
| 17 | */ |
| 18 | global $newmail_allowsound; |
| 19 | $newmail_allowsound = true; |
| 20 | |
| 21 | /** |
| 22 | * Set $newmail_uploadsounds to false if you don't want to allow uploading |
| 23 | * of custom sound files. |
| 24 | * @global boolean $newmail_uploadsounds |
| 25 | */ |
| 26 | global $newmail_uploadsounds; |
| 27 | $newmail_uploadsounds = true; |
| 28 | |
| 29 | /** |
| 30 | * controls insertion of embed tags |
| 31 | * @global boolean $newmail_mediacompat_mode |
| 32 | */ |
| 33 | global $newmail_mediacompat_mode; |
| 34 | $newmail_mediacompat_mode=false; |
| 35 | |
| 36 | /** |
| 37 | * List of available multimedia files. |
| 38 | * |
| 39 | * For example. |
| 40 | * $newmail_mmedia['notify']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV); |
| 41 | * $newmail_mmedia['notify']['args'] = array('width'=>0,'height'=>0); |
| 42 | * |
| 43 | * These two entries say that media/ directory contains notify.swf, notify.mp3 and notify.wav files |
| 44 | * Object elements for these files should use zero width and height attributes |
| 45 | * @global array $newmail_mmedia |
| 46 | */ |
| 47 | global $newmail_mmedia; |
| 48 | $newmail_mmedia=array(); |