aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views/default
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 21:28:28 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 21:28:28 +0000
commit119017304ba7669c6596ccb3f6020959e0d629fd (patch)
treefad750ec8fbec6fe2abb794cf159f88674a0f42d /mod/messages/views/default
parent9b89225ec25b131117e7ef0a7befc80a25f3e0e9 (diff)
downloadelgg-119017304ba7669c6596ccb3f6020959e0d629fd.tar.gz
elgg-119017304ba7669c6596ccb3f6020959e0d629fd.tar.bz2
Refs #2895: Messages now uses new topbar menu
git-svn-id: http://code.elgg.org/elgg/trunk@8475 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messages/views/default')
-rw-r--r--mod/messages/views/default/messages/topbar.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/mod/messages/views/default/messages/topbar.php b/mod/messages/views/default/messages/topbar.php
deleted file mode 100644
index 90a227f80..000000000
--- a/mod/messages/views/default/messages/topbar.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-/**
- * Elgg messages topbar extender
- *
- * @package ElggMessages
- */
-
-if (!elgg_is_logged_in()) {
- return true;
-}
-
-// get unread messages
-$num_messages = (int)messages_count_unread();
-
-$class = "elgg-icon messages-icon";
-$text = "&nbsp;";
-if ($num_messages != 0) {
- $class = "$class new";
- $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,
-));