aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--start.php4
1 files 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);