';
-print $langs->trans("WatermarkOnDraftBill").' ';
+$substitutionarray=pdf_getSubstitutionArray($langs);
+$substitutionarray['__(AnyTranslationKey)__']=$langs->trans("Translation");
+$htmltext = ''.$langs->trans("AvailableVariables").': ';
+foreach($substitutionarray as $key => $val) $htmltext.=$key.' ';
+$htmltext.=' ';
+print $form->textwithpicto($langs->trans("WatermarkOnDraftBill"), $htmltext);
+print '';
print ' ';
print '';
print ' ';
diff --git a/htdocs/admin/mails_templates.php b/htdocs/admin/mails_templates.php
index 90949c7980d..f0bf5609adf 100644
--- a/htdocs/admin/mails_templates.php
+++ b/htdocs/admin/mails_templates.php
@@ -27,7 +27,7 @@
*/
/**
- * \file htdocs/admin/dict.php
+ * \file htdocs/admin/mails_templates.php
* \ingroup setup
* \brief Page to administer data tables
*/
@@ -119,12 +119,14 @@ $formmail=new FormMail($db);
if (empty($conf->global->MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES))
{
$tmp=$formmail->getAvailableSubstitKey('form');
+ $tmp['__(AnyTransKey)__']='__(AnyTransKey)__';
$helpsubstit = $langs->trans("AvailableVariables").': '.implode(' ', $tmp);
$helpsubstitforlines = $langs->trans("AvailableVariables").': '.implode(' ', $tmp);
}
else
{
$tmp=$formmail->getAvailableSubstitKey('formwithlines');
+ $tmp['__(AnyTransKey)__']='__(AnyTransKey)__';
$helpsubstit = $langs->trans("AvailableVariables").': '.implode(' ', $tmp);
$tmp=$formmail->getAvailableSubstitKey('formforlines');
$helpsubstitforlines = $langs->trans("AvailableVariables").': '.implode(' ', $tmp);
diff --git a/htdocs/admin/menus/other.php b/htdocs/admin/menus/other.php
index 82457a27bdf..7789c3fb21c 100644
--- a/htdocs/admin/menus/other.php
+++ b/htdocs/admin/menus/other.php
@@ -81,7 +81,6 @@ dol_fiche_head($head, 'misc', $langs->trans("Menus"), -1);
// Other Options
-$var=true;
print '';
print '';
@@ -90,7 +89,6 @@ print ''.$langs->trans("Status").' ';
print ' ';
// Hide unauthorized menu
-
print '';
print ''.$langs->trans("HideUnauthorizedMenu").' ';
print '';
diff --git a/htdocs/admin/order_extrafields.php b/htdocs/admin/order_extrafields.php
index 5d7358ae051..043d6bbadd9 100644
--- a/htdocs/admin/order_extrafields.php
+++ b/htdocs/admin/order_extrafields.php
@@ -75,7 +75,7 @@ print " \n";
$head = order_admin_prepare_head();
-dol_fiche_head($head, 'attributes', $langs->trans("Orders"), 0, 'order');
+dol_fiche_head($head, 'attributes', $langs->trans("Orders"), -1, 'order');
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
diff --git a/htdocs/admin/orderdet_extrafields.php b/htdocs/admin/orderdet_extrafields.php
index f966af78bf3..5120fd5c931 100644
--- a/htdocs/admin/orderdet_extrafields.php
+++ b/htdocs/admin/orderdet_extrafields.php
@@ -76,7 +76,7 @@ print " \n";
$head = order_admin_prepare_head();
-dol_fiche_head($head, 'attributeslines', $langs->trans("OrderLines"), 0, 'order');
+dol_fiche_head($head, 'attributeslines', $langs->trans("OrderLines"), -1, 'order');
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
diff --git a/htdocs/admin/propal.php b/htdocs/admin/propal.php
index bff56b4f776..76179fac66c 100644
--- a/htdocs/admin/propal.php
+++ b/htdocs/admin/propal.php
@@ -248,16 +248,15 @@ else if ($action == 'setmod')
/*
- * Affiche page
+ * View
*/
+$form=new Form($db);
+
$dirmodels=array_merge(array('/'),(array) $conf->modules_parts['models']);
-
llxHeader('',$langs->trans("PropalSetup"));
-$form=new Form($db);
-
//if ($mesg) print $mesg;
$linkback=''.$langs->trans("BackToModuleList").' ';
@@ -265,7 +264,7 @@ print load_fiche_titre($langs->trans("PropalSetup"),$linkback,'title_setup');
$head = propal_admin_prepare_head();
-dol_fiche_head($head, 'general', $langs->trans("Proposals"), 0, 'propal');
+dol_fiche_head($head, 'general', $langs->trans("Proposals"), -1, 'propal');
/*
* Module numerotation
@@ -534,11 +533,10 @@ print ' ';
/*
* Other options
- *
*/
+
print load_fiche_titre($langs->trans("OtherOptions"),'','');
-$var=true;
print "";
print "";
print "".$langs->trans("Parameter")." \n";
@@ -572,7 +570,6 @@ print " \n";
print '';
*/
-$var=! $var;
print '