From 0d4fe65e8ebb11a44fa33b72c4e32cc89e58a25f Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 19 Feb 2011 05:17:12 +0000 Subject: More consistent way of building topbar item for messages plugin git-svn-id: http://code.elgg.org/elgg/trunk@8319 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/views/default/messages/topbar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/messages/views') diff --git a/mod/messages/views/default/messages/topbar.php b/mod/messages/views/default/messages/topbar.php index b859b3aee..90a227f80 100644 --- a/mod/messages/views/default/messages/topbar.php +++ b/mod/messages/views/default/messages/topbar.php @@ -16,11 +16,11 @@ $class = "elgg-icon messages-icon"; $text = " "; if ($num_messages != 0) { $class = "$class new"; - $text = "$num_messages"; + $text = $num_messages; } +$text = "$text"; echo elgg_view('output/url', array( 'href' => 'pg/messages/inbox/' . elgg_get_logged_in_user_entity()->username, 'text' => $text, - 'class' => $class, )); -- cgit v1.2.3