From 3120e70a9ac81643364f22435b20f5b184822f42 Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Wed, 26 May 2010 16:15:35 +0000 Subject: small menu tweak git-svn-id: http://code.elgg.org@6235 36083f99-b078-4883-b0ff-0f9b5a30f544 --- start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.php b/start.php index 0ca2a2f87..2a23b8850 100644 --- a/start.php +++ b/start.php @@ -94,7 +94,7 @@ function videolist_pagesetup() { $page_owner = page_owner_entity(); if ($page_owner instanceof ElggGroup && get_context() == "groups") { - add_submenu_item(sprintf(elgg_echo("videolist:group"), page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/owned/" . page_owner_entity()->username); + //add_submenu_item(sprintf(elgg_echo("videolist:group"), page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/owned/" . page_owner_entity()->username); } else if (get_context() == "videolist") { /********************************************************************************************** ****if user is OR is not registered user then show him following page menus to choose from @@ -106,7 +106,7 @@ function videolist_pagesetup() { add_submenu_item(elgg_echo('videolist:find'),$CONFIG->wwwroot."pg/videolist/search/"); */ - } else if (get_context() == "groups") { + } else if (get_context() == "group") { //add_submenu_item(sprintf(elgg_echo("videolist:home"),page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/owned/" . page_owner_entity()->username); if ($page_owner->canEdit()) { //add_submenu_item(sprintf(elgg_echo('videolist:browsemenu'),page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/browse/". page_owner_entity()->username); -- cgit v1.2.3