From 05129a184b2c88cf082ebf230a3dce7b6510ec8f Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Tue, 30 Mar 2010 14:23:05 +0000 Subject: Further updates to VideoList UI. Search results styled to match new elgg list style. Videos from search now play in popup modal with screen greyed out. Individual video page now has edit and delete, breadcrumbs, latest comments etc.. --- views/default/forms/browsetube.php | 189 ++++++++++++++++++------------------- 1 file changed, 92 insertions(+), 97 deletions(-) (limited to 'views/default/forms/browsetube.php') diff --git a/views/default/forms/browsetube.php b/views/default/forms/browsetube.php index 52c8145a0..7d91d8f02 100644 --- a/views/default/forms/browsetube.php +++ b/views/default/forms/browsetube.php @@ -38,35 +38,24 @@ if(isset($confirm_action) && ($confirm_action == 'search_video')) { } } -//$body = '
'; //Load youtube menu -$body .= "
"; -$body .= "
    "; -$body .= "
  • "; +$body .= "
    "; +$body .= "
      "; +$body .= "
    • "; $body .= "YouTube"; $body .= "
    • "; -$body .= "
    • "; +$body .= "
    • "; $body .= "Metacafe"; $body .= "
    • "; -$body .= "
    • "; +$body .= "
    • "; $body .= "Vimeo"; $body .= "
    • "; -/* -$body .= "
    • "; -$body .= "Google Videos"; -$body .= "
    • "; -*/ $body .= "
    "; $body .= "
    "; -$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'])); -//$body .= elgg_view('input/hidden',array('internalname'=>'start_index', 'value'=>1)); switch($browseCat) { case "youtube" : @@ -87,71 +76,38 @@ switch($browseCat) { } $body .= elgg_view('input/hidden',array('internalname'=>'page', 'value'=>$browseCat)); $body .= '
    '; -//$body .= '
    '; -//$body .= '
'; -$body .= '
'; -$body .= '
'; -$body .= '
'; -$body .= '
'; -$body .= '
'; -$body .= '
'; +$body .= '
'; +$body .= '
'; -print $body."

"; +print $body; ?> -