aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-17 17:06:05 +0000
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-17 17:06:05 +0000
commit4cbcfa1b08bc03327004ee32cb56a4bc713867f8 (patch)
treec0e07fe79c9b07d1673c93afa3feda9426990958
parent1ef0b7f35aa90acf24dbf009f4de1c48902b950e (diff)
downloadelgg-4cbcfa1b08bc03327004ee32cb56a4bc713867f8.tar.gz
elgg-4cbcfa1b08bc03327004ee32cb56a4bc713867f8.tar.bz2
Minor UI updates to video search
git-svn-id: http://code.elgg.org@6071 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/forms/labels/googlevideos.php6
-rw-r--r--views/default/forms/labels/metacafe.php6
-rw-r--r--views/default/forms/labels/vimeo.php6
-rw-r--r--views/default/forms/labels/youtube.php4
-rw-r--r--views/default/videolist/css.php5
5 files changed, 16 insertions, 11 deletions
diff --git a/views/default/forms/labels/googlevideos.php b/views/default/forms/labels/googlevideos.php
index 44e89a803..9ce2d607c 100644
--- a/views/default/forms/labels/googlevideos.php
+++ b/views/default/forms/labels/googlevideos.php
@@ -13,10 +13,10 @@
$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;'>";
-$body .= "<a href=\"http://video.google.com\"><img src='".$vars['url']."mod/videolist/graphics/logo_videos.png' width='120'/></a>";
+$body .= "<a href=\"http://video.google.com\"><img src='".$vars['url']."mod/videolist/graphics/logo_videos.png' height='30'/></a>";
$body .= "</div>";
-$body .= "<div style='float:left;width:45%;'>";
-$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/> &nbsp;&nbsp;";
+$body .= "<div style='float:left;'>";
+$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/>";
if($error['no-search'] == 0) {
$body .= '<div class="videolist_error">'.$error_msg['no-search'].'</div>';
}
diff --git a/views/default/forms/labels/metacafe.php b/views/default/forms/labels/metacafe.php
index e6bfa9035..0642153f4 100644
--- a/views/default/forms/labels/metacafe.php
+++ b/views/default/forms/labels/metacafe.php
@@ -13,10 +13,10 @@
$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;'>";
-$body .= "<a href=\"http://www.metacafe.com\"><img src='".$vars['url']."mod/videolist/graphics/metacafe.jpg' width='120'/></a>";
+$body .= "<a href=\"http://www.metacafe.com\"><img src='".$vars['url']."mod/videolist/graphics/metacafe.jpg' height='30'/></a>";
$body .= "</div>";
-$body .= "<div style='float:left;width:45%;'>";
-$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/> &nbsp;&nbsp;";
+$body .= "<div style='float:left;'>";
+$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/>";
if($error['no-search'] == 0) {
$body .= '<div class="videolist_error">'.$error_msg['no-search'].'</div>';
}
diff --git a/views/default/forms/labels/vimeo.php b/views/default/forms/labels/vimeo.php
index 9a567ff3e..24a49a1ee 100644
--- a/views/default/forms/labels/vimeo.php
+++ b/views/default/forms/labels/vimeo.php
@@ -13,10 +13,10 @@
$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;'>";
-$body .= "<a href=\"http://www.vimeo.com\"><img src='".$vars['url']."mod/videolist/graphics/vimeo_logo.gif' width='120'/></a>";
+$body .= "<a href=\"http://www.vimeo.com\"><img src='".$vars['url']."mod/videolist/graphics/vimeo_logo.gif' height='30'/></a>";
$body .= "</div>";
-$body .= "<div style='float:left;width:45%;'>";
-$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/> &nbsp;&nbsp;";
+$body .= "<div style='float:left;'>";
+$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/>";
if ($error['no-search'] == 0) {
$body .= '<div class="videolist_error">'.$error_msg['no-search'].'</div>';
}
diff --git a/views/default/forms/labels/youtube.php b/views/default/forms/labels/youtube.php
index b4e462da1..4c824f6f3 100644
--- a/views/default/forms/labels/youtube.php
+++ b/views/default/forms/labels/youtube.php
@@ -15,8 +15,8 @@ $body .= "<div class='search_videos clearfloat'>";
$body .= "<div style='float:left;'>";
$body .= "<a href=\"http://www.youtube.com\"><img src='".$vars['url']."mod/videolist/graphics/badge3.gif' height='30'/></a>";
$body .= "</div>";
-$body .= "<div style='float:left;width:45%;'>";
-$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/> &nbsp;&nbsp;";
+$body .= "<div style='float:left;'>";
+$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/>";
if($error['no-search'] == 0) {
$body .= '<div class="videolist_error">'.$error_msg['no-search'].'</div>';
}
diff --git a/views/default/videolist/css.php b/views/default/videolist/css.php
index 407841440..50956a03e 100644
--- a/views/default/videolist/css.php
+++ b/views/default/videolist/css.php
@@ -51,10 +51,15 @@
}
.search_videos {
width:100%;
+ margin-top:4px;
}
.search_videos .submit_button {
margin:0;
}
+.search_videos #title_search {
+ margin-left:14px;
+ margin-right:14px;
+}
/* find videos search results list */
#videosearch_results .video_entity {