From d079f3ce5d6df2d3ca4b5900457a68858ecde629 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 26 May 2010 15:06:30 +0000 Subject: small tweak to header contents git-svn-id: http://code.elgg.org/elgg/trunk@6229 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_elements/content_header.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/views/default/page_elements/content_header.php b/views/default/page_elements/content_header.php index a6970dc49..825d6a1ed 100644 --- a/views/default/page_elements/content_header.php +++ b/views/default/page_elements/content_header.php @@ -69,17 +69,17 @@ EOT; if (isloggedin()) { // only show the new button when not on the add form. // hide the tabs when on the add form. + // @todo remove the hard coded reference to the videolist plugin if ($filter_context == 'action') { $tabs = ''; } else { - $new_button = "" . elgg_echo($type . ':new') . ''; if(get_context() == "videolist"){ $video_link = $CONFIG->wwwroot . "pg/videolist/browse/$username/"; - $browse_video .= "" . elgg_echo('videolist:browsemenu') . ''; + $new_button .= "" . elgg_echo('videolist:browsemenu') . ''; }else{ - $browse_video = ''; + $new_button = "" . elgg_echo($type . ':new') . ''; } - $new_button = "
$new_button $browse_video
"; + $new_button = "
$new_button
"; } // also hide the tabs if in a group context (ie, listing groups) or -- cgit v1.2.3