From 191ff058739c27d9f6563789e2d8fa28f043ecd8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 12 Feb 2014 18:36:49 +0100 Subject: [PATCH] Fix: W3C. --- htdocs/fichinter/fiche.php | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 576f7ac496a..1c11e1f7b3e 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -1322,9 +1322,24 @@ else if ($id > 0 || ! empty($ref)) include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; } + + + print '
'; + print ''; + print ''; + if ($action == 'editline') + { + print ''; + print ''; + } + else + { + print ''; + } + /* * Lignes d'intervention - */ + */ $sql = 'SELECT ft.rowid, ft.description, ft.fk_fichinter, ft.duree, ft.rang,'; $sql.= ' ft.date as date_intervention'; $sql.= ' FROM '.MAIN_DB_PREFIX.'fichinterdet as ft'; @@ -1412,11 +1427,6 @@ else if ($id > 0 || ! empty($ref)) // Ligne en mode update if ($object->statut == 0 && $action == 'editline' && $user->rights->ficheinter->creer && GETPOST('line_id','int') == $objp->rowid) { - print 'rowid.'" method="post">'; - print ''; - print ''; - print ''; - print ''; print ''; print ''; print ''; // ancre pour retourner sur la ligne @@ -1440,8 +1450,6 @@ else if ($id > 0 || ! empty($ref)) print ''; print '
'; print '' . "\n"; - - print "
\n"; } $i++; @@ -1466,12 +1474,6 @@ else if ($id > 0 || ! empty($ref)) print ' '; print "\n"; - // Ajout ligne d'intervention - print '
'; - print ''; - print ''; - print ''; - $var=false; print '\n"; @@ -1499,8 +1501,6 @@ else if ($id > 0 || ! empty($ref)) print ''; print ''; - print '
'; - if (! $num) print ''; } @@ -1511,6 +1511,8 @@ else if ($id > 0 || ! empty($ref)) dol_print_error($db); } + print ''."\n"; + print ''; print "\n";