From 643951237699a76a6af0f3058c81905e38aa6194 Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 10 Nov 2011 20:42:29 +0100 Subject: Removed unused files. --- views/default/forms/videolist/browsetube.php | 251 --------------------- .../forms/videolist/labels/googlevideos.php | 27 --- views/default/forms/videolist/labels/metacafe.php | 27 --- views/default/forms/videolist/labels/vimeo.php | 27 --- views/default/forms/videolist/labels/youtube.php | 27 --- 5 files changed, 359 deletions(-) delete mode 100644 views/default/forms/videolist/browsetube.php delete mode 100644 views/default/forms/videolist/labels/googlevideos.php delete mode 100644 views/default/forms/videolist/labels/metacafe.php delete mode 100644 views/default/forms/videolist/labels/vimeo.php delete mode 100644 views/default/forms/videolist/labels/youtube.php (limited to 'views/default/forms/videolist') diff --git a/views/default/forms/videolist/browsetube.php b/views/default/forms/videolist/browsetube.php deleted file mode 100644 index bbe2b8935..000000000 --- a/views/default/forms/videolist/browsetube.php +++ /dev/null @@ -1,251 +0,0 @@ - - * @copyright Prateek Choudhary - */ - -$getcontainer_guid = get_input("container"); -$container_guid = explode(":", $getcontainer_guid); -if($container_guid[0] == "group"){ - $container = $container_guid[1]; -} else{ - $container = $getcontainer_guid; -} -$error = array( - 'no-search' => 1 - ); -$error_msg = array( - 'no-search' => "Please enter a valid search term" - ); -$browseCat = get_input('q'); -if(empty($browseCat) || !isset($browseCat)) { - $browseCat = "youtube"; -} - -$confirm_action = get_input('video_action'); - -if(isset($confirm_action) && ($confirm_action == 'search_video')) { - if(isset($title_search) && ($title_search != '')) { - $error['no-search'] = 0; - } else { - $error['no-search'] = 1; - } -} - -//Load youtube menu -$body .= "
"; -$body .= ""; -$body .= "
"; - -$body .= '
'; -$body .= elgg_view('input/hidden',array('internalname'=>'video_action', 'value'=>'search_video')); -$body .= elgg_view('input/hidden',array('internalname'=>'guid', 'value'=>$vars['guid'])); - -switch($browseCat) { - case "youtube" : - $body .= elgg_view('forms/labels/youtube'); - break; - case "metacafe" : - $body .= elgg_view('forms/labels/metacafe'); - break; - case "vimeo" : - $body .= elgg_view('forms/labels/vimeo'); - break; - case "googlevideos" : - $body .= elgg_view('forms/labels/googlevideos'); - break; - default : - $body .= elgg_view('forms/labels/youtube'); - break; -} -$body .= elgg_view('input/hidden',array('internalname'=>'page', 'value'=>$browseCat)); -$body .= '
'; - -$body .= '
'; -$body .= '
'; - -print $body; - - -?> - - diff --git a/views/default/forms/videolist/labels/googlevideos.php b/views/default/forms/videolist/labels/googlevideos.php deleted file mode 100644 index 9ce2d607c..000000000 --- a/views/default/forms/videolist/labels/googlevideos.php +++ /dev/null @@ -1,27 +0,0 @@ - - * @copyright Prateek Choudhary - */ - -$body = '

'; -$body .= "
"; -$body .= "
"; -$body .= ""; -$body .= "
"; -$body .= "
"; -$body .= ""; -if($error['no-search'] == 0) { - $body .= '
'.$error_msg['no-search'].'
'; -} -$body .= "
"; -$body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:vimeo'))); -$body .= "
"; -$body .= '
Loading...
'; -print $body; \ No newline at end of file diff --git a/views/default/forms/videolist/labels/metacafe.php b/views/default/forms/videolist/labels/metacafe.php deleted file mode 100644 index 0642153f4..000000000 --- a/views/default/forms/videolist/labels/metacafe.php +++ /dev/null @@ -1,27 +0,0 @@ - - * @copyright Prateek Choudhary - */ - -$body = '

'; -$body .= "
"; -$body .= "
"; -$body .= ""; -$body .= "
"; -$body .= "
"; -$body .= ""; -if($error['no-search'] == 0) { - $body .= '
'.$error_msg['no-search'].'
'; -} -$body .= "
"; -$body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:metacafe'))); -$body .= "
"; - -print $body; \ No newline at end of file diff --git a/views/default/forms/videolist/labels/vimeo.php b/views/default/forms/videolist/labels/vimeo.php deleted file mode 100644 index 24a49a1ee..000000000 --- a/views/default/forms/videolist/labels/vimeo.php +++ /dev/null @@ -1,27 +0,0 @@ - - * @copyright Prateek Choudhary - */ - -$body = '

'; -$body .= "
"; -$body .= "
"; -$body .= ""; -$body .= "
"; -$body .= "
"; -$body .= ""; -if ($error['no-search'] == 0) { - $body .= '
'.$error_msg['no-search'].'
'; -} -$body .= "
"; -$body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:vimeo'))); -$body .= "
"; - -print $body; \ No newline at end of file diff --git a/views/default/forms/videolist/labels/youtube.php b/views/default/forms/videolist/labels/youtube.php deleted file mode 100644 index 4c824f6f3..000000000 --- a/views/default/forms/videolist/labels/youtube.php +++ /dev/null @@ -1,27 +0,0 @@ - - * @copyright Prateek Choudhary - */ - -$body = '

'; -$body .= "
"; -$body .= "
"; -$body .= ""; -$body .= "
"; -$body .= "
"; -$body .= ""; -if($error['no-search'] == 0) { - $body .= '
'.$error_msg['no-search'].'
'; -} -$body .= "
"; -$body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos'))); -$body .= "
"; - -print $body; \ No newline at end of file -- cgit v1.2.3