aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/labels/googlevideos.php
diff options
context:
space:
mode:
authorBrett Profitt <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-26 22:44:48 +0000
committerBrett Profitt <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-26 22:44:48 +0000
commit52255de580654f351205b19565be601bd4caaacb (patch)
tree1e9d5f496a8b7111c619eafe910a2f93927231a1 /views/default/forms/labels/googlevideos.php
parenta8aa4bceed8e7ad0c5af2646a83d6a2da2e0b23a (diff)
downloadelgg-52255de580654f351205b19565be601bd4caaacb.tar.gz
elgg-52255de580654f351205b19565be601bd4caaacb.tar.bz2
First pass at cleaning up videolist.
Diffstat (limited to 'views/default/forms/labels/googlevideos.php')
-rw-r--r--views/default/forms/labels/googlevideos.php60
1 files changed, 29 insertions, 31 deletions
diff --git a/views/default/forms/labels/googlevideos.php b/views/default/forms/labels/googlevideos.php
index 76673c10b..41893cea2 100644
--- a/views/default/forms/labels/googlevideos.php
+++ b/views/default/forms/labels/googlevideos.php
@@ -1,34 +1,32 @@
<?php
- /**
- * Elgg User Profile Video Plugin
- * This plugin allows users to browse youtube videos
- *
- * @package ElggProfile
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Prateek Choudhary <synapticfield@gmail.com>
- * @copyright Prateek Choudhary
- */
+/**
+ * Elgg User Profile Video Plugin
+ * This plugin allows users to browse youtube videos
+ *
+ * @package ElggProfile
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Prateek Choudhary <synapticfield@gmail.com>
+ * @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 .= "<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>";
- $body .= "<div style='float:left;width:45%;'>";
- $body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/> &nbsp;&nbsp;";
- if($error['no-search'] == 0)
- {
- $body .= '<div class="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;
-?>
+$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 .= "<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>";
+$body .= "<div style='float:left;width:45%;'>";
+$body .= "<input type=\"text\" name=\"title_search\" value=\"\" id=\"title_search\" size=\"30\"/> &nbsp;&nbsp;";
+if($error['no-search'] == 0) {
+ $body .= '<div class="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