diff options
author | Sem <sembrestels@riseup.net> | 2011-11-03 22:18:13 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-11-03 22:18:13 +0100 |
commit | fc7921d05953d3de3130f9d49b7d73ec4c466b34 (patch) | |
tree | dcd6972df015852d455709b4b9111500a2c1602d /views/default/forms/videolist/labels | |
parent | 4df99e6a3803f735d6cfa35d66e0b52c3b946255 (diff) | |
download | elgg-fc7921d05953d3de3130f9d49b7d73ec4c466b34.tar.gz elgg-fc7921d05953d3de3130f9d49b7d73ec4c466b34.tar.bz2 |
Upgraded "add video" page.
Diffstat (limited to 'views/default/forms/videolist/labels')
-rw-r--r-- | views/default/forms/videolist/labels/googlevideos.php | 27 | ||||
-rw-r--r-- | views/default/forms/videolist/labels/metacafe.php | 27 | ||||
-rw-r--r-- | views/default/forms/videolist/labels/vimeo.php | 27 | ||||
-rw-r--r-- | views/default/forms/videolist/labels/youtube.php | 27 |
4 files changed, 108 insertions, 0 deletions
diff --git a/views/default/forms/videolist/labels/googlevideos.php b/views/default/forms/videolist/labels/googlevideos.php new file mode 100644 index 000000000..9ce2d607c --- /dev/null +++ b/views/default/forms/videolist/labels/googlevideos.php @@ -0,0 +1,27 @@ +<?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 + */ + +$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' height='30'/></a>"; +$body .= "</div>"; +$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>'; +} +$body .= "</div>"; +$body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:vimeo'))); +$body .= "</div>"; +$body .= '<div id="searchcontrol">Loading...</div>'; +print $body;
\ No newline at end of file diff --git a/views/default/forms/videolist/labels/metacafe.php b/views/default/forms/videolist/labels/metacafe.php new file mode 100644 index 000000000..0642153f4 --- /dev/null +++ b/views/default/forms/videolist/labels/metacafe.php @@ -0,0 +1,27 @@ +<?php + +/** + * Elgg Video Plugin + * This plugin allows users to create a library of youtube/vimeo/metacafe videos + * @file - load metacafe label + * @package Elgg + * @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 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' height='30'/></a>"; +$body .= "</div>"; +$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>'; +} +$body .= "</div>"; +$body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:metacafe'))); +$body .= "</div>"; + +print $body;
\ No newline at end of file diff --git a/views/default/forms/videolist/labels/vimeo.php b/views/default/forms/videolist/labels/vimeo.php new file mode 100644 index 000000000..24a49a1ee --- /dev/null +++ b/views/default/forms/videolist/labels/vimeo.php @@ -0,0 +1,27 @@ +<?php + +/** + * Elgg Video Plugin + * This plugin allows users to create a library of youtube/vimeo/metacafe videos + * @file - load vimeo label + * @package Elgg + * @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 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' height='30'/></a>"; +$body .= "</div>"; +$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>'; +} +$body .= "</div>"; +$body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos:vimeo'))); +$body .= "</div>"; + +print $body;
\ No newline at end of file diff --git a/views/default/forms/videolist/labels/youtube.php b/views/default/forms/videolist/labels/youtube.php new file mode 100644 index 000000000..4c824f6f3 --- /dev/null +++ b/views/default/forms/videolist/labels/youtube.php @@ -0,0 +1,27 @@ +<?php + +/** + * Elgg Video Plugin + * This plugin allows users to create a library of youtube/vimeo/metacafe videos + * @file - load youtube label + * @package Elgg + * @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 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.youtube.com\"><img src='".$vars['url']."mod/videolist/graphics/badge3.gif' height='30'/></a>"; +$body .= "</div>"; +$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>'; +} +$body .= "</div>"; +$body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('videolist:searchTubeVideos'))); +$body .= "</div>"; + +print $body;
\ No newline at end of file |