From 261131dd4e787b49a0a0aadfaccc1be055651e3b Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 20 May 2010 17:29:25 +0000 Subject: small edit to header contents, will need to find a better way to extend this view in the required fashion. git-svn-id: http://code.elgg.org/elgg/trunk@6114 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_elements/content_header.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'views') diff --git a/views/default/page_elements/content_header.php b/views/default/page_elements/content_header.php index 483d85c4b..a6970dc49 100644 --- a/views/default/page_elements/content_header.php +++ b/views/default/page_elements/content_header.php @@ -73,7 +73,13 @@ if (isloggedin()) { $tabs = ''; } else { $new_button = "" . elgg_echo($type . ':new') . ''; - $new_button = "
$new_button
"; + if(get_context() == "videolist"){ + $video_link = $CONFIG->wwwroot . "pg/videolist/browse/$username/"; + $browse_video .= "" . elgg_echo('videolist:browsemenu') . ''; + }else{ + $browse_video = ''; + } + $new_button = "
$new_button $browse_video
"; } // also hide the tabs if in a group context (ie, listing groups) or -- cgit v1.2.3