diff options
author | thomascube <thomas@roundcube.net> | 2006-08-11 21:11:15 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-08-11 21:11:15 +0000 |
commit | c39957ca1779697045818b3cae9e7cf0b551fb3a (patch) | |
tree | b3c27aeb08834875a044d5e470af311fc9f0b1d5 /program/steps/mail/func.inc | |
parent | 64009eb8495a9bc8855fd43846777a38dc5cdcc5 (diff) |
More encoding issues; enhanced debugging functions
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 4b3114be9..9c27ad9db 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -214,6 +214,7 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$special, &$mbox_name, $m else if ($folder['id']==$CONFIG['junk_mbox']) $class_name = 'junk'; + $js_name = rep_specialchars_output($folder['id'], 'js'); $out .= sprintf('<li id="rcmbx%s" class="mailbox %s %s%s%s"><a href="%s&_mbox=%s"'. ' onclick="return %s.command(\'list\',\'%s\')"'. ' onmouseover="return %s.focus_mailbox(\'%s\')"' . @@ -223,17 +224,17 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$special, &$mbox_name, $m $class_name, $zebra_class, $unread_count ? ' unread' : '', - addslashes($folder['id'])==addslashes($mbox_name) ? ' selected' : '', + $folder['id']==$mbox_name ? ' selected' : '', $COMM_PATH, urlencode($folder['id']), $JS_OBJECT_NAME, - addslashes($folder['id']), + $js_name, $JS_OBJECT_NAME, - addslashes($folder['id']), + $js_name, $JS_OBJECT_NAME, - addslashes($folder['id']), + $js_name, $JS_OBJECT_NAME, - addslashes($folder['id']), + $js_name, $title, rep_specialchars_output($foldername, 'html', 'all')); |