aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/labels/youtube.php
diff options
context:
space:
mode:
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-30 14:23:05 +0000
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-30 14:23:05 +0000
commit05129a184b2c88cf082ebf230a3dce7b6510ec8f (patch)
tree744402f97eba2cb76978224eb48c75850604d58f /views/default/forms/labels/youtube.php
parent4fa7aaa7e363514dc2def25cceafd8cf4333404c (diff)
downloadelgg-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/youtube.php')
-rw-r--r--views/default/forms/labels/youtube.php9
1 files changed, 2 insertions, 7 deletions
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