diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-22 13:31:19 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-22 13:31:19 +0000 |
commit | a140ef9c53edb2e249eab2eafccc6eb8c0952dab (patch) | |
tree | 84e077e486a56a115a0defb8667f5409456ab470 /mod/messages/views | |
parent | c8e1a99c0388710806012eaad59e700c0667a4d1 (diff) | |
download | elgg-a140ef9c53edb2e249eab2eafccc6eb8c0952dab.tar.gz elgg-a140ef9c53edb2e249eab2eafccc6eb8c0952dab.tar.bz2 |
Updated avatar menu: Removed links to tools, provided a view to extend menu, added @username to menu, cleaned-up and simplified menu generation.
git-svn-id: http://code.elgg.org/elgg/trunk@5467 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messages/views')
-rw-r--r-- | mod/messages/views/default/messages/menu.php | 15 |
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 |