mise en page un peu plus belle quand on regarde le code html généré (retours à la ligne, identation)

This commit is contained in:
erics 2004-12-22 20:12:47 +00:00
parent b268c55701
commit a3e7d82009

View File

@ -40,7 +40,6 @@ if (!$user->admin)
if ($_POST["action"] == 'nbprod') if ($_POST["action"] == 'nbprod')
{ {
dolibarr_set_const($db, "PROPALE_NEW_FORM_NB_PRODUCT",$value); dolibarr_set_const($db, "PROPALE_NEW_FORM_NB_PRODUCT",$value);
Header("Location: propale.php"); Header("Location: propale.php");
} }
@ -287,16 +286,21 @@ print "</table>\n<br>";
* *
*/ */
print_titre("Formulaire de création"); print_titre("Formulaire de création");
print "<form method=\"post\" action=\"propale.php?action=nbprod\">\n"; print "<form method=\"post\" action=\"propale.php\">
print "<table class=\"noborder\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\">\n"; <input type=\"hidden\" name=\"action\" value=\"nbprod\">
print "<tr class=\"liste_titre\">\n"; <table class=\"noborder\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\">
print " <td>Nom</td>\n"; <tr class=\"liste_titre\">
print " <td>Valeur</td>\n <td>&nbsp;</td>\n"; <td>Nom</td>
print "</tr>\n"; <td>Valeur</td>
print "<tr class=\"pair\">\n <td>"; <td>&nbsp;</td>
print "Nombre de ligne produits</td>\n <td align=\"center\">"; </tr>
print "<input size=\"3\" type=\"text\" name=\"value\" value=\"".PROPALE_NEW_FORM_NB_PRODUCT."\">"; <tr class=\"pair\">
print "</td>\n <td><input type=\"submit\" value=\"changer\"></td>\n</tr>\n</table>\n</form>\n"; <td>Nombre de ligne produits</td>
<td align=\"center\"><input size=\"3\" type=\"text\" name=\"value\" value=\"".PROPALE_NEW_FORM_NB_PRODUCT."\"></td>
<td><input type=\"submit\" value=\"changer\"></td>
</tr>
</table>
</form>\n";
$db->close(); $db->close();