-function newmail_pref() {
-
- global $username,$data_dir;
- global $newmail_media,$newmail_enable,$newmail_popup,$newmail_allbox;
- global $newmail_recent, $newmail_changetitle;
-
- $newmail_recent = getPref($data_dir,$username,"newmail_recent");
- $newmail_enable = getPref($data_dir,$username,"newmail_enable");
- $newmail_media = getPref($data_dir, $username, "newmail_media");
- $newmail_popup = getPref($data_dir, $username, "newmail_popup");
- $newmail_allbox = getPref($data_dir, $username, "newmail_allbox");
- $newmail_changetitle = getPref($data_dir, $username, "newmail_changetitle");
-
- if ($newmail_media == "")
- {
- $newmail_media = "../plugins/newmail/sounds/Notify.wav";
- }
-
-}
+ function newmail_pref() {
+
+ global $username,$data_dir;
+ global $newmail_media,$newmail_enable,$newmail_popup,$newmail_allbox;
+ global $newmail_recent, $newmail_changetitle;
+
+ $newmail_recent = getPref($data_dir,$username,'newmail_recent');
+ $newmail_enable = getPref($data_dir,$username,'newmail_enable');
+ $newmail_media = getPref($data_dir, $username, 'newmail_media');
+ $newmail_popup = getPref($data_dir, $username, 'newmail_popup');
+ $newmail_allbox = getPref($data_dir, $username, 'newmail_allbox');
+ $newmail_changetitle = getPref($data_dir, $username, 'newmail_changetitle');
+
+ if ($newmail_media == '') {
+ $newmail_media = '../plugins/newmail/sounds/Notify.wav';
+ }
+
+ }