diff --git a/htdocs/product/traduction.php b/htdocs/product/traduction.php index e7986fde074..b5f4b8b34ae 100644 --- a/htdocs/product/traduction.php +++ b/htdocs/product/traduction.php @@ -244,8 +244,9 @@ if ($action == 'edit') foreach ($object->multilangs as $key => $value) { $s=picto_from_langcode($key); - print "
".($s?$s.' ':'')." ".$langs->trans('Language_'.$key).": ".''.img_delete('', '')."
"; + print "
".($s?$s.' ':'')." ".$langs->trans('Language_'.$key).": ".''.img_delete('', 'class="valigntextbottom"')."
"; + print '
'; print ''; print ''; print ''; + print '
'; print '
'.$langs->trans('Label').'
'.$langs->trans('Description').''; @@ -263,6 +264,8 @@ if ($action == 'edit') } } + print '
'; + print '
'; print ''; print '     '; @@ -274,17 +277,20 @@ if ($action == 'edit') } else if ($action != 'add') { - if ($cnt_trans) print '
'; + //if ($cnt_trans) print '
'; if (! empty($object->multilangs)) { foreach ($object->multilangs as $key => $value) { $s=picto_from_langcode($key); + //print '
'; + print ($s?$s.' ':'')." ".$langs->trans('Language_'.$key).": ".''.img_delete('', 'class="valigntextbottom"').''; + //print '
'; - print ''; print ''; - print ''; + print ''; if (! empty($conf->global->PRODUCT_USE_OTHER_FIELD_IN_TRANSLATION)) { print ''; @@ -312,6 +318,8 @@ if ($action == 'add' && ($user->rights->produit->creer || $user->rights->service print ''; print ''; + dol_fiche_head(); + print '
'.($s?$s.' ':'')." ".$langs->trans('Language_'.$key).": ".''.img_delete('', '').'
'.$langs->trans('Label').''.$object->multilangs[$key]["label"].'
'.$langs->trans('Description').''.$object->multilangs[$key]["description"].'
'.$langs->trans('Description').''.$object->multilangs[$key]["description"].'
'.$langs->trans('Other').' ('.$langs->trans("NotUsed").')'.$object->multilangs[$key]["other"].'
'; print '
'.$langs->trans('Language').''; print $formadmin->select_language('','forcelangprod',0,$object->multilangs,1); @@ -331,7 +339,9 @@ if ($action == 'add' && ($user->rights->produit->creer || $user->rights->service } print '
'; - print '
'; + dol_fiche_end(); + + print '
'; print ''; print '     '; print ''; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 6c6869ce7d4..1f2f1a225e3 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -2559,10 +2559,11 @@ div.pagination li.paginationafterarrows { /* Set the color for hover lines */ -.oddeven:hover, .odd:hover, .impair:hover, .even:hover, .pair:hover, .even:hover, .pair:hover, table.dataTable tr.even:hover, table.dataTable tr.odd:hover +.oddeven:hover, .odd:hover, .impair:hover, .even:hover, .pair:hover, .even:hover, .pair:hover, +table.dataTable tr.even:hover, table.dataTable tr.odd:hover { - background-color: rgb() !important; + background: rgb() !important; /* Must be background to be stronger than background of odd or even */ }