Make newmail plugin work again, various small cleanup and add ability for admin to...
[squirrelmail.git] / plugins / newmail / config_sample.php
1 <?php
2
3 /**
4 * SquirrelMail NewMail plugin
5 *
6 * Sample configuration file
7 * @copyright &copy; 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 /**
16 * Custom formatting for both new mail popup window title
17 * bar and changed main SquirrelMail window title bar
18 *
19 * If you change these, they will ONLY show up in the
20 * language you use here unless you add it to your
21 * SquirrelMail translation files!
22 *
23 * Use ###USERNAME### in these strings if you want to insert
24 * the username in the title.
25 *
26 * Use ###ORG_TITLE### in these strings if you want to insert
27 * the $org_title setting from the main SquirrelMail config
28 * in the title.
29 *
30 * Use %s in these strings if you want to insert the number
31 * of new messages in the title.
32 *
33 * Leave blank to use default title bar strings
34 *
35 * $newmail_title_bar_singular = '###USERNAME### - %s New Message';
36 * $newmail_title_bar_plural = '###USERNAME### - %s New Messages';
37 * $newmail_popup_title_bar_singular = '###ORG_TITLE### - New Mail';
38 * $newmail_popup_title_bar_plural = '###ORG_TITLE### - New Mail';
39 *
40 */
41 global $newmail_title_bar_singular, $newmail_title_bar_plural,
42 $newmail_popup_title_bar_singular, $newmail_popup_title_bar_plural;
43 $newmail_title_bar_singular = '';
44 $newmail_title_bar_plural = '';
45 $newmail_popup_title_bar_singular = '';
46 $newmail_popup_title_bar_plural = '';
47
48
49 /**
50 * Set $newmail_allowsound to false if you don't want sound files available
51 * @global boolean $newmail_allowsound
52 */
53 global $newmail_allowsound;
54 $newmail_allowsound = true;
55
56
57 /**
58 * Set $newmail_uploadsounds to false if you don't want to allow uploading
59 * of custom sound files.
60 * @global boolean $newmail_uploadsounds
61 */
62 global $newmail_uploadsounds;
63 $newmail_uploadsounds = false;
64
65
66 /**
67 * controls insertion of embed tags
68 * @global boolean $newmail_mediacompat_mode
69 */
70 global $newmail_mediacompat_mode;
71 $newmail_mediacompat_mode=false;
72
73
74 /**
75 * List of available multimedia files.
76 *
77 * For example.
78 * $newmail_mmedia['notify']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
79 * $newmail_mmedia['notify']['args'] = array('width'=>0,'height'=>0);
80 *
81 * These two entries say that media/ directory contains notify.swf, notify.mp3 and notify.wav files
82 * Object elements for these files should use zero width and height attributes
83 * @global array $newmail_mmedia
84 */
85 global $newmail_mmedia;
86 $newmail_mmedia['notify']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
87 $newmail_mmedia['notify']['args'] = array('width'=>0,'height'=>0);
88 $newmail_mmedia['got_a_message']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
89 $newmail_mmedia['got_a_message']['args'] = array('width'=>0,'height'=>0);
90 $newmail_mmedia['monty_message']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
91 $newmail_mmedia['monty_message']['args'] = array('width'=>0,'height'=>0);
92 $newmail_mmedia['austin_mail']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
93 $newmail_mmedia['austin_mail']['args'] = array('width'=>0,'height'=>0);
94
95