aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-30 12:56:12 +0000
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-30 12:56:12 +0000
commitb5ff6103c01b81c71e10e7ca72092354defb10d5 (patch)
tree54e794ba665b2aa0ad6b285c38d0a243b1765dff
parentbf77d92a011b6bb559f119397a89a711a980b361 (diff)
downloadelgg-b5ff6103c01b81c71e10e7ca72092354defb10d5.tar.gz
elgg-b5ff6103c01b81c71e10e7ca72092354defb10d5.tar.bz2
Minor additions to Video plugin (added id's to forms for theming purposes)
-rw-r--r--views/default/forms/add.php2
-rw-r--r--views/default/forms/browsetube.php2
-rw-r--r--views/default/forms/edit.php2
-rw-r--r--views/default/forms/labels/googlevideos.php2
-rw-r--r--views/default/forms/labels/metacafe.php2
-rw-r--r--views/default/forms/labels/vimeo.php2
-rw-r--r--views/default/forms/labels/youtube.php2
7 files changed, 7 insertions, 7 deletions
diff --git a/views/default/forms/add.php b/views/default/forms/add.php
index 3933af251..cb83406ed 100644
--- a/views/default/forms/add.php
+++ b/views/default/forms/add.php
@@ -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']));
diff --git a/views/default/forms/browsetube.php b/views/default/forms/browsetube.php
index 7d91d8f02..fe9a9518c 100644
--- a/views/default/forms/browsetube.php
+++ b/views/default/forms/browsetube.php
@@ -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']));
diff --git a/views/default/forms/edit.php b/views/default/forms/edit.php
index 4114b5ad6..f684689da 100644
--- a/views/default/forms/edit.php
+++ b/views/default/forms/edit.php
@@ -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));?>
diff --git a/views/default/forms/labels/googlevideos.php b/views/default/forms/labels/googlevideos.php
index 43255430a..44e89a803 100644
--- a/views/default/forms/labels/googlevideos.php
+++ b/views/default/forms/labels/googlevideos.php
@@ -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%;'>";
diff --git a/views/default/forms/labels/metacafe.php b/views/default/forms/labels/metacafe.php
index 63e80e892..e6bfa9035 100644
--- a/views/default/forms/labels/metacafe.php
+++ b/views/default/forms/labels/metacafe.php
@@ -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%;'>";
diff --git a/views/default/forms/labels/vimeo.php b/views/default/forms/labels/vimeo.php
index b3b4a3422..9a567ff3e 100644
--- a/views/default/forms/labels/vimeo.php
+++ b/views/default/forms/labels/vimeo.php
@@ -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%;'>";
diff --git a/views/default/forms/labels/youtube.php b/views/default/forms/labels/youtube.php
index 699bc1122..b4e462da1 100644
--- a/views/default/forms/labels/youtube.php
+++ b/views/default/forms/labels/youtube.php
@@ -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%;'>";