aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-26 16:15:35 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-26 16:15:35 +0000
commit3120e70a9ac81643364f22435b20f5b184822f42 (patch)
tree061efab67f543d6e5107e82582c2cdfab398fbcb /start.php
parenta1d056d0bf0a28fc2589995b3eff66d5425dd06d (diff)
downloadelgg-3120e70a9ac81643364f22435b20f5b184822f42.tar.gz
elgg-3120e70a9ac81643364f22435b20f5b184822f42.tar.bz2
small menu tweak
git-svn-id: http://code.elgg.org@6235 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'start.php')
-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);