diff --git a/htdocs/product/card.php b/htdocs/product/card.php index fe593628ea57e7750a22ce2558bacaf446bc85ac..e5417ef6bd74fec7887dcbb4cc1cc091a25fa8d6 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -962,7 +962,7 @@ else print '</td><td>'.$langs->trans("BarcodeValue").'</td><td>'; $tmpcode=isset($_POST['barcode'])?GETPOST('barcode'):$object->barcode; if (empty($tmpcode) && ! empty($modBarCodeProduct->code_auto)) $tmpcode=$modBarCodeProduct->getNextValue($object,$type); - print '<input size="40" type="text" name="barcode" value="'.dol_escape_htmltag($tmpcode).'">'; + print '<input size="40" class="maxwidthonsmartphone" type="text" name="barcode" value="'.dol_escape_htmltag($tmpcode).'">'; print '</td></tr>'; } @@ -976,7 +976,7 @@ else // Public URL print '<tr><td>'.$langs->trans("PublicUrl").'</td><td colspan="3">'; - print '<input type="text" name="url" size="90" value="'.GETPOST('url').'">'; + print '<input type="text" name="url" class="quatrevingtpercent" value="'.GETPOST('url').'">'; print '</td></tr>'; // Stock min level @@ -1268,7 +1268,7 @@ else print '</td><td>'.$langs->trans("BarcodeValue").'</td><td>'; $tmpcode=isset($_POST['barcode'])?GETPOST('barcode'):$object->barcode; if (empty($tmpcode) && ! empty($modBarCodeProduct->code_auto)) $tmpcode=$modBarCodeProduct->getNextValue($object,$type); - print '<input size="40" type="text" name="barcode" value="'.dol_escape_htmltag($tmpcode).'">'; + print '<input size="40" class="maxwidthonsmartphone" type="text" name="barcode" value="'.dol_escape_htmltag($tmpcode).'">'; print '</td></tr>'; } @@ -1284,7 +1284,7 @@ else // Public Url print '<tr><td>'.$langs->trans("PublicUrl").'</td><td colspan="3">'; - print '<input type="text" name="url" size="80" value="'.$object->url.'">'; + print '<input type="text" name="url" class="quatrevingtpercent" value="'.$object->url.'">'; print '</td></tr>'; // Stock @@ -1375,7 +1375,7 @@ else print '<tr><td>'.$langs->trans("CustomCode").'</td><td><input name="customcode" size="10" value="'.$object->customcode.'"></td>'; // Origin country print '<td>'.$langs->trans("CountryOrigin").'</td><td>'; - print $form->select_country($object->country_id,'country_id'); + print $form->select_country($object->country_id, 'country_id', '', 0, 'minwidth100 maxwidthonsmartphone'); if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1); print '</td></tr>'; } @@ -1526,7 +1526,7 @@ else print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="action" value="setbarcode">'; print '<input type="hidden" name="barcode_type_code" value="'.$object->barcode_type_code.'">'; - print '<input size="40" type="text" name="barcode" value="'.$object->barcode.'">'; + print '<input size="40" class="maxwidthonsmartphone" type="text" name="barcode" value="'.$object->barcode.'">'; print ' <input type="submit" class="button" value="'.$langs->trans("Modify").'">'; } else