fsf changes, meant to be rebased on upstream
[squirrelmail.git] / plugins / newmail / config_sample.php
CommitLineData
dbc7cd0a 1<?php
4b4abf93 2
197562c9 3/**
4 * SquirrelMail NewMail plugin
5 *
6 * Sample configuration file
77a1e3d1 7 * @copyright 2005-2022 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 */
41global $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 */
53global $newmail_allowsound;
dbc7cd0a 54$newmail_allowsound = true;
55
c80190fc 56
f9710f76 57/**
c80190fc 58 * Set $newmail_uploadsounds to false if you don't want to allow uploading
59 * of custom sound files.
60 * @global boolean $newmail_uploadsounds
f9710f76 61 */
c80190fc 62global $newmail_uploadsounds;
f9710f76 63$newmail_uploadsounds = false;
64
c80190fc 65
66/**
67 * controls insertion of embed tags
68 * @global boolean $newmail_mediacompat_mode
69 */
70global $newmail_mediacompat_mode;
dbc7cd0a 71$newmail_mediacompat_mode=false;
72
c80190fc 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 */
85global $newmail_mmedia;
dbc7cd0a 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);
c80190fc 94
95