From f7c20fb7d1b9919eada73c94a27aa53da3f9fe8c Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 19 Aug 2006 02:33:38 +0000
Subject: [PATCH] Fix: Respet W3C

---
 htdocs/product/photos.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/htdocs/product/photos.php b/htdocs/product/photos.php
index 3488f577b64..69e70169ec6 100644
--- a/htdocs/product/photos.php
+++ b/htdocs/product/photos.php
@@ -168,6 +168,7 @@ if ($_GET["id"] || $_GET["ref"])
 
             print '<input type="submit" class="button" name="cancel" value="'.$langs->trans("Cancel").'"></td></tr>';
             print '</table>';
+            
             print '</form>';
         }
 
@@ -180,7 +181,8 @@ if ($_GET["id"] || $_GET["ref"])
             $pdir = get_exdir($product->id) . $product->id ."/photos/";
             $dir = $conf->produit->dir_output . '/'. $pdir;
 
-            print '<br><table width="100%" valign="top" align="center" border="0" cellpadding="2" cellspacing="2">';
+            print '<br>';
+            print '<table width="100%" valign="top" align="center" border="0" cellpadding="2" cellspacing="2">';
 
             foreach ($product->liste_photos($dir) as $key => $obj)
             {
@@ -219,7 +221,7 @@ if ($_GET["id"] || $_GET["ref"])
             {
                 print '<tr align=center valign=middle border=1><td class="photo">';
                 print "<br>".$langs->trans("NoPhotoYet")."<br><br>";
-                print '</td></tr></table>';
+                print '</td></tr>';
             }
 
            print '</table>';
-- 
GitLab