aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/views/default')
-rw-r--r--mod/messages/views/default/messages/menu.php15
1 files changed, 5 insertions, 10 deletions
diff --git a/mod/messages/views/default/messages/menu.php b/mod/messages/views/default/messages/menu.php
index 150c9a73c..5afb7d409 100644
--- a/mod/messages/views/default/messages/menu.php
+++ b/mod/messages/views/default/messages/menu.php
@@ -8,14 +8,9 @@
* @copyright Curverider Ltd 2008-2010
* @link http://elgg.com/
*/
-
- //need to be logged in to send a message
- if (isloggedin()) {
-?>
- <li class="user_menu_messages">
- <a href="<?php echo $vars['url']; ?>mod/messages/send.php?send_to=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("messages:sendmessage"); ?></a>
- </li>
-
-<?php
-} \ No newline at end of file
+// login check already performed in profile/icon
+?>
+<li class="user_menu_profile">
+ <a class="send_message" href="<?php echo $vars['url']; ?>mod/messages/send.php?send_to=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("messages:sendmessage"); ?></a>
+</li> \ No newline at end of file