Fix: bad br

This commit is contained in:
Laurent Destailleur 2012-05-07 20:46:18 +02:00
parent 2519690020
commit 2bb87aabbe

View File

@ -1254,14 +1254,13 @@ else
print '<input type="hidden" name="mode" value="predefined">'; print '<input type="hidden" name="mode" value="predefined">';
print '<input type="hidden" name="id" value="'.$object->id.'">'; print '<input type="hidden" name="id" value="'.$object->id.'">';
print "<tr $bc[$var]>"; print "<tr ".$bc[$var].">";
print '<td colspan="3">'; print '<td colspan="3">';
// multiprix // multiprix
if($conf->global->PRODUIT_MULTIPRICES) if($conf->global->PRODUIT_MULTIPRICES)
$form->select_produits('','idprod',1,$conf->product->limit_size,$object->thirdparty->price_level); $form->select_produits('','idprod',1,$conf->product->limit_size,$object->thirdparty->price_level);
else else
$form->select_produits('','idprod',1,$conf->product->limit_size); $form->select_produits('','idprod',1,$conf->product->limit_size);
if (! $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) print '<br>';
print '<textarea name="desc" cols="70" rows="'.ROWS_2.'"></textarea>'; print '<textarea name="desc" cols="70" rows="'.ROWS_2.'"></textarea>';
print '</td>'; print '</td>';
@ -1270,7 +1269,7 @@ else
print '<td align="center" colspan="2" rowspan="2"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td>'; print '<td align="center" colspan="2" rowspan="2"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td>';
print '</tr>'."\n"; print '</tr>'."\n";
print "<tr $bc[$var]>"; print "<tr ".$bc[$var].">";
print '<td colspan="8">'; print '<td colspan="8">';
print $langs->trans("DateStartPlanned").' '; print $langs->trans("DateStartPlanned").' ';
$form->select_date('',"date_start",$usehm,$usehm,1,"addline"); $form->select_date('',"date_start",$usehm,$usehm,1,"addline");