diff options
author | Pete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-30 14:23:05 +0000 |
---|---|---|
committer | Pete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-30 14:23:05 +0000 |
commit | 05129a184b2c88cf082ebf230a3dce7b6510ec8f (patch) | |
tree | 744402f97eba2cb76978224eb48c75850604d58f /views/default/forms/labels | |
parent | 4fa7aaa7e363514dc2def25cceafd8cf4333404c (diff) | |
download | elgg-05129a184b2c88cf082ebf230a3dce7b6510ec8f.tar.gz elgg-05129a184b2c88cf082ebf230a3dce7b6510ec8f.tar.bz2 |
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..
Diffstat (limited to 'views/default/forms/labels')
-rw-r--r-- | views/default/forms/labels/googlevideos.php | 9 | ||||
-rw-r--r-- | views/default/forms/labels/metacafe.php | 9 | ||||
-rw-r--r-- | views/default/forms/labels/vimeo.php | 9 | ||||
-rw-r--r-- | views/default/forms/labels/youtube.php | 9 |
4 files changed, 8 insertions, 28 deletions
diff --git a/views/default/forms/labels/googlevideos.php b/views/default/forms/labels/googlevideos.php index 1d4223232..43255430a 100644 --- a/views/default/forms/labels/googlevideos.php +++ b/views/default/forms/labels/googlevideos.php @@ -10,9 +10,8 @@ * @copyright Prateek Choudhary */ -$body = '<p><label>'.elgg_echo("videolist:title_search_tube").'<br />'; -//$body .= elgg_view("input/text",array('internalname' => 'title_search','value' => '', 'id' => 'title_search')); -$body .= "<div style='width:100%;'>"; +$body = '<p class="margin_none"><label>'.elgg_echo("videolist:title_search_tube").'</label></p>'; +$body .= "<div class='search_videos clearfloat'>"; $body .= "<div style='float:left;width:19%;'>"; $body .= "<a href=\"http://video.google.com\"><img src='".$vars['url']."mod/videolist/graphics/logo_videos.png' width='120'/></a>"; $body .= "</div>"; @@ -22,11 +21,7 @@ if($error['no-search'] == 0) { $body .= '<div class="videolist_error">'.$error_msg['no-search'].'</div>'; } $body .= "</div>"; -//$body .= "<div>"; -//$body .= '<input type="submit" value="Submit" class="submit_button" name="submit" onclick="sendSearchRequest(1);"/>'; $body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:vimeo'))); -//$body .= "</div>"; $body .= "</div>"; -$body .= '</label></p>'; $body .= '<div id="searchcontrol">Loading...</div>'; print $body;
\ No newline at end of file diff --git a/views/default/forms/labels/metacafe.php b/views/default/forms/labels/metacafe.php index 76dabeb25..63e80e892 100644 --- a/views/default/forms/labels/metacafe.php +++ b/views/default/forms/labels/metacafe.php @@ -10,9 +10,8 @@ * @copyright Prateek Choudhary */ -$body = '<p><label>'.elgg_echo("videolist:title_search_tube").'<br />'; -//$body .= elgg_view("input/text",array('internalname' => 'title_search','value' => '', 'id' => 'title_search')); -$body .= "<div style='width:100%;'>"; +$body = '<p class="margin_none"><label>'.elgg_echo("videolist:title_search_tube").'</label></p>'; +$body .= "<div class='search_videos clearfloat'>"; $body .= "<div style='float:left;width:19%;'>"; $body .= "<a href=\"http://www.metacafe.com\"><img src='".$vars['url']."mod/videolist/graphics/metacafe.jpg' width='120'/></a>"; $body .= "</div>"; @@ -22,11 +21,7 @@ if($error['no-search'] == 0) { $body .= '<div class="videolist_error">'.$error_msg['no-search'].'</div>'; } $body .= "</div>"; -//$body .= "<div>"; -//$body .= '<input type="submit" value="Submit" class="submit_button" name="submit" onclick="sendSearchRequest(1);"/>'; $body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:metacafe'))); -//$body .= "</div>"; $body .= "</div>"; -$body .= '</label></p>'; print $body;
\ No newline at end of file diff --git a/views/default/forms/labels/vimeo.php b/views/default/forms/labels/vimeo.php index b890febb7..b3b4a3422 100644 --- a/views/default/forms/labels/vimeo.php +++ b/views/default/forms/labels/vimeo.php @@ -10,9 +10,8 @@ * @copyright Prateek Choudhary */ -$body = '<p><label>'.elgg_echo("videolist:title_search_tube").'<br />'; -//$body .= elgg_view("input/text",array('internalname' => 'title_search','value' => '', 'id' => 'title_search')); -$body .= "<div style='width:100%;'>"; +$body = '<p class="margin_none"><label>'.elgg_echo("videolist:title_search_tube").'</label></p>'; +$body .= "<div class='search_videos clearfloat'>"; $body .= "<div style='float:left;width:19%;'>"; $body .= "<a href=\"http://www.vimeo.com\"><img src='".$vars['url']."mod/videolist/graphics/vimeo_logo.gif' width='120'/></a>"; $body .= "</div>"; @@ -22,11 +21,7 @@ if ($error['no-search'] == 0) { $body .= '<div class="videolist_error">'.$error_msg['no-search'].'</div>'; } $body .= "</div>"; -//$body .= "<div>"; -//$body .= '<input type="submit" value="Submit" class="submit_button" name="submit" onclick="sendSearchRequest(1);"/>'; $body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:vimeo'))); -//$body .= "</div>"; $body .= "</div>"; -$body .= '</label></p>'; print $body;
\ No newline at end of file diff --git a/views/default/forms/labels/youtube.php b/views/default/forms/labels/youtube.php index 1b557522b..699bc1122 100644 --- a/views/default/forms/labels/youtube.php +++ b/views/default/forms/labels/youtube.php @@ -10,9 +10,8 @@ * @copyright Prateek Choudhary */ -$body = '<p><label>'.elgg_echo("videolist:title_search_tube").'<br />'; -//$body .= elgg_view("input/text",array('internalname' => 'title_search','value' => '', 'id' => 'title_search')); -$body .= "<div style='width:100%;'>"; +$body = '<p class="margin_none"><label>'.elgg_echo("videolist:title_search_tube").'</label></p>'; +$body .= "<div class='search_videos clearfloat'>"; $body .= "<div style='float:left;width:10%;'>"; $body .= "<a href=\"http://www.youtube.com\"><img src='".$vars['url']."mod/videolist/graphics/badge3.gif' height='30'/></a>"; $body .= "</div>"; @@ -22,11 +21,7 @@ if($error['no-search'] == 0) { $body .= '<div class="videolist_error">'.$error_msg['no-search'].'</div>'; } $body .= "</div>"; -//$body .= "<div>"; -//$body .= '<input type="submit" value="Submit" class="submit_button" name="submit" onclick="sendSearchRequest(1);"/>'; $body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos'))); -//$body .= "</div>"; $body .= "</div>"; -$body .= '</label></p>'; print $body;
\ No newline at end of file |