dbc7cd0a |
1 | <?php |
4b4abf93 |
2 | |
197562c9 |
3 | /** |
4 | * SquirrelMail NewMail plugin |
5 | * |
6 | * Default configuration file |
f197ec88 |
7 | * @copyright 2005-2016 The SquirrelMail Project Team |
4b4abf93 |
8 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
197562c9 |
9 | * @version $Id$ |
10 | * @package plugins |
fb883255 |
11 | * @subpackage newmail |
197562c9 |
12 | */ |
13 | |
c80190fc |
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 | |
fb883255 |
49 | /** |
f9710f76 |
50 | * Set $newmail_allowsound to false if you don't want sound files available |
fb883255 |
51 | * @global boolean $newmail_allowsound |
52 | */ |
dbc7cd0a |
53 | global $newmail_allowsound; |
54 | $newmail_allowsound = true; |
55 | |
c80190fc |
56 | |
f9710f76 |
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 = true; |
64 | |
c80190fc |
65 | |
fb883255 |
66 | /** |
67 | * controls insertion of embed tags |
68 | * @global boolean $newmail_mediacompat_mode |
69 | */ |
dbc7cd0a |
70 | global $newmail_mediacompat_mode; |
71 | $newmail_mediacompat_mode=false; |
72 | |
c80190fc |
73 | |
fb883255 |
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 |
f9710f76 |
82 | * Object elements for these files should use zero width and height attributes |
fb883255 |
83 | * @global array $newmail_mmedia |
84 | */ |
f9710f76 |
85 | global $newmail_mmedia; |
dbc7cd0a |
86 | $newmail_mmedia=array(); |
c80190fc |
87 | |
88 | |