aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views/default
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 05:17:12 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 05:17:12 +0000
commit0d4fe65e8ebb11a44fa33b72c4e32cc89e58a25f (patch)
tree01542d3bd0df64db6b10299e1fa5d7752ba1e32e /mod/messages/views/default
parent7d01d5552f55da30116afa66dcbf64ce074504e2 (diff)
downloadelgg-0d4fe65e8ebb11a44fa33b72c4e32cc89e58a25f.tar.gz
elgg-0d4fe65e8ebb11a44fa33b72c4e32cc89e58a25f.tar.bz2
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
Diffstat (limited to 'mod/messages/views/default')
-rw-r--r--mod/messages/views/default/messages/topbar.php4
1 files changed, 2 insertions, 2 deletions
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 = "&nbsp;";
if ($num_messages != 0) {
$class = "$class new";
- $text = "<span>$num_messages</span>";
+ $text = $num_messages;
}
+$text = "<span class='$class'>$text</span>";
echo elgg_view('output/url', array(
'href' => 'pg/messages/inbox/' . elgg_get_logged_in_user_entity()->username,
'text' => $text,
- 'class' => $class,
));