From a8e625f47a8b197f6cb89b67f37ef5d0a756619d Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 3 Nov 2011 20:37:47 +0100 Subject: Removed all $CONFIG and pg/ appearitions. --- actions/tubesearch.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'actions/tubesearch.php') diff --git a/actions/tubesearch.php b/actions/tubesearch.php index 82f946ab6..761bbb41e 100644 --- a/actions/tubesearch.php +++ b/actions/tubesearch.php @@ -30,7 +30,6 @@ if ($page_owner === false || is_null($page_owner)) { set_page_owner($_SESSION['guid']); } -global $CONFIG; $queryFeed = get_input('q'); $start_index = get_input('start_index'); $results_perpage = 10; @@ -116,7 +115,7 @@ if (!isset($queryFeed) || empty($queryFeed)) { $body .= "Description : ".substr($media->group->description, 0, 140)." ...

"; $body .= ''; - $body .= "".elgg_echo('videolist:play:video')." wwwroot."pg/videolist/new/".$container."/title_videourl/".$vid_array[1]."/page/".$queryCatgory."\">".elgg_echo('videolist:add:video').""; + $body .= "".elgg_echo('videolist:play:video')." ".elgg_echo('videolist:add:video').""; $body .= ''; $body .= ''; @@ -208,7 +207,7 @@ if (!isset($queryFeed) || empty($queryFeed)) { $body .= "

Description : ".$desc_src."

"; $body .= ''; - $body .= "".elgg_echo('videolist:play:video')." wwwroot."pg/videolist/new/".$container."/title_videourl/".$metacafevideoIdArray[0]."/page/".$queryCatgory."\">".elgg_echo('videolist:add:video').""; + $body .= "".elgg_echo('videolist:play:video')." ".elgg_echo('videolist:add:video').""; $body .= ''; $body .= ''; @@ -301,7 +300,7 @@ if (!isset($queryFeed) || empty($queryFeed)) { $body .= "Tags : ".implode(', ', $aTags)."

"; $body .= ''; - $body .= "".elgg_echo('videolist:play:video')." wwwroot."pg/videolist/new/".$container."/title_videourl/".$embedidArray[0]."/page/".$queryCatgory."\">".elgg_echo('videolist:add:video').""; + $body .= "".elgg_echo('videolist:play:video')." ".elgg_echo('videolist:add:video').""; $body .= ''; $body .= ''; @@ -314,4 +313,4 @@ if (!isset($queryFeed) || empty($queryFeed)) { } } -exit; \ No newline at end of file +exit; -- cgit v1.2.3