diff --git a/htdocs/product/admin/product.php b/htdocs/product/admin/product.php
index 1d95e2c9fa3..2efd3ab14f1 100644
--- a/htdocs/product/admin/product.php
+++ b/htdocs/product/admin/product.php
@@ -304,8 +304,8 @@ print '
';
print '';
print '| '.$langs->trans("Name").' | ';
print ''.$langs->trans("Description").' | ';
-print ''.$langs->trans("Status")." | \n";
-print ''.$langs->trans("Default")." | \n";
-print ''.$langs->trans("ShortInfo").' | ';
-print ''.$langs->trans("Preview").' | ';
+print ''.$langs->trans("Status")." | \n";
+print ''.$langs->trans("Default")." | \n";
+print ''.$langs->trans("ShortInfo").' | ';
+print ''.$langs->trans("Preview").' | ';
print "
\n";
clearstatcache();
@@ -458,7 +458,7 @@ foreach ($dirmodels as $reldir)
// Active
if (in_array($name, $def))
{
- print ''."\n";
+ print ' | '."\n";
print '';
print img_picto($langs->trans("Enabled"), 'switch_on');
print '';
@@ -466,13 +466,13 @@ foreach ($dirmodels as $reldir)
}
else
{
- print ' | '."\n";
+ print ' | '."\n";
print 'scandir.'&label='.urlencode($module->name).'">'.img_picto($langs->trans("Disabled"), 'switch_off').'';
print " | ";
}
// Defaut
- print '';
+ print ' | ';
if ($conf->global->PRODUCT_ADDON_PDF == $name)
{
print img_picto($langs->trans("Default"), 'on');
@@ -495,12 +495,12 @@ foreach ($dirmodels as $reldir)
$htmltooltip.=' '.$langs->trans("MultiLanguage").': '.yn($module->option_multilang, 1, 1);
- print ' | ';
+ print ' | ';
print $form->textwithpicto('', $htmltooltip, 1, 0);
print ' | ';
// Preview
- print '';
+ print ' | ';
if ($module->type == 'pdf')
{
print ''.img_object($langs->trans("Preview"), 'contract').'';
@@ -540,7 +540,7 @@ print '';
print '';
print '';
print '| '.$langs->trans("Parameters").' | '."\n";
-print ''.$langs->trans("Value").' | '."\n";
+print ''.$langs->trans("Value").' | '."\n";
print ' | '."\n";
@@ -557,7 +557,7 @@ if (! empty($conf->fournisseur->enabled)) $rowspan++;
print '';
print '| '.$langs->trans("PricingRule").' | ';
-print '';
+print ' | ';
$current_rule = 'PRODUCT_PRICE_UNIQ';
if (!empty($conf->global->PRODUIT_MULTIPRICES)) $current_rule='PRODUIT_MULTIPRICES';
if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES_BY_QTY)) $current_rule='PRODUIT_CUSTOMER_PRICES_BY_QTY';
@@ -568,7 +568,7 @@ if ( empty($conf->multicompany->enabled))
{
print $langs->trans("SamePriceAlsoForSharedCompanies");
}
-print ' | ';
+print ' | ';
print '';
print ' | ';
print ' ';
@@ -579,7 +579,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUI
{
print '';
print '| '.$langs->trans("MultiPricesNumPrices").' | ';
- print ' | ';
+ print ' | ';
print ' ';
}
@@ -587,7 +587,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUI
print '';
print '| '.$langs->trans("AssociatedProductsAbility").' | ';
-print '';
+print ' | ';
print $form->selectyesno("PRODUIT_SOUSPRODUITS", $conf->global->PRODUIT_SOUSPRODUITS, 1);
print ' | ';
print ' ';
@@ -598,13 +598,13 @@ print '';
print '| '.$form->textwithpicto($langs->trans("UseSearchToSelectProduct"), $langs->trans('UseSearchToSelectProductTooltip'), 1).' | ';
if (empty($conf->use_javascript_ajax))
{
- print '';
+ print ' | ';
print $langs->trans("NotAvailableWhenAjaxDisabled");
print ' | ';
}
else
{
- print '';
+ print ' | ';
$arrval=array(
'0'=>$langs->trans("No"),
'1'=>$langs->trans("Yes").' ('.$langs->trans("NumberOfKeyToSearch", 1).')',
@@ -620,14 +620,14 @@ if (empty($conf->global->PRODUIT_USE_SEARCH_TO_SELECT))
{
print ' | ';
print '| '.$langs->trans("NumberOfProductShowInSelect").' | ';
- print ' | ';
+ print ' | ';
print ' ';
}
// Visualiser description produit dans les formulaires activation/desactivation
print '';
print '| '.$langs->trans("ViewProductDescInFormAbility").' | ';
-print '';
+print ' | ';
print $form->selectyesno("activate_viewProdDescInForm", $conf->global->PRODUIT_DESC_IN_FORM, 1);
print ' | ';
print ' ';
@@ -637,7 +637,7 @@ print '';
print '';
print '| '.$langs->trans("MergePropalProductCard").' | ';
-print '';
+print ' | ';
print $form->selectyesno("activate_mergePropalProductCard",$conf->global->PRODUIT_PDF_MERGE_PROPAL,1);
print ' | ';
print ' ';
@@ -648,7 +648,7 @@ print '';
print '';
print '| '.$langs->trans("UseUnits").' | ';
-print '';
+print ' | ';
print $form->selectyesno("activate_units",$conf->global->PRODUCT_USE_UNITS,1);
print ' | ';
print ' ';
@@ -659,7 +659,7 @@ if (! empty($conf->global->MAIN_MULTILANGS))
{
print '';
print '| '.$langs->trans("ViewProductDescInThirdpartyLanguageAbility").' | ';
- print '';
+ print ' | ';
print $form->selectyesno("activate_viewProdTextsInThirdpartyLanguage", (! empty($conf->global->PRODUIT_TEXTS_IN_THIRDPARTY_LANGUAGE)?$conf->global->PRODUIT_TEXTS_IN_THIRDPARTY_LANGUAGE:0), 1);
print ' | ';
print ' ';
@@ -669,7 +669,7 @@ if (! empty($conf->fournisseur->enabled))
{
print '';
print '| '.$langs->trans("UseProductFournDesc").' | ';
- print '';
+ print ' | ';
print $form->selectyesno("activate_useProdFournDesc", (! empty($conf->global->PRODUIT_FOURN_TEXTS)?$conf->global->PRODUIT_FOURN_TEXTS:0), 1);
print ' | ';
print ' ';
@@ -682,7 +682,7 @@ if (! empty($conf->global->PRODUCT_CANVAS_ABILITY))
print '';
print '| '.$langs->trans("ProductSpecial").' | '."\n";
- print ''.$langs->trans("Value").' | '."\n";
+ print ''.$langs->trans("Value").' | '."\n";
print ' | '."\n";
if (is_dir($dir))
@@ -710,19 +710,19 @@ if (! empty($conf->global->PRODUCT_CANVAS_ABILITY))
print $object->description;
- print '';
+ print ' | ';
$const = "PRODUCT_SPECIAL_".strtoupper($file);
if ($conf->global->$const)
{
print img_picto($langs->trans("Active"), 'tick');
- print ' | ';
+ print ' | ';
print ''.$langs->trans("Disable").'';
}
else
{
- print ' | ';
+ print ' | ';
print ''.$langs->trans("Activate").'';
}
| |