Permalink
Browse files

Fix YouTube xhtml markup

Remove extra </li> in product_info (issue #96)
  • Loading branch information...
1 parent 6165646 commit e86c83ffa1ebd2c3ae72b74e76f2d620641c5985 @haraldpdl haraldpdl committed Nov 12, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 catalog/install/oscommerce.sql
  2. +1 −1 catalog/product_info.php
  3. +2 −2 catalog/stylesheet.css
@@ -1222,7 +1222,7 @@ INSERT INTO products_attributes_download VALUES (26, 'unreal.zip', 7, 3);
INSERT INTO products_images VALUES (1,28,'samsung/galaxy_tab_1.jpg',null,1);
INSERT INTO products_images VALUES (2,28,'samsung/galaxy_tab_2.jpg',null,2);
INSERT INTO products_images VALUES (3,28,'samsung/galaxy_tab_3.jpg',null,3);
-INSERT INTO products_images VALUES (4,28,'samsung/galaxy_tab_4.jpg','<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/tAbsmHMAhrQ?fs=1&amp;autoplay=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/tAbsmHMAhrQ?fs=1&amp;autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>',4);
+INSERT INTO products_images VALUES (4,28,'samsung/galaxy_tab_4.jpg','<object type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/tAbsmHMAhrQ?fs=1&amp;autoplay=1"><param name="movie" value="http://www.youtube.com/v/tAbsmHMAhrQ?fs=1&amp;autoplay=1" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /></object>',4);
INSERT INTO products_options VALUES (1,1,'Color');
INSERT INTO products_options VALUES (2,1,'Size');
View
@@ -93,7 +93,7 @@ function popupWindow(url) {
$pi_entry .= tep_href_link(DIR_WS_IMAGES . $pi['image']);
}
- $pi_entry .= '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $pi['image']) . '</a></li>';
+ $pi_entry .= '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $pi['image']) . '</a>';
if (tep_not_null($pi['htmlcontent'])) {
$pi_entry .= '<div style="display: none;"><div id="piGalimg_' . $pi_counter . '">' . $pi['htmlcontent'] . '</div></div>';
View
@@ -123,8 +123,8 @@ table, p {
}
#piGal img {
- -webkit-box-shadow: 0px 2px 3px #999;
- -moz-box-shadow: 0px 2px 3px #999;
+ -webkit-box-shadow: 0px 0px 1px #000;
+ -moz-box-shadow: 0px 0px 1px #000;
}
#piGal .outer {

0 comments on commit e86c83f

Please sign in to comment.