summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-01-23 16:11:22 +0000
committerthomascube <thomas@roundcube.net>2011-01-23 16:11:22 +0000
commit03d772e80d9cc059eed12a24cd9e9a3dc850068a (patch)
treec86dc2cc4f23b0677a02b783887313def50ba697 /program/include
parentc9f67353cfe608247d6b820e5f8534ab2b066227 (diff)
Also wrap unread count in span on server side (#1487720)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 8e8de03a3..d79ba2ca4 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1492,7 +1492,7 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$mbox_name, &$jslist, $at
$classes[] = 'unread';
$js_name = JQ($folder['id']);
- $html_name = Q($foldername . ($unread ? " ($unread)" : ''));
+ $html_name = Q($foldername) . ($unread ? html::span('unreadcount', " ($unread)") : '');
$link_attrib = $folder['virtual'] ? array() : array(
'href' => rcmail_url('', array('_mbox' => $folder['id'])),
'onclick' => sprintf("return %s.command('list','%s',this)", JS_OBJECT_NAME, $js_name),