@@ -7855,6 +7855,11 @@ class Form
if (empty($conf->expedition->enabled)) {
continue; // Do not show if module disabled
}
+ } elseif ($objecttype == 'ficheinter') {
+ $tplpath = 'fichinter';
+ if (empty($conf->ficheinter->enabled)) {
+ continue; // Do not show if module disabled
+ }
} elseif ($objecttype == 'invoice_supplier') {
$tplpath = 'fourn/facture';
} elseif ($objecttype == 'order_supplier') {
@@ -9273,7 +9278,8 @@ class Form
if ($save_label == 'Create' || $save_label == 'Add' ) {
$save['name'] = 'add';
- $save['label_key'] = $save_label;
+ } elseif ($save_label == 'Modify') {
+ $save['name'] = 'edit';
}
$cancel = array(
diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php
index 57bedd2807a..c6462850708 100644
--- a/htdocs/core/class/html.formcompany.class.php
+++ b/htdocs/core/class/html.formcompany.class.php
@@ -183,7 +183,7 @@ class FormCompany extends Form
if (!empty($htmlname) && $user->admin) {
print ' '.info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
}
- print ' ';
+ print ' ';
print '';
}
@@ -234,7 +234,7 @@ class FormCompany extends Form
if (!empty($htmlname) && $user->admin) {
print ' '.info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
}
- print ' ';
+ print ' ';
print '';
}
diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index f5b13671a44..04d4ad34e89 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -501,7 +501,7 @@ class FormMail extends Form
}
$out .= ' ';
- $out .= ' ';
+ $out .= ' ';
$out .= ' ';
$out .= '';
} elseif (!empty($this->param['models']) && in_array($this->param['models'], array(
@@ -516,7 +516,7 @@ class FormMail extends Form
$out .= info_admin($langs->trans("YouCanChangeValuesForThisListFrom", $langs->transnoentitiesnoconv('Setup').' - '.$langs->transnoentitiesnoconv('EMails')), 1);
}
$out .= ' ';
- $out .= ' ';
+ $out .= ' ';
$out .= ' ';
$out .= '';
} else {
@@ -821,7 +821,7 @@ class FormMail extends Form
$out .= ' ';
}
$out .= ' ';
- $out .= ' ';
+ $out .= ' ';
}
} else {
$out .= $this->withfile;
@@ -957,7 +957,7 @@ class FormMail extends Form
if ($this->withform == 1 || $this->withform == -1) {
$out .= '';
- $out .= '
trans("SendMail").'"';
// Add a javascript test to avoid to forget to submit file before sending email
if ($this->withfile == 2 && $conf->use_javascript_ajax) {
$out .= ' onClick="if (document.mailform.addedfile.value != \'\') { alert(\''.dol_escape_js($langs->trans("FileWasNotUploaded")).'\'); return false; } else { return true; }"';
diff --git a/htdocs/core/class/html.formsms.class.php b/htdocs/core/class/html.formsms.class.php
index 57d8876c3ea..0ce9cae7b4e 100644
--- a/htdocs/core/class/html.formsms.class.php
+++ b/htdocs/core/class/html.formsms.class.php
@@ -322,7 +322,7 @@ function limitChars(textarea, limit, infodiv)
if ($showform) {
print '
';
- print '
';
+ print '
';
if ($this->withcancel) {
print ' ';
print '
';
diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php
index 5f2ed3c8055..435c02b3f7a 100644
--- a/htdocs/core/class/html.formticket.class.php
+++ b/htdocs/core/class/html.formticket.class.php
@@ -468,7 +468,7 @@ class FormTicket
}
print '
';
- print ' ';
+ print ' ';
if ($this->withcancel) {
print " ";
print ' ';
@@ -1132,7 +1132,7 @@ class FormTicket
print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
}
print ' ';
- print ' ';
+ print ' ';
print '
';
}
@@ -1302,7 +1302,7 @@ class FormTicket
print '';
print '
';
- print ' ';
+ print ' ';
if ($this->withcancel) {
print " ";
print ' ';
diff --git a/htdocs/core/modules/barcode/mod_barcode_product_standard.php b/htdocs/core/modules/barcode/mod_barcode_product_standard.php
index 0d1bee3c28a..d09207ae364 100644
--- a/htdocs/core/modules/barcode/mod_barcode_product_standard.php
+++ b/htdocs/core/modules/barcode/mod_barcode_product_standard.php
@@ -108,7 +108,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
//$texte.= ''.$langs->trans("Mask").' ('.$langs->trans("BarCodeModel").'): ';
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
$texte .= '';
diff --git a/htdocs/core/modules/bom/doc/doc_generic_bom_odt.modules.php b/htdocs/core/modules/bom/doc/doc_generic_bom_odt.modules.php
index ce85203930f..2e1ab3b5ef4 100644
--- a/htdocs/core/modules/bom/doc/doc_generic_bom_odt.modules.php
+++ b/htdocs/core/modules/bom/doc/doc_generic_bom_odt.modules.php
@@ -151,7 +151,7 @@ class doc_generic_bom_odt extends ModelePDFBom
$texte .= $conf->global->BOM_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/bom/mod_bom_advanced.php b/htdocs/core/modules/bom/mod_bom_advanced.php
index d590c3ff70c..09faf05d7d6 100644
--- a/htdocs/core/modules/bom/mod_bom_advanced.php
+++ b/htdocs/core/modules/bom/mod_bom_advanced.php
@@ -81,7 +81,7 @@ class mod_bom_advanced extends ModeleNumRefboms
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/cheque/mod_chequereceipt_thyme.php b/htdocs/core/modules/cheque/mod_chequereceipt_thyme.php
index 16e0f666774..40d63e63143 100644
--- a/htdocs/core/modules/cheque/mod_chequereceipt_thyme.php
+++ b/htdocs/core/modules/cheque/mod_chequereceipt_thyme.php
@@ -75,7 +75,7 @@ class mod_chequereceipt_thyme extends ModeleNumRefChequeReceipts
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php b/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php
index 239ec7639ec..adb26a38e0a 100644
--- a/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php
+++ b/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php
@@ -158,7 +158,7 @@ class doc_generic_order_odt extends ModelePDFCommandes
$texte .= $conf->global->COMMANDE_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/commande/mod_commande_saphir.php b/htdocs/core/modules/commande/mod_commande_saphir.php
index 8b4ccdfaba7..ffb53480aa3 100644
--- a/htdocs/core/modules/commande/mod_commande_saphir.php
+++ b/htdocs/core/modules/commande/mod_commande_saphir.php
@@ -81,7 +81,7 @@ class mod_commande_saphir extends ModeleNumRefCommandes
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/contract/mod_contract_magre.php b/htdocs/core/modules/contract/mod_contract_magre.php
index dcaee5eadbc..e0c54c1d022 100644
--- a/htdocs/core/modules/contract/mod_contract_magre.php
+++ b/htdocs/core/modules/contract/mod_contract_magre.php
@@ -86,7 +86,7 @@ class mod_contract_magre extends ModelNumRefContracts
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
$texte .= '';
$texte .= '';
diff --git a/htdocs/core/modules/delivery/mod_delivery_saphir.php b/htdocs/core/modules/delivery/mod_delivery_saphir.php
index d5ac288b52a..7fc9b2e6e52 100644
--- a/htdocs/core/modules/delivery/mod_delivery_saphir.php
+++ b/htdocs/core/modules/delivery/mod_delivery_saphir.php
@@ -85,7 +85,7 @@ class mod_delivery_saphir extends ModeleNumRefDeliveryOrder
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php b/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php
index 8a2b6b2b121..5229645afe5 100644
--- a/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php
+++ b/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php
@@ -159,7 +159,7 @@ class doc_generic_shipment_odt extends ModelePdfExpedition
$texte .= $conf->global->EXPEDITION_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/expedition/mod_expedition_ribera.php b/htdocs/core/modules/expedition/mod_expedition_ribera.php
index 79bbcbdb481..736ddc3ab3f 100644
--- a/htdocs/core/modules/expedition/mod_expedition_ribera.php
+++ b/htdocs/core/modules/expedition/mod_expedition_ribera.php
@@ -81,7 +81,7 @@ class mod_expedition_ribera extends ModelNumRefExpedition
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
$texte .= '';
$texte .= '';
diff --git a/htdocs/core/modules/expensereport/mod_expensereport_sand.php b/htdocs/core/modules/expensereport/mod_expensereport_sand.php
index 482b8c06431..c403aa8c228 100644
--- a/htdocs/core/modules/expensereport/mod_expensereport_sand.php
+++ b/htdocs/core/modules/expensereport/mod_expensereport_sand.php
@@ -84,7 +84,7 @@ class mod_expensereport_sand extends ModeleNumRefExpenseReport
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php b/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php
index 0d360269d46..ec494302e93 100644
--- a/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php
+++ b/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php
@@ -158,7 +158,7 @@ class doc_generic_invoice_odt extends ModelePDFFactures
$texte .= $conf->global->FACTURE_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/facture/mod_facture_mercure.php b/htdocs/core/modules/facture/mod_facture_mercure.php
index 32e06f285a9..706c35a9f82 100644
--- a/htdocs/core/modules/facture/mod_facture_mercure.php
+++ b/htdocs/core/modules/facture/mod_facture_mercure.php
@@ -78,7 +78,7 @@ class mod_facture_mercure extends ModeleNumRefFactures
$texte .= ''.$langs->trans("Mask").' ('.$langs->trans("InvoiceStandard").'): ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/fichinter/mod_arctic.php b/htdocs/core/modules/fichinter/mod_arctic.php
index 91025817a9d..cb5acddd6e9 100644
--- a/htdocs/core/modules/fichinter/mod_arctic.php
+++ b/htdocs/core/modules/fichinter/mod_arctic.php
@@ -86,7 +86,7 @@ class mod_arctic extends ModeleNumRefFicheinter
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/holiday/mod_holiday_immaculate.php b/htdocs/core/modules/holiday/mod_holiday_immaculate.php
index 000c7881561..84d6638a27e 100644
--- a/htdocs/core/modules/holiday/mod_holiday_immaculate.php
+++ b/htdocs/core/modules/holiday/mod_holiday_immaculate.php
@@ -86,7 +86,7 @@ class mod_holiday_immaculate extends ModelNumRefHolidays
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
$texte .= '';
$texte .= '';
diff --git a/htdocs/core/modules/member/doc/doc_generic_member_odt.class.php b/htdocs/core/modules/member/doc/doc_generic_member_odt.class.php
index 939c78f32e3..7b2af1e0032 100644
--- a/htdocs/core/modules/member/doc/doc_generic_member_odt.class.php
+++ b/htdocs/core/modules/member/doc/doc_generic_member_odt.class.php
@@ -154,7 +154,7 @@ class doc_generic_member_odt extends ModelePDFMember
$texte .= $conf->global->MEMBER_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/modBlockedLog.class.php b/htdocs/core/modules/modBlockedLog.class.php
index 9a90fa945bb..0c645099f56 100644
--- a/htdocs/core/modules/modBlockedLog.class.php
+++ b/htdocs/core/modules/modBlockedLog.class.php
@@ -170,9 +170,9 @@ class modBlockedLog extends DolibarrModules
$sql = array();
// If already used, we add an entry to show we enable module
- require_once DOL_DOCUMENT_ROOT.'/blockedlog/class/blockedlog.class.php';
+ require_once DOL_DOCUMENT_ROOT . '/blockedlog/class/blockedlog.class.php';
- $object = new stdClass();
+ $object = new stdClass();
$object->id = 1;
$object->element = 'module';
$object->ref = 'systemevent';
diff --git a/htdocs/core/modules/modFicheinter.class.php b/htdocs/core/modules/modFicheinter.class.php
index 784eeb006c3..356b9ca6f51 100644
--- a/htdocs/core/modules/modFicheinter.class.php
+++ b/htdocs/core/modules/modFicheinter.class.php
@@ -77,6 +77,11 @@ class modFicheinter extends DolibarrModules
$this->const = array();
$r = 0;
+ if (!isset($conf->ficheinter) || !isset($conf->ficheinter->enabled)) {
+ $conf->ficheinter = new stdClass();
+ $conf->ficheinter->enabled = 0;
+ }
+
$this->const[$r][0] = "FICHEINTER_ADDON_PDF";
$this->const[$r][1] = "chaine";
$this->const[$r][2] = "soleil";
diff --git a/htdocs/core/modules/mrp/doc/doc_generic_mo_odt.modules.php b/htdocs/core/modules/mrp/doc/doc_generic_mo_odt.modules.php
index e93ecd1af0a..b6ad4c6b8ff 100644
--- a/htdocs/core/modules/mrp/doc/doc_generic_mo_odt.modules.php
+++ b/htdocs/core/modules/mrp/doc/doc_generic_mo_odt.modules.php
@@ -158,7 +158,7 @@ class doc_generic_mo_odt extends ModelePDFMo
$texte .= $conf->global->MRP_MO_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/mrp/mod_mo_advanced.php b/htdocs/core/modules/mrp/mod_mo_advanced.php
index 14292f7f896..ba518159dbf 100644
--- a/htdocs/core/modules/mrp/mod_mo_advanced.php
+++ b/htdocs/core/modules/mrp/mod_mo_advanced.php
@@ -82,7 +82,7 @@ class mod_mo_advanced extends ModeleNumRefMos
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/payment/mod_payment_ant.php b/htdocs/core/modules/payment/mod_payment_ant.php
index dca32b26505..958074202fe 100644
--- a/htdocs/core/modules/payment/mod_payment_ant.php
+++ b/htdocs/core/modules/payment/mod_payment_ant.php
@@ -84,7 +84,7 @@ class mod_payment_ant extends ModeleNumRefPayments
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php b/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php
index 1acf50dd95a..05eef305c37 100644
--- a/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php
+++ b/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php
@@ -161,7 +161,7 @@ class doc_generic_product_odt extends ModelePDFProduct
$texte .= $conf->global->PRODUCT_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/product/mod_codeproduct_elephant.php b/htdocs/core/modules/product/mod_codeproduct_elephant.php
index 0b03bd9b6a4..9e32dc38fab 100644
--- a/htdocs/core/modules/product/mod_codeproduct_elephant.php
+++ b/htdocs/core/modules/product/mod_codeproduct_elephant.php
@@ -118,7 +118,7 @@ class mod_codeproduct_elephant extends ModeleProductCode
$texte .= ''.$langs->trans("Mask").' ('.$langs->trans("ProductCodeModel").'): ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/product_batch/mod_lot_advanced.php b/htdocs/core/modules/product_batch/mod_lot_advanced.php
index 8ee857bfbea..0e920483508 100644
--- a/htdocs/core/modules/product_batch/mod_lot_advanced.php
+++ b/htdocs/core/modules/product_batch/mod_lot_advanced.php
@@ -82,7 +82,7 @@ class mod_lot_advanced extends ModeleNumRefBatch
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
// Option to enable custom masks per product
$texte .= '';
diff --git a/htdocs/core/modules/product_batch/mod_sn_advanced.php b/htdocs/core/modules/product_batch/mod_sn_advanced.php
index 54c67291d9a..ca24a67c781 100644
--- a/htdocs/core/modules/product_batch/mod_sn_advanced.php
+++ b/htdocs/core/modules/product_batch/mod_sn_advanced.php
@@ -82,7 +82,7 @@ class mod_sn_advanced extends ModeleNumRefBatch
$texte .= ' '.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
// Option to enable custom masks per product
$texte .= '';
diff --git a/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php b/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php
index 233180630b0..f86f5b55a9c 100644
--- a/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php
+++ b/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php
@@ -449,7 +449,7 @@ class doc_generic_project_odt extends ModelePDFProjects
$texte .= $conf->global->PROJECT_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/project/mod_project_universal.php b/htdocs/core/modules/project/mod_project_universal.php
index 480d19396c3..550d72c4f68 100644
--- a/htdocs/core/modules/project/mod_project_universal.php
+++ b/htdocs/core/modules/project/mod_project_universal.php
@@ -85,7 +85,7 @@ class mod_project_universal extends ModeleNumRefProjects
$texte .= ' '.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php b/htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php
index 638ab70bb84..3890c6526bc 100644
--- a/htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php
+++ b/htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php
@@ -416,7 +416,7 @@ class doc_generic_task_odt extends ModelePDFTask
$texte .= $conf->global->PROJECT_TASK_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/project/task/mod_task_universal.php b/htdocs/core/modules/project/task/mod_task_universal.php
index 3a6ef89f3fb..6de02dcaf99 100644
--- a/htdocs/core/modules/project/task/mod_task_universal.php
+++ b/htdocs/core/modules/project/task/mod_task_universal.php
@@ -85,7 +85,7 @@ class mod_task_universal extends ModeleNumRefTask
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php b/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php
index 9c7e0af4df0..bd2fcfa471f 100644
--- a/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php
+++ b/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php
@@ -160,7 +160,7 @@ class doc_generic_proposal_odt extends ModelePDFPropales
$texte .= $conf->global->PROPALE_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/propale/mod_propale_saphir.php b/htdocs/core/modules/propale/mod_propale_saphir.php
index ce78f341319..af7579fb142 100644
--- a/htdocs/core/modules/propale/mod_propale_saphir.php
+++ b/htdocs/core/modules/propale/mod_propale_saphir.php
@@ -87,7 +87,7 @@ class mod_propale_saphir extends ModeleNumRefPropales
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/reception/doc/doc_generic_reception_odt.modules.php b/htdocs/core/modules/reception/doc/doc_generic_reception_odt.modules.php
index 93dbc4995b4..34d34ec3e19 100644
--- a/htdocs/core/modules/reception/doc/doc_generic_reception_odt.modules.php
+++ b/htdocs/core/modules/reception/doc/doc_generic_reception_odt.modules.php
@@ -153,7 +153,7 @@ class doc_generic_reception_odt extends ModelePdfReception
$texte .= $conf->global->RECEPTION_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/reception/mod_reception_moonstone.php b/htdocs/core/modules/reception/mod_reception_moonstone.php
index 0d0ced20eb4..e1a5669dc09 100644
--- a/htdocs/core/modules/reception/mod_reception_moonstone.php
+++ b/htdocs/core/modules/reception/mod_reception_moonstone.php
@@ -62,7 +62,7 @@ class mod_reception_moonstone extends ModelNumRefReception
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
$texte .= '';
$texte .= '';
diff --git a/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php b/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php
index fdafb22e96b..8b8069ff34f 100644
--- a/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php
+++ b/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php
@@ -141,7 +141,7 @@ class doc_generic_odt extends ModeleThirdPartyDoc
$texte .= '';
$texte .= '';
$texte .= ' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
$texte .= '';
$texte .= '';
diff --git a/htdocs/core/modules/societe/mod_codeclient_elephant.php b/htdocs/core/modules/societe/mod_codeclient_elephant.php
index 705564e7e8e..c18b768a724 100644
--- a/htdocs/core/modules/societe/mod_codeclient_elephant.php
+++ b/htdocs/core/modules/societe/mod_codeclient_elephant.php
@@ -134,7 +134,7 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
$texte .= ''.$langs->trans("Mask").' ('.$langs->trans("CustomerCodeModel").'): ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/societe/mod_codecompta_aquarium.php b/htdocs/core/modules/societe/mod_codecompta_aquarium.php
index 752691b03b8..e03958e58bf 100644
--- a/htdocs/core/modules/societe/mod_codecompta_aquarium.php
+++ b/htdocs/core/modules/societe/mod_codecompta_aquarium.php
@@ -102,7 +102,7 @@ class mod_codecompta_aquarium extends ModeleAccountancyCode
$texte .= $langs->trans('COMPANY_AQUARIUM_CLEAN_REGEX').' = '.$conf->global->COMPANY_AQUARIUM_CLEAN_REGEX." \n";
}
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '';
$texte .= '';
diff --git a/htdocs/core/modules/societe/mod_codecompta_digitaria.php b/htdocs/core/modules/societe/mod_codecompta_digitaria.php
index 56c5b8e8885..c4887f01383 100644
--- a/htdocs/core/modules/societe/mod_codecompta_digitaria.php
+++ b/htdocs/core/modules/societe/mod_codecompta_digitaria.php
@@ -125,7 +125,7 @@ class mod_codecompta_digitaria extends ModeleAccountancyCode
$texte .= $langs->trans('COMPANY_DIGITARIA_UNIQUE_CODE').' = '.yn(1)." \n";
}
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '';
$texte .= '';
diff --git a/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php b/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php
index 5ca5019588a..2e48160d038 100644
--- a/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php
+++ b/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php
@@ -155,7 +155,7 @@ class doc_generic_stock_odt extends ModelePDFStock
$texte .= $conf->global->STOCK_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_tulip.php b/htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_tulip.php
index 57d5798c29e..5fc2737957f 100644
--- a/htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_tulip.php
+++ b/htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_tulip.php
@@ -95,7 +95,7 @@ class mod_facture_fournisseur_tulip extends ModeleNumRefSuppliersInvoices
$texte .= ':';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '';
diff --git a/htdocs/core/modules/supplier_order/doc/doc_generic_supplier_order_odt.modules.php b/htdocs/core/modules/supplier_order/doc/doc_generic_supplier_order_odt.modules.php
index 3a2775bef82..49ba1ec6cdf 100644
--- a/htdocs/core/modules/supplier_order/doc/doc_generic_supplier_order_odt.modules.php
+++ b/htdocs/core/modules/supplier_order/doc/doc_generic_supplier_order_odt.modules.php
@@ -159,7 +159,7 @@ class doc_generic_supplier_order_odt extends ModelePDFSuppliersOrders
$texte .= $conf->global->SUPPLIER_ORDER_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/supplier_order/mod_commande_fournisseur_orchidee.php b/htdocs/core/modules/supplier_order/mod_commande_fournisseur_orchidee.php
index c691b1448ef..473664cb44c 100644
--- a/htdocs/core/modules/supplier_order/mod_commande_fournisseur_orchidee.php
+++ b/htdocs/core/modules/supplier_order/mod_commande_fournisseur_orchidee.php
@@ -87,7 +87,7 @@ class mod_commande_fournisseur_orchidee extends ModeleNumRefSuppliersOrders
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/supplier_payment/mod_supplier_payment_brodator.php b/htdocs/core/modules/supplier_payment/mod_supplier_payment_brodator.php
index 19e632a6264..0bc0543e6cd 100644
--- a/htdocs/core/modules/supplier_payment/mod_supplier_payment_brodator.php
+++ b/htdocs/core/modules/supplier_payment/mod_supplier_payment_brodator.php
@@ -84,7 +84,7 @@ class mod_supplier_payment_brodator extends ModeleNumRefSupplierPayments
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/supplier_proposal/doc/doc_generic_supplier_proposal_odt.modules.php b/htdocs/core/modules/supplier_proposal/doc/doc_generic_supplier_proposal_odt.modules.php
index 717818448ec..8cd572a1bcf 100644
--- a/htdocs/core/modules/supplier_proposal/doc/doc_generic_supplier_proposal_odt.modules.php
+++ b/htdocs/core/modules/supplier_proposal/doc/doc_generic_supplier_proposal_odt.modules.php
@@ -162,7 +162,7 @@ class doc_generic_supplier_proposal_odt extends ModelePDFSupplierProposal
$texte .= $conf->global->SUPPLIER_PROPOSAL_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_saphir.php b/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_saphir.php
index 3b8754d9928..e7db54062cb 100644
--- a/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_saphir.php
+++ b/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_saphir.php
@@ -87,7 +87,7 @@ class mod_supplier_proposal_saphir extends ModeleNumRefSupplierProposal
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/takepos/mod_takepos_ref_universal.php b/htdocs/core/modules/takepos/mod_takepos_ref_universal.php
index d103dbe3b0b..b3d26b39511 100644
--- a/htdocs/core/modules/takepos/mod_takepos_ref_universal.php
+++ b/htdocs/core/modules/takepos/mod_takepos_ref_universal.php
@@ -81,7 +81,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/ticket/doc/doc_generic_ticket_odt.modules.php b/htdocs/core/modules/ticket/doc/doc_generic_ticket_odt.modules.php
index 2e6172d4181..82ce006447e 100644
--- a/htdocs/core/modules/ticket/doc/doc_generic_ticket_odt.modules.php
+++ b/htdocs/core/modules/ticket/doc/doc_generic_ticket_odt.modules.php
@@ -150,7 +150,7 @@ class doc_generic_ticket_odt extends ModelePDFTicket
$texte .= $conf->global->TICKET_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/ticket/mod_ticket_universal.php b/htdocs/core/modules/ticket/mod_ticket_universal.php
index f60b1f16481..176af782dc7 100644
--- a/htdocs/core/modules/ticket/mod_ticket_universal.php
+++ b/htdocs/core/modules/ticket/mod_ticket_universal.php
@@ -83,7 +83,7 @@ class mod_ticket_universal extends ModeleNumRefTicket
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php b/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php
index 7ca8d29c380..7e07539aa8e 100644
--- a/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php
+++ b/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php
@@ -159,7 +159,7 @@ class doc_generic_user_odt extends ModelePDFUser
$texte .= $conf->global->USER_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php b/htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php
index 5a1bca6377d..cf91120d3f8 100644
--- a/htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php
+++ b/htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php
@@ -162,7 +162,7 @@ class doc_generic_usergroup_odt extends ModelePDFUserGroup
$texte .= $conf->global->USERGROUP_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/core/modules/workstation/mod_workstation_advanced.php b/htdocs/core/modules/workstation/mod_workstation_advanced.php
index bf783542c75..2f1a8ae9d71 100755
--- a/htdocs/core/modules/workstation/mod_workstation_advanced.php
+++ b/htdocs/core/modules/workstation/mod_workstation_advanced.php
@@ -82,7 +82,7 @@ class mod_workstation_advanced extends ModeleNumRefWorkstation
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/core/tpl/bloc_comment.tpl.php b/htdocs/core/tpl/bloc_comment.tpl.php
index f30bb0c5c61..a868bb61879 100644
--- a/htdocs/core/tpl/bloc_comment.tpl.php
+++ b/htdocs/core/tpl/bloc_comment.tpl.php
@@ -49,7 +49,7 @@ if ($action !== 'editcomment') {
print '';
print '';
- print ' ';
+ print ' ';
print ' ';
}
diff --git a/htdocs/core/tpl/resource_add.tpl.php b/htdocs/core/tpl/resource_add.tpl.php
index 01c3897f991..64d545ba583 100644
--- a/htdocs/core/tpl/resource_add.tpl.php
+++ b/htdocs/core/tpl/resource_add.tpl.php
@@ -35,7 +35,7 @@ $out .= ''.$langs->trans('Busy').' '.$form->se
$out .= '
'.$langs->trans('Mandatory').' '.$form->selectyesno('mandatory', (GETPOSTISSET('mandatory') ? GETPOST('mandatory') : 0), 1).'
';
$out .= '
';
-$out .= ' ';
+$out .= ' ';
$out .= '
';
$out .= '';
diff --git a/htdocs/datapolicy/admin/setupmail.php b/htdocs/datapolicy/admin/setupmail.php
index c25d4c2263d..2ec083b0fa8 100644
--- a/htdocs/datapolicy/admin/setupmail.php
+++ b/htdocs/datapolicy/admin/setupmail.php
@@ -151,7 +151,7 @@ $doleditor->Create();
print '
';
print '';
-print ' ';
+print ' ';
print '';
diff --git a/htdocs/delivery/card.php b/htdocs/delivery/card.php
index a845b7aff95..7d4a3b181e0 100644
--- a/htdocs/delivery/card.php
+++ b/htdocs/delivery/card.php
@@ -338,7 +338,7 @@ if ($action == 'create') { // Create. Seems to no be used
$morehtmlref .= ' ';
$morehtmlref .= ' ';
$morehtmlref .= $formproject->select_projects($expedition->socid, $expedition->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1);
- $morehtmlref .= ' ';
+ $morehtmlref .= ' ';
$morehtmlref .= '';
} else {
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$expedition->id, $expedition->socid, $expedition->fk_project, 'none', 0, 0, 0, 1);
@@ -436,7 +436,7 @@ if ($action == 'create') { // Create. Seems to no be used
print ' ';
print ' ';
print $form->selectDate($object->date_delivery ? $object->date_delivery : -1, 'liv_', 1, 1, '', "setdate_delivery", 1, 1);
- print ' ';
+ print ' ';
print '';
} else {
print $object->date_delivery ? dol_print_date($object->date_delivery, 'dayhour') : ' ';
@@ -630,7 +630,7 @@ if ($action == 'create') { // Create. Seems to no be used
print dol_get_fiche_end();
//if ($object->statut == 0) // only if draft
- // print '
';
+ // print $form->buttonsSaveCancel("Save", '');
print '';
diff --git a/htdocs/don/admin/donation.php b/htdocs/don/admin/donation.php
index f14fae538ab..d8b06285be4 100644
--- a/htdocs/don/admin/donation.php
+++ b/htdocs/don/admin/donation.php
@@ -341,7 +341,7 @@ if (!empty($conf->accounting->enabled)) {
print ' ';
}
print '';
-print ' ';
+print ' ';
print " \n";
print '';
@@ -353,7 +353,7 @@ print '
';
print $langs->trans("FreeTextOnDonations").' '.img_info($langs->trans("AddCRIfTooLong")).' ';
print '';
print ' ';
-print ' ';
+print ' ';
print " \n";
print "\n";
diff --git a/htdocs/don/index.php b/htdocs/don/index.php
index e7aaeb8a4bd..36323d332b7 100644
--- a/htdocs/don/index.php
+++ b/htdocs/don/index.php
@@ -106,7 +106,7 @@ if (!empty($conf->global->MAIN_SEARCH_FORM_ON_HOME_AREAS)) { // TODO Add a s
print '
';
print ''.$langs->trans($value["text"]).' ';
if ($i == 0) {
- print ' ';
+ print ' ';
}
print ' ';
$i++;
diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index 4a6c1ae1dbf..46e31740982 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -1698,7 +1698,7 @@ if ($action == 'create') {
$morehtmlref .= '
';
$morehtmlref .= '
';
$morehtmlref .= $formproject->select_projects($object->socid, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1);
- $morehtmlref .= '
';
+ $morehtmlref .= '
';
$morehtmlref .= '';
} else {
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1);
@@ -1769,7 +1769,7 @@ if ($action == 'create') {
print '
';
print '
';
print $form->selectDate($object->date_delivery ? $object->date_delivery : -1, 'liv_', 1, 1, '', "setdate_livraison", 1, 0);
- print '
';
+ print '
';
print '';
} else {
print $object->date_delivery ? dol_print_date($object->date_delivery, 'dayhour') : ' ';
@@ -1905,7 +1905,7 @@ if ($action == 'create') {
if ($user->admin) {
print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
}
- print '
';
+ print '
';
print '';
} else {
if ($object->shipping_method_id > 0) {
diff --git a/htdocs/expedition/contact.php b/htdocs/expedition/contact.php
index 164935a1437..aea23298fcf 100644
--- a/htdocs/expedition/contact.php
+++ b/htdocs/expedition/contact.php
@@ -162,7 +162,7 @@ if ($id > 0 || !empty($ref)) {
$morehtmlref .= '
';
$morehtmlref .= '
';
$morehtmlref .= $formproject->select_projects($object->socid, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1);
- $morehtmlref .= '
';
+ $morehtmlref .= '
';
$morehtmlref .= '';
} else {
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1);
diff --git a/htdocs/expedition/document.php b/htdocs/expedition/document.php
index 200a4b67aac..43299dad066 100644
--- a/htdocs/expedition/document.php
+++ b/htdocs/expedition/document.php
@@ -134,7 +134,7 @@ if ($id > 0 || !empty($ref)) {
$morehtmlref .= '
';
$morehtmlref .= '
';
$morehtmlref .= $formproject->select_projects($object->socid, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1);
- $morehtmlref .= '
';
+ $morehtmlref .= '
';
$morehtmlref .= '';
} else {
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1);
diff --git a/htdocs/expedition/note.php b/htdocs/expedition/note.php
index d9282481603..5ebc54193da 100644
--- a/htdocs/expedition/note.php
+++ b/htdocs/expedition/note.php
@@ -123,7 +123,7 @@ if ($id > 0 || !empty($ref)) {
$morehtmlref .= '
';
$morehtmlref .= '
';
$morehtmlref .= $formproject->select_projects($object->socid, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1);
- $morehtmlref .= '
';
+ $morehtmlref .= '
';
$morehtmlref .= '';
} else {
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1);
diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php
index 42b8630bd3c..8510e6f3609 100644
--- a/htdocs/expedition/shipment.php
+++ b/htdocs/expedition/shipment.php
@@ -379,7 +379,7 @@ if ($id > 0 || !empty($ref)) {
print '
';
print '
';
print $form->selectDate($object->delivery_date ? $object->delivery_date : -1, 'liv_', 1, 1, '', "setdate_livraison", 1, 0);
- print '
';
+ print '
';
print '';
} else {
print dol_print_date($object->delivery_date, 'dayhour');
diff --git a/htdocs/fichinter/card-rec.php b/htdocs/fichinter/card-rec.php
index cc5c3c5e619..72a3fdd654b 100644
--- a/htdocs/fichinter/card-rec.php
+++ b/htdocs/fichinter/card-rec.php
@@ -601,7 +601,7 @@ if ($action == 'create') {
print '
';
print $form->selectarray('unit_frequency', array('d'=>$langs->trans('Day'), 'm'=>$langs->trans('Month'), 'y'=>$langs->trans('Year')), ($object->unit_frequency ? $object->unit_frequency : 'm'));
print '';
- print '
';
+ print '
';
print '';
} else {
if ($object->frequency > 0) {
diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php
index 243545dd14b..9f94b94ffc5 100644
--- a/htdocs/fichinter/card.php
+++ b/htdocs/fichinter/card.php
@@ -1491,7 +1491,7 @@ if ($action == 'create') {
}
print '';
- print '
';
+ print '
';
print '';
//Line extrafield
diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index 2b94f2622be..6f4a591e567 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -2189,7 +2189,7 @@ if ($action == 'create') {
$usehourmin = 1;
}
print $form->selectDate($object->delivery_date ? $object->delivery_date : -1, 'liv_', $usehourmin, $usehourmin, '', "setdate_livraison");
- print '
';
+ print '
';
print '';
} else {
$usehourmin = 'day';
@@ -2724,7 +2724,7 @@ if ($action == 'create') {
print '
'.$langs->trans("Password").' ';
//Submit button
print '
';
- print ' ';
+ print ' ';
print ' ';
//Cancel button
print ' ';
@@ -2843,7 +2843,7 @@ if ($action == 'create') {
if ($error_occurred) {
print " ".$langs->trans("ErrorOccurredReviseAndRetry")." ";
} else {
- print ' ';
+ print ' ';
print ' ';
}
print ' ';
diff --git a/htdocs/hrm/admin/admin_hrm.php b/htdocs/hrm/admin/admin_hrm.php
index 455035a6b53..810c0da870d 100644
--- a/htdocs/hrm/admin/admin_hrm.php
+++ b/htdocs/hrm/admin/admin_hrm.php
@@ -117,7 +117,7 @@ print "\n";
print dol_get_fiche_end();
-print '
';
+print '
';
print '';
diff --git a/htdocs/knowledgemanagement/core/modules/knowledgemanagement/mod_knowledgerecord_advanced.php b/htdocs/knowledgemanagement/core/modules/knowledgemanagement/mod_knowledgerecord_advanced.php
index 48efbfbc8eb..70cda7254c8 100644
--- a/htdocs/knowledgemanagement/core/modules/knowledgemanagement/mod_knowledgerecord_advanced.php
+++ b/htdocs/knowledgemanagement/core/modules/knowledgemanagement/mod_knowledgerecord_advanced.php
@@ -81,7 +81,7 @@ class mod_knowledgerecord_advanced extends ModeleNumRefKnowledgeRecord
$texte .= ' '.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '';
diff --git a/htdocs/loan/schedule.php b/htdocs/loan/schedule.php
index 67be217f0d2..6dae3383d47 100644
--- a/htdocs/loan/schedule.php
+++ b/htdocs/loan/schedule.php
@@ -335,7 +335,7 @@ if (count($echeances->lines) == 0) {
} else {
$label = $langs->trans("Save");
}
-print '
';
+print '
';
print '';
// End of page
diff --git a/htdocs/margin/admin/margin.php b/htdocs/margin/admin/margin.php
index 4df01332eb1..2c224678f60 100644
--- a/htdocs/margin/admin/margin.php
+++ b/htdocs/margin/admin/margin.php
@@ -140,7 +140,7 @@ print '/> ';
print $langs->trans('MargeType3');
print '';
print '
';
-print ' ';
+print ' ';
print ' ';
print '
'.$langs->trans('MarginTypeDesc');
print ' ';
@@ -215,7 +215,7 @@ print '
';
print Form::selectarray('MARGIN_METHODE_FOR_DISCOUNT', $methods, $conf->global->MARGIN_METHODE_FOR_DISCOUNT);
print ' ';
print '
';
-print ' ';
+print ' ';
print ' ';
print '
'.$langs->trans('MARGIN_METHODE_FOR_DISCOUNT_DETAILS').' ';
print '';
@@ -233,7 +233,7 @@ $facture = new Facture($db);
print $formcompany->selectTypeContact($facture, $conf->global->AGENT_CONTACT_TYPE, "AGENT_CONTACT_TYPE", "internal", "code", 1);
print '';
print '
';
-print ' ';
+print ' ';
print ' ';
print '
'.$langs->trans('AgentContactTypeDetails').' ';
print '';
diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php
index e705cd34021..db8bc85816e 100644
--- a/htdocs/modulebuilder/index.php
+++ b/htdocs/modulebuilder/index.php
@@ -2718,7 +2718,7 @@ if ($module == 'initmodule') {
print '
';
print '
';
print '
';
- print ' ';
+ print ' ';
print ' ';
// List of existing properties
diff --git a/htdocs/modulebuilder/template/core/modules/mymodule/doc/doc_generic_myobject_odt.modules.php b/htdocs/modulebuilder/template/core/modules/mymodule/doc/doc_generic_myobject_odt.modules.php
index f3228915592..4e154b5665d 100644
--- a/htdocs/modulebuilder/template/core/modules/mymodule/doc/doc_generic_myobject_odt.modules.php
+++ b/htdocs/modulebuilder/template/core/modules/mymodule/doc/doc_generic_myobject_odt.modules.php
@@ -158,7 +158,7 @@ class doc_generic_myobject_odt extends ModelePDFMyObject
$texte .= $conf->global->MYMODULE_MYOBJECT_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '
';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_advanced.php b/htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_advanced.php
index 72b46b96416..b7fd7085783 100644
--- a/htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_advanced.php
+++ b/htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_advanced.php
@@ -81,7 +81,7 @@ class mod_myobject_advanced extends ModeleNumRefMyObject
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php
index 7176d574dab..c88f0f44b48 100644
--- a/htdocs/mrp/class/mo.class.php
+++ b/htdocs/mrp/class/mo.class.php
@@ -97,7 +97,7 @@ class Mo extends CommonObject
* @var array Array with all fields and their property. Do not use it as a static var. It may be modified by constructor.
*/
public $fields = array(
- 'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'enabled'=>1, 'visible'=>-1, 'position'=>1, 'notnull'=>1, 'index'=>1, 'comment'=>"Id",),
+ 'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'enabled'=>1, 'visible'=>-2, 'position'=>1, 'notnull'=>1, 'index'=>1, 'comment'=>"Id",),
'entity' => array('type'=>'integer', 'label'=>'Entity', 'enabled'=>1, 'visible'=>0, 'position'=>5, 'notnull'=>1, 'default'=>'1', 'index'=>1),
'ref' => array('type'=>'varchar(128)', 'label'=>'Ref', 'enabled'=>1, 'visible'=>4, 'position'=>10, 'notnull'=>1, 'default'=>'(PROV)', 'index'=>1, 'searchall'=>1, 'comment'=>"Reference of object", 'showoncombobox'=>'1', 'noteditable'=>1),
'fk_bom' => array('type'=>'integer:Bom:bom/class/bom.class.php:0:t.status=1', 'filter'=>'active=1', 'label'=>'BOM', 'enabled'=>1, 'visible'=>1, 'position'=>33, 'notnull'=>-1, 'index'=>1, 'comment'=>"Original BOM", 'css'=>'minwidth100 maxwidth300', 'csslist'=>'nowraponall'),
diff --git a/htdocs/mrp/mo_production.php b/htdocs/mrp/mo_production.php
index ca9480eb1ae..678865805d7 100644
--- a/htdocs/mrp/mo_production.php
+++ b/htdocs/mrp/mo_production.php
@@ -661,7 +661,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
print ' ';
print $langs->trans("MovementLabel").': ';
print ' '.$langs->trans("AutoCloseMO").' ';
- print ' ';
+ print ' ';
print ' ';
print ' ';
print ' ';
diff --git a/htdocs/partnership/core/modules/partnership/mod_partnership_advanced.php b/htdocs/partnership/core/modules/partnership/mod_partnership_advanced.php
index a536bb59600..5d348843941 100644
--- a/htdocs/partnership/core/modules/partnership/mod_partnership_advanced.php
+++ b/htdocs/partnership/core/modules/partnership/mod_partnership_advanced.php
@@ -81,7 +81,7 @@ class mod_partnership_advanced extends ModeleNumRefPartnership
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/paybox/admin/paybox.php b/htdocs/paybox/admin/paybox.php
index a14729f30ef..bcad50de457 100644
--- a/htdocs/paybox/admin/paybox.php
+++ b/htdocs/paybox/admin/paybox.php
@@ -285,7 +285,7 @@ print '';
print dol_get_fiche_end();
-print '
';
+print $form->buttonsSaveCancel("Modify", '');
print '';
diff --git a/htdocs/paypal/admin/paypal.php b/htdocs/paypal/admin/paypal.php
index 46877f6db8a..f4edec7630c 100644
--- a/htdocs/paypal/admin/paypal.php
+++ b/htdocs/paypal/admin/paypal.php
@@ -333,7 +333,7 @@ print '';
print dol_get_fiche_end();
-print '
';
+print $form->buttonsSaveCancel("Modify", '');
print '';
diff --git a/htdocs/product/card.php b/htdocs/product/card.php
index 45d34f2d0e3..44c7fd9ca51 100644
--- a/htdocs/product/card.php
+++ b/htdocs/product/card.php
@@ -2607,7 +2607,7 @@ if (!empty($conf->global->PRODUCT_ADD_FORM_ADD_TO) && $object->id && ($action ==
print '';
print '';
- print ' ';
+ print ' ';
print '
';
print dol_get_fiche_end();
diff --git a/htdocs/product/class/propalmergepdfproduct.class.php b/htdocs/product/class/propalmergepdfproduct.class.php
index 99b7e7e188b..9663bea4756 100644
--- a/htdocs/product/class/propalmergepdfproduct.class.php
+++ b/htdocs/product/class/propalmergepdfproduct.class.php
@@ -233,7 +233,7 @@ class Propalmergepdfproduct extends CommonObject
$sql .= " FROM ".MAIN_DB_PREFIX."propal_merge_pdf_product as t";
$sql .= " WHERE t.fk_product = ".((int) $product_id);
- if ($conf->global->MAIN_MULTILANGS && !empty($lang)) {
+ if (!empty($conf->global->MAIN_MULTILANGS) && !empty($lang)) {
$sql .= " AND t.lang = '".$this->db->escape($lang)."'";
}
@@ -248,7 +248,7 @@ class Propalmergepdfproduct extends CommonObject
$line->fk_product = $obj->fk_product;
$line->file_name = $obj->file_name;
- if ($conf->global->MAIN_MULTILANGS) {
+ if (!empty($conf->global->MAIN_MULTILANGS)) {
$line->lang = $obj->lang;
}
$line->fk_user_author = $obj->fk_user_author;
@@ -258,7 +258,7 @@ class Propalmergepdfproduct extends CommonObject
$line->import_key = $obj->import_key;
- if ($conf->global->MAIN_MULTILANGS) {
+ if (!empty($conf->global->MAIN_MULTILANGS)) {
$this->lines[$obj->file_name.'_'.$obj->lang] = $line;
} else {
$this->lines[$obj->file_name] = $line;
diff --git a/htdocs/product/stock/massstockmove.php b/htdocs/product/stock/massstockmove.php
index 9f3390d34af..da8ef2e5b37 100644
--- a/htdocs/product/stock/massstockmove.php
+++ b/htdocs/product/stock/massstockmove.php
@@ -662,7 +662,7 @@ if (count($listofdata)) {
print ' ';
print ' ';
- print '
';
+ print '
';
print ' ';
print '';
diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php
index ba3011e3c0e..d5bf172f5b3 100644
--- a/htdocs/product/stock/replenish.php
+++ b/htdocs/product/stock/replenish.php
@@ -623,7 +623,7 @@ if (empty($reshook)) {
}
print '';
-print ' ';
+print ' ';
print '
';
print '';
@@ -958,7 +958,7 @@ print dol_get_fiche_end();
$value = $langs->trans("CreateOrders");
-print '
';
+print '
';
print '';
diff --git a/htdocs/product/stock/stockatdate.php b/htdocs/product/stock/stockatdate.php
index 83c57a4a81d..940acdb551d 100644
--- a/htdocs/product/stock/stockatdate.php
+++ b/htdocs/product/stock/stockatdate.php
@@ -373,7 +373,7 @@ if (empty($reshook)) {
}
print '';
-print ' ';
+print ' ';
print '
';
//print '';
diff --git a/htdocs/projet/admin/website.php b/htdocs/projet/admin/website.php
index 04acbaa44aa..893c3765736 100644
--- a/htdocs/projet/admin/website.php
+++ b/htdocs/projet/admin/website.php
@@ -134,7 +134,7 @@ if (!empty($conf->global->PROJECT_ENABLE_PUBLIC)) {
print '';
print '';
- print ' ';
+ print ' ';
print '
';
}
*/
diff --git a/htdocs/projet/tasks/contact.php b/htdocs/projet/tasks/contact.php
index 3aa5c3b8830..f693d0bf94a 100644
--- a/htdocs/projet/tasks/contact.php
+++ b/htdocs/projet/tasks/contact.php
@@ -407,7 +407,7 @@ if ($id > 0 || !empty($ref)) {
print '';
$formcompany->selectTypeContact($object, '', 'type', 'internal', 'rowid');
print ' ';
- print ' ';
+ print ' ';
print '';
// Line to add an external contact. Only if project linked to a third party.
diff --git a/htdocs/public/ticket/list.php b/htdocs/public/ticket/list.php
index 87b0a68ede3..3df9d33eb4a 100644
--- a/htdocs/public/ticket/list.php
+++ b/htdocs/public/ticket/list.php
@@ -710,7 +710,7 @@ if ($action == "view_ticketlist") {
print '';
print '';
- print ' ';
+ print ' ';
print "
\n";
print "\n";
diff --git a/htdocs/public/ticket/view.php b/htdocs/public/ticket/view.php
index 6485f9fcee2..1270ad6c0fa 100644
--- a/htdocs/public/ticket/view.php
+++ b/htdocs/public/ticket/view.php
@@ -395,7 +395,7 @@ if ($action == "view_ticket" || $action == "presend" || $action == "close" || $a
print '';
print '';
- print ' ';
+ print ' ';
print "
\n";
print "\n";
diff --git a/htdocs/reception/card.php b/htdocs/reception/card.php
index 68f314cdd03..3317288a4e1 100644
--- a/htdocs/reception/card.php
+++ b/htdocs/reception/card.php
@@ -1325,7 +1325,7 @@ if ($action == 'create') {
$morehtmlref .= ' ';
$morehtmlref .= ' ';
$morehtmlref .= $formproject->select_projects($object->socid, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1);
- $morehtmlref .= ' ';
+ $morehtmlref .= ' ';
$morehtmlref .= '';
} else {
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1);
@@ -1403,7 +1403,7 @@ if ($action == 'create') {
print ' ';
print ' ';
print $form->selectDate($object->date_delivery ? $object->date_delivery : -1, 'liv_', 1, 1, '', "setdate_livraison", 1, 0);
- print ' ';
+ print ' ';
print '';
} else {
print $object->date_delivery ? dol_print_date($object->date_delivery, 'dayhour') : ' ';
@@ -1540,7 +1540,7 @@ if ($action == 'create') {
if ($user->admin) {
print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
}
- print ' ';
+ print ' ';
print '';
} else {
if ($object->shipping_method_id > 0) {
diff --git a/htdocs/reception/contact.php b/htdocs/reception/contact.php
index 609cb0d12b7..ddc28c72896 100644
--- a/htdocs/reception/contact.php
+++ b/htdocs/reception/contact.php
@@ -160,7 +160,7 @@ if ($id > 0 || !empty($ref)) {
$morehtmlref .= ' ';
$morehtmlref .= ' ';
$morehtmlref .= $formproject->select_projects($object->socid, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1);
- $morehtmlref .= ' ';
+ $morehtmlref .= ' ';
$morehtmlref .= '';
} else {
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1);
diff --git a/htdocs/reception/note.php b/htdocs/reception/note.php
index 2c1eb55d7b3..bbf2c80be2f 100644
--- a/htdocs/reception/note.php
+++ b/htdocs/reception/note.php
@@ -137,7 +137,7 @@ if ($id > 0 || !empty($ref)) {
$morehtmlref .= ' ';
$morehtmlref .= ' ';
$morehtmlref .= $formproject->select_projects($object->socid, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1);
- $morehtmlref .= ' ';
+ $morehtmlref .= ' ';
$morehtmlref .= '';
} else {
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1);
diff --git a/htdocs/recruitment/admin/public_interface.php b/htdocs/recruitment/admin/public_interface.php
index 7b2d72cb835..01a79a87dd8 100644
--- a/htdocs/recruitment/admin/public_interface.php
+++ b/htdocs/recruitment/admin/public_interface.php
@@ -167,7 +167,7 @@ if (!empty($conf->global->RECRUITMENT_ENABLE_PUBLIC_INTERFACE)) {
print '';
print '';
- print ' ';
+ print ' ';
print '
';
}
*/
diff --git a/htdocs/recruitment/core/modules/recruitment/doc/doc_generic_recruitmentjobposition_odt.modules.php b/htdocs/recruitment/core/modules/recruitment/doc/doc_generic_recruitmentjobposition_odt.modules.php
index 06b24ec8b65..c037e11f8db 100644
--- a/htdocs/recruitment/core/modules/recruitment/doc/doc_generic_recruitmentjobposition_odt.modules.php
+++ b/htdocs/recruitment/core/modules/recruitment/doc/doc_generic_recruitmentjobposition_odt.modules.php
@@ -157,7 +157,7 @@ class doc_generic_recruitmentjobposition_odt extends ModelePDFRecruitmentJobPosi
$texte .= $conf->global->RECRUITMENT_RECRUITMENTJOBPOSITION_ADDON_PDF_ODT_PATH;
$texte .= '';
$texte .= '';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= '
';
// Scan directories
diff --git a/htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_advanced.php b/htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_advanced.php
index 35f5616da68..fcc476abacf 100644
--- a/htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_advanced.php
+++ b/htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_advanced.php
@@ -81,7 +81,7 @@ class mod_recruitmentjobposition_advanced extends ModeleNumRefRecruitmentJobPosi
$texte .= ''.$langs->trans("Mask").': ';
$texte .= ''.$form->textwithpicto(' ', $tooltip, 1, 1).' ';
- $texte .= ' ';
+ $texte .= ' ';
$texte .= ' ';
diff --git a/htdocs/salaries/admin/salaries.php b/htdocs/salaries/admin/salaries.php
index dc0cc5b14a0..f8ed3f3f7ce 100644
--- a/htdocs/salaries/admin/salaries.php
+++ b/htdocs/salaries/admin/salaries.php
@@ -133,7 +133,7 @@ print "\n";
//print dol_get_fiche_end();
-print '
';
+print '
';
print ' ';
diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php
index d9bffec142a..f5cd9cc8de7 100644
--- a/htdocs/societe/card.php
+++ b/htdocs/societe/card.php
@@ -2580,7 +2580,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
if ($action == 'editRE') {
print '';
$formcompany->select_localtax(1, $object->localtax1_value, "lt1");
- print ' ';
+ print ' ';
} else {
print ''.$object->localtax1_value.' ';
}
@@ -2594,7 +2594,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
if ($action == 'editIRPF') {
print '';
$formcompany->select_localtax(2, $object->localtax2_value, "lt2");
- print ' ';
+ print ' ';
} else {
print ''.$object->localtax2_value.' ';
}
@@ -2612,7 +2612,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
if ($action == 'editRE') {
print '';
$formcompany->select_localtax(1, $object->localtax1_value, "lt1");
- print ' ';
+ print ' ';
} else {
print ''.$object->localtax1_value.' ';
}
@@ -2630,7 +2630,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
if ($action == 'editIRPF') {
print '';
$formcompany->select_localtax(2, $object->localtax2_value, "lt2");
- print ' ';
+ print ' ';
} else {
print ''.$object->localtax2_value.' ';
}
diff --git a/htdocs/societe/notify/card.php b/htdocs/societe/notify/card.php
index d62ca943fb1..b52b8b4a650 100644
--- a/htdocs/societe/notify/card.php
+++ b/htdocs/societe/notify/card.php
@@ -288,7 +288,7 @@ if ($result > 0) {
$type = array('email'=>$langs->trans("EMail"));
print $form->selectarray("typeid", $type, '', 0, 0, 0, '', 0, 0, 0, '', 'minwidth75imp');
print '';
- print ' ';
+ print ' ';
print '';
} else {
print '';
diff --git a/htdocs/supplier_proposal/card.php b/htdocs/supplier_proposal/card.php
index 75cd0e9ccc0..8b2b473d2a1 100644
--- a/htdocs/supplier_proposal/card.php
+++ b/htdocs/supplier_proposal/card.php
@@ -1541,7 +1541,7 @@ if ($action == 'create') {
print ' ';
print ' ';
print $form->selectDate($object->delivery_date, 'liv_', '', '', '', "editdate_livraison");
- print ' ';
+ print ' ';
print '';
} else {
print dol_print_date($object->delivery_date, 'daytext');
diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php
index a7e491bd4c6..e2872004323 100644
--- a/htdocs/ticket/card.php
+++ b/htdocs/ticket/card.php
@@ -1020,7 +1020,7 @@ if ($action == 'create' || $action == 'presend') {
print ' ';
print ''.$langs->trans("AssignUser").' ';
print $form->select_dolusers($user->id, 'fk_user_assign', 1);
- print ' ';
+ print ' ';
print '';
}
print ' ';
@@ -1041,7 +1041,7 @@ if ($action == 'create' || $action == 'presend') {
print ' ';
print ' ';
print ' ';
- print ' ';
+ print ' ';
print '';
} else {
print($object->progress > 0 ? $object->progress : '0').'%';
@@ -1105,7 +1105,7 @@ if ($action == 'create' || $action == 'presend') {
print '';
print '';
if (GETPOST('set', 'alpha') == 'properties' && $user->rights->ticket->write) {
- print ' ';
+ print ' ';
} else {
// Button to edit Properties
if ($object->fk_statut < $object::STATUS_NEED_MORE_INFO && $user->rights->ticket->write) {
diff --git a/htdocs/ticket/class/actions_ticket.class.php b/htdocs/ticket/class/actions_ticket.class.php
index d7d971b4edc..643c2f34b11 100644
--- a/htdocs/ticket/class/actions_ticket.class.php
+++ b/htdocs/ticket/class/actions_ticket.class.php
@@ -233,7 +233,7 @@ class ActionsTicket
}
if (!empty($user->rights->ticket->manage) && $action == 'edit_message_init') {
print '';
- print ' ';
+ print ' ';
print ' ';
print '
';
}
diff --git a/htdocs/user/notify/card.php b/htdocs/user/notify/card.php
index 14067af9a08..5ff285972df 100644
--- a/htdocs/user/notify/card.php
+++ b/htdocs/user/notify/card.php
@@ -290,7 +290,7 @@ if ($result > 0) {
print $form->selectarray("typeid", $type);
print ' ';
print '';
- print ' ';
+ print ' ';
print ' ';
print ' ';
print ' ';
diff --git a/htdocs/website/index.php b/htdocs/website/index.php
index c80c09c7727..d8a479d5923 100644
--- a/htdocs/website/index.php
+++ b/htdocs/website/index.php
@@ -3542,7 +3542,7 @@ if ($action == 'createsite') {
if ($action == 'createsite') {
print '';
- print ' ';
+ print ' ';
print ' ';
print '
';
@@ -3980,7 +3980,7 @@ if ($action == 'editmeta' || $action == 'createcontainer') { // Edit properties
if ($action == 'createcontainer') {
print '';
- print ' ';
+ print ' ';
print ' ';
print '
';