From 69b0ce98af32325161010e636ff3e6b852467a71 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Mar 2011 23:31:53 +0000 Subject: fixed new message indicator git-svn-id: http://code.elgg.org/elgg/trunk@8603 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/start.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mod/messages/start.php') diff --git a/mod/messages/start.php b/mod/messages/start.php index 27b6252eb..76acb36a9 100644 --- a/mod/messages/start.php +++ b/mod/messages/start.php @@ -31,15 +31,13 @@ function messages_init() { )); $class = "elgg-icon messages-icon"; - $text = " "; + $text = ""; // get unread messages $num_messages = (int)messages_count_unread(); if ($num_messages != 0) { - $class .= " new"; - $text = $num_messages; + $text .= "$num_messages"; } - $text = "$text"; elgg_register_menu_item('topbar', array( 'name' => 'messages', -- cgit v1.2.3