diff --git a/build/dmg/dolimamp/install.forced.php b/build/dmg/dolimamp/install.forced.php
index da6238945ba..31d0b5ae685 100644
--- a/build/dmg/dolimamp/install.forced.php
+++ b/build/dmg/dolimamp/install.forced.php
@@ -14,4 +14,3 @@ $force_install_databaserootpass='root';
$force_install_dolibarrlogin='admin';
$force_install_nophpinfo='1';
$force_install_lockinstall='444';
-?>
\ No newline at end of file
diff --git a/dev/examples/create_invoice.php b/dev/examples/create_invoice.php
index 03bc03ac3d2..d59655ef613 100755
--- a/dev/examples/create_invoice.php
+++ b/dev/examples/create_invoice.php
@@ -115,4 +115,3 @@ else
$db->close();
return $error;
-?>
diff --git a/dev/skeletons/skeleton_class.class.php b/dev/skeletons/skeleton_class.class.php
index 072375c89d9..c36dad4b4b5 100644
--- a/dev/skeletons/skeleton_class.class.php
+++ b/dev/skeletons/skeleton_class.class.php
@@ -371,4 +371,3 @@ class Skeleton_Class extends CommonObject
}
}
-?>
diff --git a/dev/skeletons/skeleton_webservice_server.php b/dev/skeletons/skeleton_webservice_server.php
index dca2ae7a564..278057fd4f6 100644
--- a/dev/skeletons/skeleton_webservice_server.php
+++ b/dev/skeletons/skeleton_webservice_server.php
@@ -271,4 +271,3 @@ function createSkeleton($authentication,$skeleton)
// Return the results.
$server->service($HTTP_RAW_POST_DATA);
-?>
diff --git a/dev/translation/autotranslator.class.php b/dev/translation/autotranslator.class.php
index 288cda7101d..63a69c4b2ef 100644
--- a/dev/translation/autotranslator.class.php
+++ b/dev/translation/autotranslator.class.php
@@ -338,4 +338,3 @@ class autoTranslator
}
}
-?>
diff --git a/dev/translation/strip_language_file.php b/dev/translation/strip_language_file.php
index 62cb86c99eb..fc778770bb9 100755
--- a/dev/translation/strip_language_file.php
+++ b/dev/translation/strip_language_file.php
@@ -264,4 +264,3 @@ foreach($filesToProcess as $fileToProcess)
return 0;
-?>
diff --git a/htdocs/accountancy/class/accountancyaccount.class.php b/htdocs/accountancy/class/accountancyaccount.class.php
index 6190969abd3..229bc79ba41 100644
--- a/htdocs/accountancy/class/accountancyaccount.class.php
+++ b/htdocs/accountancy/class/accountancyaccount.class.php
@@ -93,4 +93,3 @@ class AccountancyAccount
}
}
-?>
diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php
index 4851c8bf82a..0fcedb8e96d 100644
--- a/htdocs/adherents/card_subscriptions.php
+++ b/htdocs/adherents/card_subscriptions.php
@@ -1101,4 +1101,3 @@ else
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/adherents/cartes/carte.php b/htdocs/adherents/cartes/carte.php
index ab964100c04..dbccbdb4f01 100644
--- a/htdocs/adherents/cartes/carte.php
+++ b/htdocs/adherents/cartes/carte.php
@@ -280,4 +280,3 @@ print '
';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/boxes.php b/htdocs/admin/boxes.php
index 5c2c8176842..d58a1576a31 100644
--- a/htdocs/admin/boxes.php
+++ b/htdocs/admin/boxes.php
@@ -468,4 +468,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/compta.php b/htdocs/admin/compta.php
index 2eee562f217..5c77149c0f0 100644
--- a/htdocs/admin/compta.php
+++ b/htdocs/admin/compta.php
@@ -170,4 +170,3 @@ print '
'.showModulesExludedForExte
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/orderdet_extrafields.php b/htdocs/admin/orderdet_extrafields.php
index a78ee9ea761..794cc1b890a 100644
--- a/htdocs/admin/orderdet_extrafields.php
+++ b/htdocs/admin/orderdet_extrafields.php
@@ -157,4 +157,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/osc-languages.php b/htdocs/admin/osc-languages.php
index 83446034f0d..804c72f2850 100644
--- a/htdocs/admin/osc-languages.php
+++ b/htdocs/admin/osc-languages.php
@@ -88,4 +88,3 @@ print "";
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/supplierorder_extrafields.php b/htdocs/admin/supplierorder_extrafields.php
index 0dc27149006..9cb2dc65880 100644
--- a/htdocs/admin/supplierorder_extrafields.php
+++ b/htdocs/admin/supplierorder_extrafields.php
@@ -156,4 +156,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php
index 3dae4273319..b69e8a4cacf 100644
--- a/htdocs/admin/syslog.php
+++ b/htdocs/admin/syslog.php
@@ -253,4 +253,3 @@ print "\n";
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/system/about.php b/htdocs/admin/system/about.php
index 1876c884d5d..e7490225107 100644
--- a/htdocs/admin/system/about.php
+++ b/htdocs/admin/system/about.php
@@ -133,14 +133,3 @@ print '';
llxFooter();
$db->close();
-?>
-
-
-
-
-
-
-
-
-
-
diff --git a/htdocs/admin/system/os.php b/htdocs/admin/system/os.php
index 35645345426..669e8d84be9 100644
--- a/htdocs/admin/system/os.php
+++ b/htdocs/admin/system/os.php
@@ -51,4 +51,3 @@ print '';
llxFooter();
-?>
diff --git a/htdocs/admin/system/phpinfo.php b/htdocs/admin/system/phpinfo.php
index bbb2c60e51f..22fecdfd524 100644
--- a/htdocs/admin/system/phpinfo.php
+++ b/htdocs/admin/system/phpinfo.php
@@ -120,4 +120,3 @@ foreach($phparray as $key => $value)
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/system/web.php b/htdocs/admin/system/web.php
index 159915ee456..6c2e36a3e8e 100644
--- a/htdocs/admin/system/web.php
+++ b/htdocs/admin/system/web.php
@@ -64,4 +64,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/tools/listsessions.php b/htdocs/admin/tools/listsessions.php
index 5f12b6c150f..cab2881ed16 100644
--- a/htdocs/admin/tools/listsessions.php
+++ b/htdocs/admin/tools/listsessions.php
@@ -214,4 +214,3 @@ print '
';
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/cashdesk/class/Auth.class.php b/htdocs/cashdesk/class/Auth.class.php
index ac8d58f93d1..33bbd094050 100644
--- a/htdocs/cashdesk/class/Auth.class.php
+++ b/htdocs/cashdesk/class/Auth.class.php
@@ -141,4 +141,3 @@ class Auth
}
-?>
\ No newline at end of file
diff --git a/htdocs/cashdesk/class/Facturation.class.php b/htdocs/cashdesk/class/Facturation.class.php
index 292252c2716..b2bb87a0bb2 100644
--- a/htdocs/cashdesk/class/Facturation.class.php
+++ b/htdocs/cashdesk/class/Facturation.class.php
@@ -653,4 +653,3 @@ class Facturation
}
-?>
diff --git a/htdocs/cashdesk/facturation_verif.php b/htdocs/cashdesk/facturation_verif.php
index 3b65d7dd132..42e1c00f651 100644
--- a/htdocs/cashdesk/facturation_verif.php
+++ b/htdocs/cashdesk/facturation_verif.php
@@ -166,4 +166,3 @@ $_SESSION['serObjFacturation'] = serialize($obj_facturation);
header('Location: '.$redirection);
exit;
-?>
diff --git a/htdocs/cashdesk/index_verif.php b/htdocs/cashdesk/index_verif.php
index 9f7e0332046..c96b4f2b6f1 100644
--- a/htdocs/cashdesk/index_verif.php
+++ b/htdocs/cashdesk/index_verif.php
@@ -142,4 +142,3 @@ else
exit;
}
-?>
\ No newline at end of file
diff --git a/htdocs/cashdesk/validation.php b/htdocs/cashdesk/validation.php
index d9cd286691c..289c864ca32 100644
--- a/htdocs/cashdesk/validation.php
+++ b/htdocs/cashdesk/validation.php
@@ -26,4 +26,3 @@ $form=new Form($db);
// Affichage des templates
require ('tpl/validation1.tpl.php');
-?>
diff --git a/htdocs/comm/contact.php b/htdocs/comm/contact.php
index 7f9d7ede440..279044ccf25 100644
--- a/htdocs/comm/contact.php
+++ b/htdocs/comm/contact.php
@@ -179,4 +179,3 @@ else
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php
index ccd318c93fb..d224c20bc97 100644
--- a/htdocs/comm/propal/document.php
+++ b/htdocs/comm/propal/document.php
@@ -142,4 +142,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/prospect/list.php b/htdocs/comm/prospect/list.php
index abd6564779f..58a384df6d0 100644
--- a/htdocs/comm/prospect/list.php
+++ b/htdocs/comm/prospect/list.php
@@ -466,4 +466,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/commande/contact.php b/htdocs/commande/contact.php
index 055d4a42787..e4b30a6e60d 100644
--- a/htdocs/commande/contact.php
+++ b/htdocs/commande/contact.php
@@ -224,4 +224,3 @@ if ($id > 0 || ! empty($ref))
$db->close();
llxFooter();
-?>
\ No newline at end of file
diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php
index 5c2d6812302..27690ae7093 100644
--- a/htdocs/compta/bank/account.php
+++ b/htdocs/compta/bank/account.php
@@ -855,4 +855,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/facture/admin/facturedet_cust_extrafields.php b/htdocs/compta/facture/admin/facturedet_cust_extrafields.php
index 5365cf2bee9..ccd208c7c6f 100644
--- a/htdocs/compta/facture/admin/facturedet_cust_extrafields.php
+++ b/htdocs/compta/facture/admin/facturedet_cust_extrafields.php
@@ -156,4 +156,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php
index 31a741d9dcf..60c47564743 100644
--- a/htdocs/compta/facture/document.php
+++ b/htdocs/compta/facture/document.php
@@ -166,4 +166,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/localtax/clients.php b/htdocs/compta/localtax/clients.php
index 097a89c3918..cc71b402060 100644
--- a/htdocs/compta/localtax/clients.php
+++ b/htdocs/compta/localtax/clients.php
@@ -310,4 +310,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/salaries/index.php b/htdocs/compta/salaries/index.php
index 5cee6ad4d82..c7ee207f853 100644
--- a/htdocs/compta/salaries/index.php
+++ b/htdocs/compta/salaries/index.php
@@ -179,4 +179,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php
index eba0f8633a8..4187de7136c 100644
--- a/htdocs/contact/class/contact.class.php
+++ b/htdocs/contact/class/contact.class.php
@@ -1094,4 +1094,3 @@ class Contact extends CommonObject
}
}
-?>
diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php
index 86462d05fae..92ba03e9861 100644
--- a/htdocs/contact/perso.php
+++ b/htdocs/contact/perso.php
@@ -249,4 +249,3 @@ if ($action != 'edit')
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contrat/info.php b/htdocs/contrat/info.php
index 8764c53eea5..234f986a00c 100644
--- a/htdocs/contrat/info.php
+++ b/htdocs/contrat/info.php
@@ -58,4 +58,3 @@ print '
';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/core/ajax/ajaxdirpreview.php b/htdocs/core/ajax/ajaxdirpreview.php
index 8759af8a719..d1a64f6b256 100644
--- a/htdocs/core/ajax/ajaxdirpreview.php
+++ b/htdocs/core/ajax/ajaxdirpreview.php
@@ -253,4 +253,3 @@ if ($section)
// Close db if mode is not noajax
if ((! isset($mode) || $mode != 'noajax') && is_object($db)) $db->close();
-?>
diff --git a/htdocs/core/ajax/bankconciliate.php b/htdocs/core/ajax/bankconciliate.php
index dc0e5f092dc..855709f48e2 100644
--- a/htdocs/core/ajax/bankconciliate.php
+++ b/htdocs/core/ajax/bankconciliate.php
@@ -71,4 +71,3 @@ if (($user->rights->banque->modifier || $user->rights->banque->consolidate) && $
exit;
}
-?>
diff --git a/htdocs/core/ajax/loadinplace.php b/htdocs/core/ajax/loadinplace.php
index 025e7e9cb48..69a0bbc72c7 100644
--- a/htdocs/core/ajax/loadinplace.php
+++ b/htdocs/core/ajax/loadinplace.php
@@ -115,4 +115,3 @@ if (! empty($field) && ! empty($element) && ! empty($table_element) && ! empty($
}
}
-?>
diff --git a/htdocs/core/boxes/box_actions.php b/htdocs/core/boxes/box_actions.php
index a1094a8274c..ff63927b526 100644
--- a/htdocs/core/boxes/box_actions.php
+++ b/htdocs/core/boxes/box_actions.php
@@ -156,4 +156,3 @@ class box_actions extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/class/antivir.class.php b/htdocs/core/class/antivir.class.php
index 1ea2dddd557..68241cb4d62 100644
--- a/htdocs/core/class/antivir.class.php
+++ b/htdocs/core/class/antivir.class.php
@@ -165,4 +165,3 @@ class AntiVir
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/class/canvas.class.php b/htdocs/core/class/canvas.class.php
index 31419e64e9d..f51056b2551 100644
--- a/htdocs/core/class/canvas.class.php
+++ b/htdocs/core/class/canvas.class.php
@@ -198,4 +198,3 @@ class Canvas
}
}
-?>
diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 73aa3742206..16cab849514 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -1184,4 +1184,3 @@ class FormFile
}
-?>
diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index 6567204232a..b99467c20f0 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -1164,4 +1164,3 @@ class FormOther
}
-?>
diff --git a/htdocs/core/class/rssparser.class.php b/htdocs/core/class/rssparser.class.php
index 06d26c94edf..80ca1b155b7 100644
--- a/htdocs/core/class/rssparser.class.php
+++ b/htdocs/core/class/rssparser.class.php
@@ -775,4 +775,3 @@ function xml2php($xml)
}
-?>
diff --git a/htdocs/core/filemanagerdol/connectors/php/basexml.php b/htdocs/core/filemanagerdol/connectors/php/basexml.php
index 84d2e04666a..439353b4e26 100644
--- a/htdocs/core/filemanagerdol/connectors/php/basexml.php
+++ b/htdocs/core/filemanagerdol/connectors/php/basexml.php
@@ -108,4 +108,3 @@ function SendErrorNode($number, $text)
else
echo '' ;
}
-?>
diff --git a/htdocs/core/lib/barcode.lib.php b/htdocs/core/lib/barcode.lib.php
index 83d161a20a0..bc0422a5fb4 100644
--- a/htdocs/core/lib/barcode.lib.php
+++ b/htdocs/core/lib/barcode.lib.php
@@ -416,4 +416,3 @@ function barcode_outimage($text, $bars, $scale = 1, $mode = "png", $total_y = 0,
}
}
-?>
diff --git a/htdocs/core/lib/contract.lib.php b/htdocs/core/lib/contract.lib.php
index 37ab1f7881f..1086d4dcd14 100644
--- a/htdocs/core/lib/contract.lib.php
+++ b/htdocs/core/lib/contract.lib.php
@@ -119,4 +119,3 @@ function contract_admin_prepare_head()
return $head;
}
-?>
diff --git a/htdocs/core/lib/fichinter.lib.php b/htdocs/core/lib/fichinter.lib.php
index b25bfe808f2..01d79cdcabe 100644
--- a/htdocs/core/lib/fichinter.lib.php
+++ b/htdocs/core/lib/fichinter.lib.php
@@ -134,4 +134,3 @@ function fichinter_admin_prepare_head()
}
-?>
diff --git a/htdocs/core/lib/fourn.lib.php b/htdocs/core/lib/fourn.lib.php
index a6981be8355..171eda67a90 100644
--- a/htdocs/core/lib/fourn.lib.php
+++ b/htdocs/core/lib/fourn.lib.php
@@ -198,4 +198,3 @@ function supplierorder_admin_prepare_head($object)
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index 91544d83485..a8609af05bd 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -4589,4 +4589,3 @@ function natural_search($fields, $value)
return " AND " . ($end > 1? '(' : '') . $res;
}
-?>
diff --git a/htdocs/core/lib/invoice2.lib.php b/htdocs/core/lib/invoice2.lib.php
index 5eed1e8e2df..9309d083187 100644
--- a/htdocs/core/lib/invoice2.lib.php
+++ b/htdocs/core/lib/invoice2.lib.php
@@ -286,4 +286,3 @@ function rebuild_merge_pdf($db, $langs, $conf, $diroutputpdf, $newlangid, $filte
else return $result;
}
-?>
diff --git a/htdocs/core/lib/mailmanspip.lib.php b/htdocs/core/lib/mailmanspip.lib.php
index eb57f4b6163..ce7f2927630 100644
--- a/htdocs/core/lib/mailmanspip.lib.php
+++ b/htdocs/core/lib/mailmanspip.lib.php
@@ -44,4 +44,3 @@ function mailmanspip_admin_prepare_head()
);
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/lib/member.lib.php b/htdocs/core/lib/member.lib.php
index 655efe5b61b..67b6794f3a3 100644
--- a/htdocs/core/lib/member.lib.php
+++ b/htdocs/core/lib/member.lib.php
@@ -205,4 +205,3 @@ function member_stats_prepare_head($object)
return $head;
}
-?>
diff --git a/htdocs/core/lib/tax.lib.php b/htdocs/core/lib/tax.lib.php
index 35165597cff..a52aeb37345 100644
--- a/htdocs/core/lib/tax.lib.php
+++ b/htdocs/core/lib/tax.lib.php
@@ -588,4 +588,3 @@ function vat_by_date($db, $y, $q, $date_start, $date_end, $modetax, $direction,
return $list;
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/lib/treeview.lib.php b/htdocs/core/lib/treeview.lib.php
index 54093976a68..1bbf2e55e27 100644
--- a/htdocs/core/lib/treeview.lib.php
+++ b/htdocs/core/lib/treeview.lib.php
@@ -165,4 +165,3 @@ function tree_recur($tab, $pere, $rang, $iddivjstree='iddivjstree')
if (empty($pere['rowid'])) print '';
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php b/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php
index 7b2b099b67c..96214f08d66 100644
--- a/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php
+++ b/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php
@@ -403,4 +403,3 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
}
-?>
diff --git a/htdocs/core/modules/commande/modules_commande.php b/htdocs/core/modules/commande/modules_commande.php
index 5ddcc38e8d9..1146b1cc181 100644
--- a/htdocs/core/modules/commande/modules_commande.php
+++ b/htdocs/core/modules/commande/modules_commande.php
@@ -256,4 +256,3 @@ function commande_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0
return -1;
}
}
-?>
diff --git a/htdocs/core/modules/contract/mod_contract_serpis.php b/htdocs/core/modules/contract/mod_contract_serpis.php
index a595fb5f59c..a07f3261133 100644
--- a/htdocs/core/modules/contract/mod_contract_serpis.php
+++ b/htdocs/core/modules/contract/mod_contract_serpis.php
@@ -144,4 +144,3 @@ class mod_contract_serpis extends ModelNumRefContracts
}
}
-?>
diff --git a/htdocs/core/modules/expedition/mod_expedition_safor.php b/htdocs/core/modules/expedition/mod_expedition_safor.php
index 5fb3db1ddfe..ba779658051 100644
--- a/htdocs/core/modules/expedition/mod_expedition_safor.php
+++ b/htdocs/core/modules/expedition/mod_expedition_safor.php
@@ -143,4 +143,3 @@ class mod_expedition_safor extends ModelNumRefExpedition
}
}
-?>
diff --git a/htdocs/core/modules/facture/mod_facture_terre.php b/htdocs/core/modules/facture/mod_facture_terre.php
index 220df75dc72..9a8b5feaed7 100644
--- a/htdocs/core/modules/facture/mod_facture_terre.php
+++ b/htdocs/core/modules/facture/mod_facture_terre.php
@@ -224,4 +224,3 @@ class mod_facture_terre extends ModeleNumRefFactures
}
-?>
diff --git a/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php b/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php
index 5e7c2141a0f..f2055e8d643 100644
--- a/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php
+++ b/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php
@@ -600,4 +600,3 @@ class pdf_soleil extends ModelePDFFicheinter
}
-?>
diff --git a/htdocs/core/modules/fichinter/mod_pacific.php b/htdocs/core/modules/fichinter/mod_pacific.php
index 3d0b15d0d09..65e5aa979b9 100644
--- a/htdocs/core/modules/fichinter/mod_pacific.php
+++ b/htdocs/core/modules/fichinter/mod_pacific.php
@@ -145,4 +145,3 @@ class mod_pacific extends ModeleNumRefFicheinter
}
-?>
diff --git a/htdocs/core/modules/modImport.class.php b/htdocs/core/modules/modImport.class.php
index cc05e0eba5e..3a371ecf2e7 100644
--- a/htdocs/core/modules/modImport.class.php
+++ b/htdocs/core/modules/modImport.class.php
@@ -117,4 +117,3 @@ class modImport extends DolibarrModules
}
}
-?>
diff --git a/htdocs/core/modules/modNotification.class.php b/htdocs/core/modules/modNotification.class.php
index 6a5fb72c953..78e939f4048 100644
--- a/htdocs/core/modules/modNotification.class.php
+++ b/htdocs/core/modules/modNotification.class.php
@@ -107,4 +107,3 @@ class modNotification extends DolibarrModules
}
}
-?>
diff --git a/htdocs/core/modules/modPaypal.class.php b/htdocs/core/modules/modPaypal.class.php
index 1e3645745da..8c1e0fe4797 100644
--- a/htdocs/core/modules/modPaypal.class.php
+++ b/htdocs/core/modules/modPaypal.class.php
@@ -199,4 +199,3 @@ class modPaypal extends DolibarrModules
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/modules/modPrelevement.class.php b/htdocs/core/modules/modPrelevement.class.php
index 21feb8c4a37..7bb5e748037 100644
--- a/htdocs/core/modules/modPrelevement.class.php
+++ b/htdocs/core/modules/modPrelevement.class.php
@@ -158,4 +158,3 @@ class modPrelevement extends DolibarrModules
}
}
-?>
diff --git a/htdocs/core/modules/product/mod_codeproduct_elephant.php b/htdocs/core/modules/product/mod_codeproduct_elephant.php
index ea0b6144c91..3ab5fdb9e09 100644
--- a/htdocs/core/modules/product/mod_codeproduct_elephant.php
+++ b/htdocs/core/modules/product/mod_codeproduct_elephant.php
@@ -301,4 +301,3 @@ class mod_codeproduct_elephant extends ModeleProductCode
}
-?>
diff --git a/htdocs/core/modules/project/modules_project.php b/htdocs/core/modules/project/modules_project.php
index 6aae57c34d5..2595485eac1 100644
--- a/htdocs/core/modules/project/modules_project.php
+++ b/htdocs/core/modules/project/modules_project.php
@@ -247,4 +247,3 @@ function project_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0,
}
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/modules/project/pdf/doc_generic_project_odt.modules.php b/htdocs/core/modules/project/pdf/doc_generic_project_odt.modules.php
index 9525639dd9c..75b06755b80 100644
--- a/htdocs/core/modules/project/pdf/doc_generic_project_odt.modules.php
+++ b/htdocs/core/modules/project/pdf/doc_generic_project_odt.modules.php
@@ -1037,4 +1037,3 @@ class doc_generic_project_odt extends ModelePDFProjects
}
}
-?>
diff --git a/htdocs/core/modules/project/task/modules_task.php b/htdocs/core/modules/project/task/modules_task.php
index f9d10f90534..8aacc535b7e 100644
--- a/htdocs/core/modules/project/task/modules_task.php
+++ b/htdocs/core/modules/project/task/modules_task.php
@@ -248,4 +248,3 @@ function task_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0, $h
}
}
-?>
diff --git a/htdocs/core/modules/supplier_order/modules_commandefournisseur.php b/htdocs/core/modules/supplier_order/modules_commandefournisseur.php
index 50982a8b1c7..f7e6b75adc2 100644
--- a/htdocs/core/modules/supplier_order/modules_commandefournisseur.php
+++ b/htdocs/core/modules/supplier_order/modules_commandefournisseur.php
@@ -258,4 +258,3 @@ function supplier_order_pdf_create($db, $object, $modele, $outputlangs, $hidedet
}
}
-?>
diff --git a/htdocs/expedition/contact.php b/htdocs/expedition/contact.php
index 6cfd835925d..facca267160 100644
--- a/htdocs/expedition/contact.php
+++ b/htdocs/expedition/contact.php
@@ -252,4 +252,3 @@ if ($id > 0 || ! empty($ref))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php
index f208c82b5d2..1fd33b29c53 100644
--- a/htdocs/expedition/fiche.php
+++ b/htdocs/expedition/fiche.php
@@ -1688,4 +1688,3 @@ else if ($id || $ref)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php
index de0a8fe28a1..9b15d36ffe9 100644
--- a/htdocs/install/upgrade.php
+++ b/htdocs/install/upgrade.php
@@ -444,4 +444,3 @@ if ($db->connected) $db->close();
// Return code if ran from command line
if ($ret) exit($ret);
-?>
diff --git a/htdocs/livraison/fiche.php b/htdocs/livraison/fiche.php
index 49049a20783..c3b7e7da1c7 100644
--- a/htdocs/livraison/fiche.php
+++ b/htdocs/livraison/fiche.php
@@ -807,4 +807,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/master.inc.php b/htdocs/master.inc.php
index da7642e8df4..5d9babd0e89 100644
--- a/htdocs/master.inc.php
+++ b/htdocs/master.inc.php
@@ -247,4 +247,3 @@ if (! defined('MAIN_LABEL_MENTION_NPR') ) define('MAIN_LABEL_MENTION_NPR','NPR')
// We force FPDF
if (! empty($dolibarr_pdf_force_fpdf)) $conf->global->MAIN_USE_FPDF=$dolibarr_pdf_force_fpdf;
-?>
diff --git a/htdocs/opensurvey/class/opensurveysondage.class.php b/htdocs/opensurvey/class/opensurveysondage.class.php
index c98993526f5..37c04e50a29 100644
--- a/htdocs/opensurvey/class/opensurveysondage.class.php
+++ b/htdocs/opensurvey/class/opensurveysondage.class.php
@@ -519,4 +519,3 @@ class Opensurveysondage extends CommonObject
$this->sujet = trim($this->sujet);
}
}
-?>
diff --git a/htdocs/opensurvey/list.php b/htdocs/opensurvey/list.php
index 4b0ca196639..d7cdaae62ac 100644
--- a/htdocs/opensurvey/list.php
+++ b/htdocs/opensurvey/list.php
@@ -193,4 +193,3 @@ print ''."\n";
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/opensurvey/public/studs.php b/htdocs/opensurvey/public/studs.php
index bd0ff34073e..01bb969df20 100644
--- a/htdocs/opensurvey/public/studs.php
+++ b/htdocs/opensurvey/public/studs.php
@@ -741,4 +741,3 @@ print ''."\n";
llxFooterSurvey();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/opensurvey/wizard/choix_date.php b/htdocs/opensurvey/wizard/choix_date.php
index a7f788250eb..6e10e10778a 100644
--- a/htdocs/opensurvey/wizard/choix_date.php
+++ b/htdocs/opensurvey/wizard/choix_date.php
@@ -555,4 +555,3 @@ print ''."\n";
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/opensurvey/wizard/create_survey.php b/htdocs/opensurvey/wizard/create_survey.php
index a1e08f25632..b63536247f5 100644
--- a/htdocs/opensurvey/wizard/create_survey.php
+++ b/htdocs/opensurvey/wizard/create_survey.php
@@ -199,4 +199,3 @@ print ''."\n";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/paypal/admin/paypal.php b/htdocs/paypal/admin/paypal.php
index 89664230492..69b0664eb9d 100644
--- a/htdocs/paypal/admin/paypal.php
+++ b/htdocs/paypal/admin/paypal.php
@@ -386,4 +386,3 @@ if (! empty($conf->use_javascript_ajax))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/product/document.php b/htdocs/product/document.php
index 0f88d80d34b..3e5417ae9e8 100644
--- a/htdocs/product/document.php
+++ b/htdocs/product/document.php
@@ -153,4 +153,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/product/stats/facture_fournisseur.php b/htdocs/product/stats/facture_fournisseur.php
index fcf03068935..2a06c30a496 100644
--- a/htdocs/product/stats/facture_fournisseur.php
+++ b/htdocs/product/stats/facture_fournisseur.php
@@ -199,4 +199,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/product/stats/propal.php b/htdocs/product/stats/propal.php
index 05be133ac00..a55673c62b0 100644
--- a/htdocs/product/stats/propal.php
+++ b/htdocs/product/stats/propal.php
@@ -186,4 +186,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php
index 00716b9df01..1498b12a033 100644
--- a/htdocs/product/stock/mouvement.php
+++ b/htdocs/product/stock/mouvement.php
@@ -569,4 +569,3 @@ llxFooter();
$db->close();
-?>
diff --git a/htdocs/product/stock/valo.php b/htdocs/product/stock/valo.php
index e2899e4e465..17e23fef009 100644
--- a/htdocs/product/stock/valo.php
+++ b/htdocs/product/stock/valo.php
@@ -162,4 +162,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/projet/activity/index.php b/htdocs/projet/activity/index.php
index 1a2f6603d1d..218e165a195 100644
--- a/htdocs/projet/activity/index.php
+++ b/htdocs/projet/activity/index.php
@@ -335,4 +335,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/projet/admin/project_extrafields.php b/htdocs/projet/admin/project_extrafields.php
index 9ed4381103a..5707c6be640 100644
--- a/htdocs/projet/admin/project_extrafields.php
+++ b/htdocs/projet/admin/project_extrafields.php
@@ -150,4 +150,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/projet/document.php b/htdocs/projet/document.php
index c652c591ff7..d40682d7ce6 100644
--- a/htdocs/projet/document.php
+++ b/htdocs/projet/document.php
@@ -157,4 +157,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/projet/jsgantt_language.js.php b/htdocs/projet/jsgantt_language.js.php
index d7135e9ca0d..16b89fbebb3 100644
--- a/htdocs/projet/jsgantt_language.js.php
+++ b/htdocs/projet/jsgantt_language.js.php
@@ -73,4 +73,3 @@ i18n["Period"] = "transnoentities("Period") ?>";
close();
-?>
diff --git a/htdocs/public/emailing/mailing-unsubscribe.php b/htdocs/public/emailing/mailing-unsubscribe.php
index ec95078808c..0b11ec3642b 100644
--- a/htdocs/public/emailing/mailing-unsubscribe.php
+++ b/htdocs/public/emailing/mailing-unsubscribe.php
@@ -124,4 +124,3 @@ if (! empty($tag) && ($unsuscrib=='1'))
}
$db->close();
-?>
diff --git a/htdocs/public/paybox/index.php b/htdocs/public/paybox/index.php
index 08cbbd48176..0b7ad1c82e4 100644
--- a/htdocs/public/paybox/index.php
+++ b/htdocs/public/paybox/index.php
@@ -26,4 +26,3 @@ require '../../master.inc.php';
header("Location: ".DOL_URL_ROOT.'/public/error-404.php');
-?>
diff --git a/htdocs/resource/add.php b/htdocs/resource/add.php
index 5b127204185..fde152b6185 100755
--- a/htdocs/resource/add.php
+++ b/htdocs/resource/add.php
@@ -172,4 +172,3 @@ if ( !$action )
// End of page
llxFooter();
$db->close();
-?>
diff --git a/htdocs/resource/card.php b/htdocs/resource/card.php
index 1ecf827fe39..38562557e3a 100755
--- a/htdocs/resource/card.php
+++ b/htdocs/resource/card.php
@@ -249,4 +249,3 @@ else {
// End of page
llxFooter();
$db->close();
-?>
diff --git a/htdocs/resource/class/html.formresource.class.php b/htdocs/resource/class/html.formresource.class.php
index cdeb11950eb..f618581aecd 100644
--- a/htdocs/resource/class/html.formresource.class.php
+++ b/htdocs/resource/class/html.formresource.class.php
@@ -201,4 +201,3 @@ class FormResource
}
-?>
diff --git a/htdocs/resource/class/resource.class.php b/htdocs/resource/class/resource.class.php
index 6b3f0d6d6ee..6edeef201fb 100644
--- a/htdocs/resource/class/resource.class.php
+++ b/htdocs/resource/class/resource.class.php
@@ -894,4 +894,3 @@ class Resource extends CommonObject
return $result;
}
}
-?>
diff --git a/htdocs/societe/ajaxcountries.php b/htdocs/societe/ajaxcountries.php
index 6b23b3290ce..78018a22035 100644
--- a/htdocs/societe/ajaxcountries.php
+++ b/htdocs/societe/ajaxcountries.php
@@ -76,4 +76,3 @@ if (! empty($country))
}
}
-?>
\ No newline at end of file
diff --git a/htdocs/societe/canvas/individual/actions_card_individual.class.php b/htdocs/societe/canvas/individual/actions_card_individual.class.php
index d64adde4cb6..b8cb94a820b 100644
--- a/htdocs/societe/canvas/individual/actions_card_individual.class.php
+++ b/htdocs/societe/canvas/individual/actions_card_individual.class.php
@@ -141,4 +141,3 @@ class ActionsCardIndividual extends ActionsCardCommon
}
-?>
\ No newline at end of file
diff --git a/htdocs/societe/checkvat/checkVatPopup.php b/htdocs/societe/checkvat/checkVatPopup.php
index 0fb2da5a053..20c9068d4f6 100644
--- a/htdocs/societe/checkvat/checkVatPopup.php
+++ b/htdocs/societe/checkvat/checkVatPopup.php
@@ -169,4 +169,3 @@ if ($messagetoshow)
llxFooter();
-?>
diff --git a/htdocs/societe/class/client.class.php b/htdocs/societe/class/client.class.php
index 7c11b074e3b..27209c05abd 100644
--- a/htdocs/societe/class/client.class.php
+++ b/htdocs/societe/class/client.class.php
@@ -86,4 +86,3 @@ class Client extends Societe
}
}
-?>
diff --git a/htdocs/societe/notify/fiche.php b/htdocs/societe/notify/fiche.php
index 04210617d3d..198739398a2 100644
--- a/htdocs/societe/notify/fiche.php
+++ b/htdocs/societe/notify/fiche.php
@@ -406,4 +406,3 @@ $db->close();
llxFooter();
-?>
diff --git a/htdocs/support/inc.php b/htdocs/support/inc.php
index 921a64963bf..58b9de1d38c 100644
--- a/htdocs/support/inc.php
+++ b/htdocs/support/inc.php
@@ -239,4 +239,3 @@ function pFooter($nonext=0,$setuplang='')
print '