diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php
index 4c8b4a030de..e02e3935abd 100644
--- a/htdocs/admin/facture.php
+++ b/htdocs/admin/facture.php
@@ -354,8 +354,7 @@ while (($file = readdir($handle))!==false)
// Info
$htmltooltip = ''.$langs->trans("Name").': '.$module->name;
$htmltooltip.='
'.$langs->trans("Type").': '.($module->type?$module->type:$langs->trans("Unknown"));
- $htmltooltip.='
'.$langs->trans("Width").': '.$module->page_largeur;
- $htmltooltip.='
'.$langs->trans("Height").': '.$module->page_hauteur;
+ $htmltooltip.='
'.$langs->trans("Height").'/'.$langs->trans("Width").': '.$module->page_hauteur.'/'.$module->page_largeur;
$htmltooltip.='
'.$langs->trans("FeaturesSupported").':';
$htmltooltip.='
'.$langs->trans("Logo").': '.yn($module->option_logo);
$htmltooltip.='
'.$langs->trans("PaymentMode").': '.yn($module->option_modereg);
diff --git a/htdocs/admin/propale.php b/htdocs/admin/propale.php
index bf0976eba92..c0e73018bbe 100644
--- a/htdocs/admin/propale.php
+++ b/htdocs/admin/propale.php
@@ -61,9 +61,9 @@ if ($_GET["action"] == 'specimen')
$classname = "pdf_propale_".$modele;
require_once($dir.$file);
- $obj = new $classname($db);
+ $module = new $classname($db);
- if ($obj->write_pdf_file($propal) > 0)
+ if ($module->write_pdf_file($propal) > 0)
{
header("Location: ".DOL_URL_ROOT."/document.php?modulepart=propal&file=SPECIMEN.pdf");
return;
@@ -292,8 +292,8 @@ while (($file = readdir($handle))!==false)
print "$name";
print "\n
\n";
require_once($dir.$file);
- $obj = new $classname($db);
- print $obj->description;
+ $module = new $classname($db);
+ print $module->description;
print ' | ';
// Activé
@@ -334,12 +334,11 @@ while (($file = readdir($handle))!==false)
// Info
$htmltooltip = ''.$langs->trans("Name").': '.$module->name;
$htmltooltip.='
'.$langs->trans("Type").': '.($module->type?$module->type:$langs->trans("Unknown"));
- $htmltooltip.='
'.$langs->trans("Width").': '.$obj->page_largeur;
- $htmltooltip.='
'.$langs->trans("Height").': '.$obj->page_hauteur;
+ $htmltooltip.='
'.$langs->trans("Height").'/'.$langs->trans("Width").': '.$module->page_hauteur.'/'.$module->page_largeur;
$htmltooltip.='
'.$langs->trans("FeaturesSupported").':';
- $htmltooltip.='
'.$langs->trans("Logo").': '.yn($obj->option_logo);
- $htmltooltip.='
'.$langs->trans("PaymentMode").': '.yn($obj->option_modereg);
- $htmltooltip.='
'.$langs->trans("PaymentConditions").': '.yn($obj->option_condreg);
+ $htmltooltip.='
'.$langs->trans("Logo").': '.yn($module->option_logo);
+ $htmltooltip.='
'.$langs->trans("PaymentMode").': '.yn($module->option_modereg);
+ $htmltooltip.='
'.$langs->trans("PaymentConditions").': '.yn($module->option_condreg);
$htmltooltip.='
'.$langs->trans("MultiLanguage").': '.yn($module->option_multilang);
print 'tooltip_properties($htmltooltip).'>';
print ''.img_help(0,0).'';
diff --git a/htdocs/comm/addpropal.php b/htdocs/comm/addpropal.php
index 955fb27ad51..b6107a62f13 100644
--- a/htdocs/comm/addpropal.php
+++ b/htdocs/comm/addpropal.php
@@ -114,7 +114,7 @@ if ($_GET["action"] == 'create')
print '';
// Ligne info remises tiers
- print ' | | '.$langs->trans('Info').' | ';
+ print ' |
| '.$langs->trans('Discounts').' | ';
if ($soc->remise_client) print $langs->trans("CompanyHasRelativeDiscount",$soc->remise_client);
else print $langs->trans("CompanyHasNoRelativeDiscount");
$absolute_discount=$soc->getCurrentDiscount();
diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 8f11feb28b0..b9247c19130 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -43,6 +43,7 @@ $langs->load('companies');
$langs->load('propal');
$langs->load('compta');
$langs->load('bills');
+$langs->load('orders');
$langs->load('products');
if ($conf->projet->enabled) require_once(DOL_DOCUMENT_ROOT.'/project.class.php');
@@ -642,7 +643,7 @@ if ($_GET['propalid'] > 0)
print ' | ';
if ($_GET['action'] != 'refclient' && $propal->brouillon) print ''.img_edit($langs->trans('Edit')).' | ';
print '
';
- print '';
+ print ' | ';
if ($user->rights->propale->creer && $_GET['action'] == 'refclient')
{
print ' |