diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php
index 9610836254b..9da39314d56 100644
--- a/htdocs/admin/commande.php
+++ b/htdocs/admin/commande.php
@@ -241,7 +241,7 @@ if ($handle)
print ''.$langs->trans("Activate").'';
}
print '';
-
+
$commande=new Commande($db);
$commande->initAsSpecimen();
@@ -383,7 +383,6 @@ while (($file = readdir($handle))!==false)
$htmltooltip.='
'.$langs->trans("MultiLanguage").': '.yn($module->option_multilang);
// \TODO : $htmltooltip.='
'.$langs->trans("Escompte").': '.yn($module->option_escompte);
$htmltooltip.='
'.$langs->trans("CreditNote").': '.yn($module->option_credit_note);
- $htmltooltip.='
'.$langs->trans("FreeLegalTextOnOrders").': '.yn($module->option_freetext);
$htmltooltip.='
'.$langs->trans("WatermarkOnDraftOrders").': '.yn($module->option_draft_watermark);
print '
';
diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php
index 89e1fea2c63..8a1251801ff 100644
--- a/htdocs/admin/facture.php
+++ b/htdocs/admin/facture.php
@@ -257,21 +257,21 @@ while (($file = readdir($handle))!==false)
// Show modules according to features level
if ($module->version == 'development' && $conf->global->MAIN_FEATURES_LEVEL < 2) continue;
if ($module->version == 'experimental' && $conf->global->MAIN_FEATURES_LEVEL < 1) continue;
-
+
if ($module->isEnabled())
{
$var = !$var;
print ' | | ';
echo "$file";
print " | \n";
-
+
print $module->info();
-
+
print ' | ';
-
+
// Affiche example
print ''.$module->getExample().' | ';
-
+
print '';
if ($conf->global->FACTURE_ADDON == "$file")
{
@@ -282,10 +282,10 @@ while (($file = readdir($handle))!==false)
print ''.$langs->trans("Default").'';
}
print ' | ';
-
+
$facture=new Facture($db);
$facture->initAsSpecimen();
-
+
// Example for standard invoice
$htmltooltip='';
$htmltooltip.=''.$langs->trans("Version").': '.$module->getVersion().'
';
@@ -318,11 +318,11 @@ while (($file = readdir($handle))!==false)
$htmltooltip.=$langs->trans($module->error);
}
}
-
+
print '';
print $html->textwithhelp('',$htmltooltip,1,0);
print ' | ';
-
+
print "
\n";
}
}
@@ -438,10 +438,9 @@ while (($file = readdir($handle))!==false)
$htmltooltip.='
'.$langs->trans("Escompte").': '.yn($module->option_escompte,1,1);
$htmltooltip.='
'.$langs->trans("CreditNote").': '.yn($module->option_credit_note,1,1);
$htmltooltip.='
'.$langs->trans("MultiLanguage").': '.yn($module->option_multilang,1,1);
- $htmltooltip.='
'.$langs->trans("FreeLegalTextOnInvoices").': '.yn($module->option_freetext,1,1);
$htmltooltip.='
'.$langs->trans("WatermarkOnDraftInvoices").': '.yn($module->option_draft_watermark,1,1);
-
-
+
+
print '';
print $html->textwithhelp('',$htmltooltip,1,0);
print ' | ';
diff --git a/htdocs/admin/propale.php b/htdocs/admin/propale.php
index da2ba63f5b2..f2b8c9f8ca6 100644
--- a/htdocs/admin/propale.php
+++ b/htdocs/admin/propale.php
@@ -79,7 +79,7 @@ if ($_GET["action"] == 'specimen')
{
$mesg=''.$module->error.'
';
dolibarr_syslog($module->error, LOG_ERR);
- }
+ }
}
else
{
@@ -245,10 +245,10 @@ if ($handle)
print '| '.$module->nom." | \n";
print $module->info();
print ' | ';
-
+
// Examples
print ''.$module->getExample()." | \n";
-
+
print '';
if ($conf->global->PROPALE_ADDON == "$file")
{
@@ -259,10 +259,10 @@ if ($handle)
print ''.$langs->trans("Activate").'';
}
print ' | ';
-
+
$propale=new Propal($db);
$propale->initAsSpecimen();
-
+
// Info
$htmltooltip='';
$htmltooltip.=''.$langs->trans("Version").': '.$module->getVersion().'
';
@@ -280,11 +280,11 @@ if ($handle)
$htmltooltip.=$langs->trans($module->error).'
';
}
}
-
+
print '';
print $html->textwithhelp('',$htmltooltip,1,0);
print ' | ';
-
+
print "
\n";
}
}
@@ -398,13 +398,12 @@ while (($file = readdir($handle))!==false)
$htmltooltip.='
'.$langs->trans("PaymentMode").': '.yn($module->option_modereg);
$htmltooltip.='
'.$langs->trans("PaymentConditions").': '.yn($module->option_condreg);
$htmltooltip.='
'.$langs->trans("MultiLanguage").': '.yn($module->option_multilang);
- //TODO : $htmltooltip.='
'.$langs->trans("Escompte").': '.yn($module->option_escompte);
+ //TODO : $htmltooltip.='
'.$langs->trans("Escompte").': '.yn($module->option_escompte);
$htmltooltip.='
'.$langs->trans("CreditNote").': '.yn($module->option_credit_note);
- $htmltooltip.='
'.$langs->trans("FreeLegalTextOnProposal").': '.yn($module->option_freetext);
$htmltooltip.='
'.$langs->trans("WatermarkOnDraftProposal").': '.yn($module->option_draft_watermark);
-
-
-
+
+
+
print '';
print $html->textwithhelp('',$htmltooltip,1,0);
print ' | ';