From a140ef9c53edb2e249eab2eafccc6eb8c0952dab Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 22 Mar 2010 13:31:19 +0000 Subject: 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 --- mod/messages/start.php | 2 +- mod/messages/views/default/messages/menu.php | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) (limited to 'mod/messages') diff --git a/mod/messages/start.php b/mod/messages/start.php index b74402ac3..6e130edca 100644 --- a/mod/messages/start.php +++ b/mod/messages/start.php @@ -44,7 +44,7 @@ function messages_init() { // Register a URL handler for shouts posts register_entity_url_handler('messages_url','object','messages'); - // Extend hover-over and profile menu + // Extend avatar user-menu elgg_extend_view('profile/menu/links','messages/menu'); // Register a notification handler for site messages 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()) { -?> -
  • - -
  • - - +
  • + +
  • \ No newline at end of file -- cgit v1.2.3