Skip to content
Snippets Groups Projects
Commit 0d3899ab authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: W3C errors or warnings

parent 58f75192
No related branches found
No related tags found
No related merge requests found
...@@ -148,7 +148,7 @@ if ($_GET["msg"]) ...@@ -148,7 +148,7 @@ if ($_GET["msg"])
</div> </div>
<div class="formelementrow"><input type="checkbox" name="disable_fk" <div class="formelementrow"><input type="checkbox" name="disable_fk"
value="yes" id="checkbox_disable_fk" checked="true" /> <label value="yes" id="checkbox_disable_fk" checked="checked" /> <label
for="checkbox_disable_fk"> <?php echo $langs->trans("CommandsToDisableForeignKeysForImport"); ?></label> for="checkbox_disable_fk"> <?php echo $langs->trans("CommandsToDisableForeignKeysForImport"); ?></label>
</div> </div>
<label for="select_sql_compat"> <?php echo $langs->trans("ExportCompatibility"); ?></label> <label for="select_sql_compat"> <?php echo $langs->trans("ExportCompatibility"); ?></label>
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<?php } ?> <?php } ?>
</td> </td>
<td align="center" colspan="5" valign="center"><input type="submit" class="button" name="save" value="<?php echo $langs->trans("Save"); ?>"> <td align="center" colspan="5" valign="middle"><input type="submit" class="button" name="save" value="<?php echo $langs->trans("Save"); ?>">
<br><input type="submit" class="button" name="cancel" value="<?php echo $langs->trans("Cancel"); ?>"></td> <br><input type="submit" class="button" name="cancel" value="<?php echo $langs->trans("Cancel"); ?>"></td>
</tr> </tr>
......
...@@ -43,7 +43,8 @@ ...@@ -43,7 +43,8 @@
<?php <?php
if ($line->product_type==1) echo img_object($langs->trans('ShowService'),'service'); if ($line->product_type==1) echo img_object($langs->trans('ShowService'),'service');
else print img_object($langs->trans('ShowProduct'),'product'); else print img_object($langs->trans('ShowProduct'),'product');
echo ' '.$line->ref.'</a>'; echo ' '.$line->ref;
?></a><?php
echo ' - '.nl2br($line->product_label); echo ' - '.nl2br($line->product_label);
echo '<br>'; echo '<br>';
...@@ -76,7 +77,7 @@ ...@@ -76,7 +77,7 @@
<?php } ?> <?php } ?>
</td> </td>
<td align="center" colspan="5" valign="center"><input type="submit" class="button" name="save" value="<?php echo $langs->trans("Save"); ?>"> <td align="center" colspan="5" valign="middle"><input type="submit" class="button" name="save" value="<?php echo $langs->trans("Save"); ?>">
<br><input type="submit" class="button" name="cancel" value="<?php echo $langs->trans("Cancel"); ?>"></td> <br><input type="submit" class="button" name="cancel" value="<?php echo $langs->trans("Cancel"); ?>"></td>
</tr> </tr>
......
...@@ -199,10 +199,10 @@ else ...@@ -199,10 +199,10 @@ else
<br> <br>
<table class="nobordernopadding" width="100%">
<?php <?php
print '<table class="nobordernopadding" width="100%">'."\n";
$sql ="select name, value, note from ".MAIN_DB_PREFIX."const"; $sql ="select name, value, note from ".MAIN_DB_PREFIX."const";
$sql.=" WHERE name like 'FTP_SERVER_%'"; $sql.=" WHERE name like 'FTP_SERVER_%'";
$sql.=" ORDER BY name"; $sql.=" ORDER BY name";
......
...@@ -216,7 +216,7 @@ print $dolibarr_main_url_root; ...@@ -216,7 +216,7 @@ print $dolibarr_main_url_root;
if (1 == 2) { // Disabled during install process because HTTPS may not be yet configured in web server and need experienced skills if (1 == 2) { // Disabled during install process because HTTPS may not be yet configured in web server and need experienced skills
?> ?>
<tr> <tr>
<td valign="top" class="label"><?php echo $langs->trans("ForceHttps"); ?> <td valign="top" class="label"><?php echo $langs->trans("ForceHttps"); ?></td>
<td class="label" valign="top"><input type="checkbox" <td class="label" valign="top"><input type="checkbox"
name="main_force_https" name="main_force_https"
<?php if (! empty($force_install_mainforcehttps)) print ' checked="on"'; ?>></td> <?php if (! empty($force_install_mainforcehttps)) print ' checked="on"'; ?>></td>
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<tr> <tr>
<td valign="top"><?php echo $langs->trans('Address'); ?></td> <td valign="top"><?php echo $langs->trans('Address'); ?></td>
<td colspan="3"><textarea name="adresse" cols="40" rows="3" wrap="soft"><?php echo $this->control->tpl['address']; ?></textarea></td> <td colspan="3"><textarea name="adresse" cols="40" rows="3"><?php echo $this->control->tpl['address']; ?></textarea></td>
</tr> </tr>
<tr> <tr>
......
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
<?php } else { ?> <?php } else { ?>
<input type="text" size="5" maxlength="5" name="prefix_comm" value="<?php echo $this->control->tpl['prefix_comm']; ?>"> <input type="text" size="5" maxlength="5" name="prefix_comm" value="<?php echo $this->control->tpl['prefix_comm']; ?>">
<?php } ?> <?php } ?>
<td>
</td> </td>
</tr>
<tr> <tr>
<td width="25%"><span class="fieldrequired"><?php echo $langs->trans('ProspectCustomer'); ?></span></td> <td width="25%"><span class="fieldrequired"><?php echo $langs->trans('ProspectCustomer'); ?></span></td>
...@@ -111,7 +111,7 @@ if ($this->control->tpl['fournisseur']) { ...@@ -111,7 +111,7 @@ if ($this->control->tpl['fournisseur']) {
<tr> <tr>
<td valign="top"><?php echo $langs->trans('Address'); ?></td> <td valign="top"><?php echo $langs->trans('Address'); ?></td>
<td colspan="3"><textarea name="adresse" cols="40" rows="3" wrap="soft"><?php echo $this->control->tpl['address']; ?></textarea></td> <td colspan="3"><textarea name="adresse" cols="40" rows="3"><?php echo $this->control->tpl['address']; ?></textarea></td>
</tr> </tr>
<tr> <tr>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<tr> <tr>
<td valign="top"><?php echo $langs->trans('Address'); ?></td> <td valign="top"><?php echo $langs->trans('Address'); ?></td>
<td colspan="3"><textarea name="adresse" cols="40" rows="3" wrap="soft"><?php echo $this->control->tpl['address']; ?></textarea></td> <td colspan="3"><textarea name="adresse" cols="40" rows="3"><?php echo $this->control->tpl['address']; ?></textarea></td>
</tr> </tr>
<tr> <tr>
......
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
<?php } else { ?> <?php } else { ?>
<input type="text" size="5" maxlength="5" name="prefix_comm" value="<?php echo $this->control->tpl['prefix_comm']; ?>"> <input type="text" size="5" maxlength="5" name="prefix_comm" value="<?php echo $this->control->tpl['prefix_comm']; ?>">
<?php } ?> <?php } ?>
<td>
</td> </td>
</tr>
<tr> <tr>
<td width="25%"><span class="fieldrequired"><?php echo $langs->trans('ProspectCustomer'); ?></span></td> <td width="25%"><span class="fieldrequired"><?php echo $langs->trans('ProspectCustomer'); ?></span></td>
...@@ -112,7 +112,7 @@ if ($this->control->tpl['fournisseur']) { ...@@ -112,7 +112,7 @@ if ($this->control->tpl['fournisseur']) {
<tr> <tr>
<td valign="top"><?php echo $langs->trans('Address'); ?></td> <td valign="top"><?php echo $langs->trans('Address'); ?></td>
<td colspan="3"><textarea name="adresse" cols="40" rows="3" wrap="soft"><?php echo $this->control->tpl['address']; ?></textarea></td> <td colspan="3"><textarea name="adresse" cols="40" rows="3"><?php echo $this->control->tpl['address']; ?></textarea></td>
</tr> </tr>
<tr> <tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment