]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Minor additions to Video plugin (added id's to forms for theming purposes)
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 30 Apr 2010 12:56:12 +0000 (12:56 +0000)
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 30 Apr 2010 12:56:12 +0000 (12:56 +0000)
views/default/forms/add.php
views/default/forms/browsetube.php
views/default/forms/edit.php
views/default/forms/labels/googlevideos.php
views/default/forms/labels/metacafe.php
views/default/forms/labels/vimeo.php
views/default/forms/labels/youtube.php

index 3933af251264fe2e72f0ec7e8f69df77466c9f39..cb83406ed097b96ac42a4fdf6bed744a098b194e 100644 (file)
@@ -127,7 +127,7 @@ if(isset($confirm_action) && ($confirm_action == 'add_video')) {
        }
 }
 
-$body = '<form action="'.$_SERVER['php_self'].'" method="post" class="margin_top">';
+$body = '<form action="'.$_SERVER['php_self'].'" method="post" id="add_video_form">';
 $body .= elgg_view('input/hidden',array('internalname'=>'video_action', 'value'=>'add_video'));
 $body .= elgg_view('input/hidden',array('internalname'=>'guid', 'value'=>$vars['guid']));
 
index 7d91d8f02e89d596e0c09c8f3b29eb8feaf1c997..fe9a9518caea8c3a80b8b78cd9986c1248ca0074 100644 (file)
@@ -53,7 +53,7 @@ $body .=                      "</li>";
 $body .=               "</ul>";
 $body .= "</div>";
 
-$body .= '<form action="javascript:sendSearchRequest(1);" method="get">';
+$body .= '<form action="javascript:sendSearchRequest(1);" method="get" id="browse_video_form">';
 $body .= elgg_view('input/hidden',array('internalname'=>'video_action', 'value'=>'search_video'));
 $body .= elgg_view('input/hidden',array('internalname'=>'guid', 'value'=>$vars['guid']));
 
index 4114b5ad6e6e06bf9837f30e52bb35fa99cd0bb8..f684689daf71d96881d89e0573e2040cf8e6ecf0 100644 (file)
@@ -8,7 +8,7 @@ $page_owner = page_owner_entity();
 $container_guid = $vars['entity']->container_guid;
 ?>
 
-<form action="<?php echo $vars['url']; ?>action/videolist/edit" enctype="multipart/form-data" method="post" class="margin_top">
+<form action="<?php echo $vars['url']; ?>action/videolist/edit" enctype="multipart/form-data" method="post" id="edit_video_form">
 
        <p><label><?php echo elgg_echo("title"); ?><br />
                <?php echo elgg_view("input/text", array("internalname" => "title_videourl","value" => $vars['entity']->title));?>
index 43255430aac625fbfb50c96b5120041a4413559c..44e89a803852c17a90b304e811e02ee2487dd046 100644 (file)
@@ -12,7 +12,7 @@
 
 $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 .= "<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 .= "</div>";
 $body .= "<div style='float:left;width:45%;'>";
index 63e80e892ac17c8f46b09287d6979299d3c76e2d..e6bfa9035829d432e4700d4fcad140d83a4072ef 100644 (file)
@@ -12,7 +12,7 @@
 
 $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 .= "<div style='float:left;'>";
 $body .= "<a href=\"http://www.metacafe.com\"><img src='".$vars['url']."mod/videolist/graphics/metacafe.jpg' width='120'/></a>";
 $body .= "</div>";
 $body .= "<div style='float:left;width:45%;'>";
index b3b4a34228427d090ac66d8aad37f1688f5e6852..9a567ff3edbbea6f86d6d3f951aba5e3789e9cda 100644 (file)
@@ -12,7 +12,7 @@
 
 $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 .= "<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 .= "</div>";
 $body .= "<div style='float:left;width:45%;'>";
index 699bc11220b8566d8962499707fde29eed5059e9..b4e462da157ffc52fecc582d71722cfa1e701c4f 100644 (file)
@@ -12,7 +12,7 @@
 
 $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 .= "<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%;'>";