diff --git a/build/aps/configure.php b/build/aps/configure.php
index 996d617bd07..f4bd03b5d9e 100755
--- a/build/aps/configure.php
+++ b/build/aps/configure.php
@@ -149,4 +149,3 @@ function php_quote($val)
return $res_val;
}
-?>
\ No newline at end of file
diff --git a/dev/examples/create_order.php b/dev/examples/create_order.php
index f399b5e8cb3..d490d230b77 100755
--- a/dev/examples/create_order.php
+++ b/dev/examples/create_order.php
@@ -113,4 +113,3 @@ else
$db->close();
return $error;
-?>
diff --git a/dev/examples/create_product.php b/dev/examples/create_product.php
index 53215275fc2..8fe36260c98 100755
--- a/dev/examples/create_product.php
+++ b/dev/examples/create_product.php
@@ -105,4 +105,3 @@ else
$db->close();
return $error;
-?>
diff --git a/dev/examples/create_user.php b/dev/examples/create_user.php
index a2161ad1cc0..d6126af2cba 100755
--- a/dev/examples/create_user.php
+++ b/dev/examples/create_user.php
@@ -107,4 +107,3 @@ else
$db->close();
return $error;
-?>
diff --git a/dev/examples/get_contracts.php b/dev/examples/get_contracts.php
index 0706516e762..ddfeccb5677 100755
--- a/dev/examples/get_contracts.php
+++ b/dev/examples/get_contracts.php
@@ -81,4 +81,3 @@ print_r($listofcontractsforcompany);
$db->close();
return $error;
-?>
diff --git a/dev/initdata/generate-commande.php b/dev/initdata/generate-commande.php
index 7057550e3d7..967143ab4a5 100755
--- a/dev/initdata/generate-commande.php
+++ b/dev/initdata/generate-commande.php
@@ -212,4 +212,3 @@ for ($s = 0 ; $s < GEN_NUMBER_COMMANDE ; $s++)
}
}
-?>
diff --git a/dev/initdata/generate-facture.php b/dev/initdata/generate-facture.php
index 5de15dce3a1..0316671d62b 100755
--- a/dev/initdata/generate-facture.php
+++ b/dev/initdata/generate-facture.php
@@ -135,4 +135,3 @@ while ($i < GEN_NUMBER_FACTURE && $result >= 0)
}
-?>
diff --git a/dev/initdata/generate-produit.php b/dev/initdata/generate-produit.php
index 9ec7ebdc54b..d712c36e1e9 100755
--- a/dev/initdata/generate-produit.php
+++ b/dev/initdata/generate-produit.php
@@ -98,4 +98,3 @@ for ($s = 0 ; $s < GEN_NUMBER_PRODUIT ; $s++)
}
-?>
diff --git a/dev/initdata/generate-propale.php b/dev/initdata/generate-propale.php
index 6d9db265b37..a62df516481 100755
--- a/dev/initdata/generate-propale.php
+++ b/dev/initdata/generate-propale.php
@@ -161,4 +161,3 @@ while ($i < GEN_NUMBER_PROPAL && $result >= 0)
}
-?>
diff --git a/dev/initdata/generate-societe.php b/dev/initdata/generate-societe.php
index 2642750eb8a..c0c512db636 100755
--- a/dev/initdata/generate-societe.php
+++ b/dev/initdata/generate-societe.php
@@ -129,4 +129,3 @@ for ($s = 0 ; $s < GEN_NUMBER_SOCIETE ; $s++)
}
-?>
diff --git a/dev/skeletons/build_class_from_table.php b/dev/skeletons/build_class_from_table.php
index cae093ef89f..6acbc1feb35 100755
--- a/dev/skeletons/build_class_from_table.php
+++ b/dev/skeletons/build_class_from_table.php
@@ -470,4 +470,3 @@ else $error++;
print "You can now rename generated files by removing the 'out.' prefix in their name and store them into directory /yourmodule/class.\n";
return $error;
-?>
diff --git a/dev/skeletons/build_webservice_from_class.php b/dev/skeletons/build_webservice_from_class.php
index 8d91912b6de..ee8772a8a44 100644
--- a/dev/skeletons/build_webservice_from_class.php
+++ b/dev/skeletons/build_webservice_from_class.php
@@ -177,4 +177,3 @@ else $error++;
print "You must rename files by removing the 'out.' prefix in their name.\n";
return $error;
-?>
diff --git a/dev/skeletons/modMyModule.class.php b/dev/skeletons/modMyModule.class.php
index eb7ab10f365..b5001f9a4ac 100644
--- a/dev/skeletons/modMyModule.class.php
+++ b/dev/skeletons/modMyModule.class.php
@@ -269,4 +269,3 @@ class modMyModule extends DolibarrModules
}
-?>
\ No newline at end of file
diff --git a/dev/skeletons/skeleton_page.php b/dev/skeletons/skeleton_page.php
index 32c610aff96..bf63a769af7 100644
--- a/dev/skeletons/skeleton_page.php
+++ b/dev/skeletons/skeleton_page.php
@@ -176,4 +176,3 @@ if ($action == 'list')
// End of page
llxFooter();
$db->close();
-?>
diff --git a/dev/skeletons/skeleton_script.php b/dev/skeletons/skeleton_script.php
index 4f8eb20cb6b..b10b57a730a 100644
--- a/dev/skeletons/skeleton_script.php
+++ b/dev/skeletons/skeleton_script.php
@@ -164,4 +164,3 @@ else
$db->close(); // Close $db database opened handler
exit($error);
-?>
\ No newline at end of file
diff --git a/dev/test/testutf.php b/dev/test/testutf.php
index 327cc98bd8e..5812b0c8639 100644
--- a/dev/test/testutf.php
+++ b/dev/test/testutf.php
@@ -105,4 +105,3 @@ $pdf->Output('example.pdf', 'F');
//============================================================+
// END OF FILE
//============================================================+
-?>
\ No newline at end of file
diff --git a/dev/translation/autotranslator.php b/dev/translation/autotranslator.php
index 85606d5399f..7fe21adfd73 100755
--- a/dev/translation/autotranslator.php
+++ b/dev/translation/autotranslator.php
@@ -99,4 +99,3 @@ print "***** Finished *****\n";
$db->close();
return $error;
-?>
\ No newline at end of file
diff --git a/htdocs/accountancy/class/accountancysystem.class.php b/htdocs/accountancy/class/accountancysystem.class.php
index 0ff01eb9aaf..4d81a94985b 100644
--- a/htdocs/accountancy/class/accountancysystem.class.php
+++ b/htdocs/accountancy/class/accountancysystem.class.php
@@ -92,4 +92,3 @@ class AccountancySystem
}
}
-?>
diff --git a/htdocs/adherents/admin/adherent.php b/htdocs/adherents/admin/adherent.php
index f285d9a8a3a..0a251536ff6 100644
--- a/htdocs/adherents/admin/adherent.php
+++ b/htdocs/adherents/admin/adherent.php
@@ -295,4 +295,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/admin/adherent_extrafields.php b/htdocs/adherents/admin/adherent_extrafields.php
index d3ed3fb084c..059e42d50f5 100644
--- a/htdocs/adherents/admin/adherent_extrafields.php
+++ b/htdocs/adherents/admin/adherent_extrafields.php
@@ -149,4 +149,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/admin/adherent_type_extrafields.php b/htdocs/adherents/admin/adherent_type_extrafields.php
index 49ffe022edd..dca8796b681 100644
--- a/htdocs/adherents/admin/adherent_type_extrafields.php
+++ b/htdocs/adherents/admin/adherent_type_extrafields.php
@@ -152,4 +152,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/admin/public.php b/htdocs/adherents/admin/public.php
index 9a1fceb9b4e..8a520a55c4e 100644
--- a/htdocs/adherents/admin/public.php
+++ b/htdocs/adherents/admin/public.php
@@ -231,4 +231,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/agenda.php b/htdocs/adherents/agenda.php
index f6646f33349..f1a18c5e4bf 100644
--- a/htdocs/adherents/agenda.php
+++ b/htdocs/adherents/agenda.php
@@ -160,4 +160,3 @@ if ($object->id > 0)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/canvas/actions_adherentcard_common.class.php b/htdocs/adherents/canvas/actions_adherentcard_common.class.php
index 3d90fd3b79a..269e5389eee 100644
--- a/htdocs/adherents/canvas/actions_adherentcard_common.class.php
+++ b/htdocs/adherents/canvas/actions_adherentcard_common.class.php
@@ -429,4 +429,3 @@ abstract class ActionsAdherentCardCommon
}
-?>
diff --git a/htdocs/adherents/canvas/default/actions_adherentcard_default.class.php b/htdocs/adherents/canvas/default/actions_adherentcard_default.class.php
index 8e3238a7a96..dad66600d0e 100644
--- a/htdocs/adherents/canvas/default/actions_adherentcard_default.class.php
+++ b/htdocs/adherents/canvas/default/actions_adherentcard_default.class.php
@@ -145,4 +145,3 @@ class ActionsAdherentCardDefault extends ActionsAdherentCardCommon
}
}
-?>
\ No newline at end of file
diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php
index c7943ff26b2..db144b482b6 100644
--- a/htdocs/adherents/class/adherent.class.php
+++ b/htdocs/adherents/class/adherent.class.php
@@ -1944,4 +1944,3 @@ class Adherent extends CommonObject
}
}
-?>
diff --git a/htdocs/adherents/class/adherent_type.class.php b/htdocs/adherents/class/adherent_type.class.php
index 69515671080..66f7508fa20 100644
--- a/htdocs/adherents/class/adherent_type.class.php
+++ b/htdocs/adherents/class/adherent_type.class.php
@@ -336,4 +336,3 @@ class AdherentType extends CommonObject
}
}
}
-?>
diff --git a/htdocs/adherents/class/adherentstats.class.php b/htdocs/adherents/class/adherentstats.class.php
index 2c6afcfa7fc..24a56d5e7c7 100644
--- a/htdocs/adherents/class/adherentstats.class.php
+++ b/htdocs/adherents/class/adherentstats.class.php
@@ -179,4 +179,3 @@ class AdherentStats extends Stats
}
}
-?>
diff --git a/htdocs/adherents/class/cotisation.class.php b/htdocs/adherents/class/cotisation.class.php
index 549ca27e079..544b198e494 100644
--- a/htdocs/adherents/class/cotisation.class.php
+++ b/htdocs/adherents/class/cotisation.class.php
@@ -314,4 +314,3 @@ class Cotisation extends CommonObject
}
}
}
-?>
diff --git a/htdocs/adherents/cotisations.php b/htdocs/adherents/cotisations.php
index 330bedf4862..2784a150e1d 100644
--- a/htdocs/adherents/cotisations.php
+++ b/htdocs/adherents/cotisations.php
@@ -231,4 +231,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/adherents/document.php b/htdocs/adherents/document.php
index 547ccc0466c..a3d7fe1cb40 100644
--- a/htdocs/adherents/document.php
+++ b/htdocs/adherents/document.php
@@ -185,4 +185,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php
index 59791b5cad9..1e3342d69f0 100644
--- a/htdocs/adherents/fiche.php
+++ b/htdocs/adherents/fiche.php
@@ -1670,4 +1670,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/fiche_subscription.php b/htdocs/adherents/fiche_subscription.php
index 8f8bfbfb413..950ff888612 100644
--- a/htdocs/adherents/fiche_subscription.php
+++ b/htdocs/adherents/fiche_subscription.php
@@ -393,4 +393,3 @@ if ($rowid && $action != 'edit')
$db->close();
llxFooter();
-?>
diff --git a/htdocs/adherents/htpasswd.php b/htdocs/adherents/htpasswd.php
index aa2be711d2b..ffa1a92124b 100644
--- a/htdocs/adherents/htpasswd.php
+++ b/htdocs/adherents/htpasswd.php
@@ -90,4 +90,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php
index 8f7ad2bd947..e8ee6bc07c2 100644
--- a/htdocs/adherents/index.php
+++ b/htdocs/adherents/index.php
@@ -428,4 +428,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/info.php b/htdocs/adherents/info.php
index 08ae0e2da9a..27f36e9a843 100644
--- a/htdocs/adherents/info.php
+++ b/htdocs/adherents/info.php
@@ -62,4 +62,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/info_subscription.php b/htdocs/adherents/info_subscription.php
index ea97ecc0976..cc7902af358 100644
--- a/htdocs/adherents/info_subscription.php
+++ b/htdocs/adherents/info_subscription.php
@@ -80,4 +80,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/adherents/ldap.php b/htdocs/adherents/ldap.php
index 5d33432c067..ca651854a24 100644
--- a/htdocs/adherents/ldap.php
+++ b/htdocs/adherents/ldap.php
@@ -241,4 +241,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/liste.php b/htdocs/adherents/liste.php
index 357fbc1aa43..a5fbe1dc5c9 100644
--- a/htdocs/adherents/liste.php
+++ b/htdocs/adherents/liste.php
@@ -380,4 +380,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/note.php b/htdocs/adherents/note.php
index d92447434d4..c46b9a7640e 100644
--- a/htdocs/adherents/note.php
+++ b/htdocs/adherents/note.php
@@ -178,4 +178,3 @@ if ($id)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/stats/byproperties.php b/htdocs/adherents/stats/byproperties.php
index b84350528d4..e8355cbb941 100644
--- a/htdocs/adherents/stats/byproperties.php
+++ b/htdocs/adherents/stats/byproperties.php
@@ -149,4 +149,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php
index 65bf4f3f22b..1cb98f353b6 100644
--- a/htdocs/adherents/stats/geo.php
+++ b/htdocs/adherents/stats/geo.php
@@ -315,4 +315,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/stats/index.php b/htdocs/adherents/stats/index.php
index 33cc80b4b93..41305d3949d 100644
--- a/htdocs/adherents/stats/index.php
+++ b/htdocs/adherents/stats/index.php
@@ -234,4 +234,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php
index afebddf0bb6..fafc7941aed 100644
--- a/htdocs/adherents/type.php
+++ b/htdocs/adherents/type.php
@@ -690,4 +690,3 @@ if ($rowid > 0)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/accounting.php b/htdocs/admin/accounting.php
index d960b60516c..80f9a647125 100644
--- a/htdocs/admin/accounting.php
+++ b/htdocs/admin/accounting.php
@@ -258,4 +258,3 @@ if ($num)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/agenda.php b/htdocs/admin/agenda.php
index 178d37c333e..f3fb1d9b6c9 100644
--- a/htdocs/admin/agenda.php
+++ b/htdocs/admin/agenda.php
@@ -192,4 +192,3 @@ print "
";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/agenda_extrafields.php b/htdocs/admin/agenda_extrafields.php
index d66ebb76b9c..2ba8f3d839c 100644
--- a/htdocs/admin/agenda_extrafields.php
+++ b/htdocs/admin/agenda_extrafields.php
@@ -154,4 +154,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/agenda_extsites.php b/htdocs/admin/agenda_extsites.php
index 6976fef4882..7cbb0ce0370 100644
--- a/htdocs/admin/agenda_extsites.php
+++ b/htdocs/admin/agenda_extsites.php
@@ -229,4 +229,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/agenda_other.php b/htdocs/admin/agenda_other.php
index c54d571086a..4a9c359f5c1 100644
--- a/htdocs/admin/agenda_other.php
+++ b/htdocs/admin/agenda_other.php
@@ -130,4 +130,3 @@ print "
";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/agenda_xcal.php b/htdocs/admin/agenda_xcal.php
index 8805ca381ad..4cba7720ee0 100644
--- a/htdocs/admin/agenda_xcal.php
+++ b/htdocs/admin/agenda_xcal.php
@@ -197,4 +197,3 @@ if (! empty($conf->use_javascript_ajax))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/bank.php b/htdocs/admin/bank.php
index 34b7ece1cf2..de1f7662373 100644
--- a/htdocs/admin/bank.php
+++ b/htdocs/admin/bank.php
@@ -187,4 +187,3 @@ print ''."\n";
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php
index 5824d298ee4..1d8110c00d6 100644
--- a/htdocs/admin/barcode.php
+++ b/htdocs/admin/barcode.php
@@ -433,4 +433,3 @@ print "
";
$db->close();
llxFooter();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/clicktodial.php b/htdocs/admin/clicktodial.php
index 80428160e80..3e85d377055 100644
--- a/htdocs/admin/clicktodial.php
+++ b/htdocs/admin/clicktodial.php
@@ -131,4 +131,3 @@ if (! empty($conf->global->CLICKTODIAL_URL))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index 63ca02f6a5c..c339f306e4c 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -1016,4 +1016,3 @@ else
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/confexped.php b/htdocs/admin/confexped.php
index de10a5b8e4f..ae8a7452244 100644
--- a/htdocs/admin/confexped.php
+++ b/htdocs/admin/confexped.php
@@ -161,4 +161,3 @@ print info_admin($langs->trans("NoNeedForDeliveryReceipts"));
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php
index 4a80df017cb..eb9cae41917 100644
--- a/htdocs/admin/const.php
+++ b/htdocs/admin/const.php
@@ -313,4 +313,3 @@ print "\n";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/contract.php b/htdocs/admin/contract.php
index 00f6c7af825..4c3ee7207df 100644
--- a/htdocs/admin/contract.php
+++ b/htdocs/admin/contract.php
@@ -518,4 +518,3 @@ print '
';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/delais.php b/htdocs/admin/delais.php
index e16240bf251..274d1adc34e 100644
--- a/htdocs/admin/delais.php
+++ b/htdocs/admin/delais.php
@@ -278,4 +278,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index 35319dcdbdf..51d9ca2bced 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -1327,4 +1327,3 @@ function fieldList($fieldlist,$obj='',$tabname='')
}
}
-?>
diff --git a/htdocs/admin/dons.php b/htdocs/admin/dons.php
index c6e42a0f12d..fbb89f4bfa2 100644
--- a/htdocs/admin/dons.php
+++ b/htdocs/admin/dons.php
@@ -259,4 +259,3 @@ print "
";
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/events.php b/htdocs/admin/events.php
index 9523bf38abc..59205dcdbab 100644
--- a/htdocs/admin/events.php
+++ b/htdocs/admin/events.php
@@ -120,4 +120,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/expedition.php b/htdocs/admin/expedition.php
index 0e0008a54b7..398f17c13c4 100644
--- a/htdocs/admin/expedition.php
+++ b/htdocs/admin/expedition.php
@@ -536,4 +536,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/external_rss.php b/htdocs/admin/external_rss.php
index 5f8b8c76fdf..0b9534689d0 100644
--- a/htdocs/admin/external_rss.php
+++ b/htdocs/admin/external_rss.php
@@ -325,4 +325,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php
index e9d21ba2969..4ffef4053d4 100644
--- a/htdocs/admin/facture.php
+++ b/htdocs/admin/facture.php
@@ -791,4 +791,3 @@ print "\n";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/fckeditor.php b/htdocs/admin/fckeditor.php
index c1ace67bff9..8c5dd6585f7 100644
--- a/htdocs/admin/fckeditor.php
+++ b/htdocs/admin/fckeditor.php
@@ -199,4 +199,3 @@ else
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/geoipmaxmind.php b/htdocs/admin/geoipmaxmind.php
index 3222c1ccd92..39267a0cefb 100644
--- a/htdocs/admin/geoipmaxmind.php
+++ b/htdocs/admin/geoipmaxmind.php
@@ -158,4 +158,3 @@ if ($geoip)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php
index 86e87ac56d4..fe375d7668c 100644
--- a/htdocs/admin/ihm.php
+++ b/htdocs/admin/ihm.php
@@ -426,4 +426,3 @@ else // Show
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php
index 7dc5650f761..ef893031db1 100644
--- a/htdocs/admin/ldap.php
+++ b/htdocs/admin/ldap.php
@@ -326,4 +326,3 @@ if (function_exists("ldap_connect"))
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/ldap_contacts.php b/htdocs/admin/ldap_contacts.php
index a25fe2c13c7..81724449ecd 100644
--- a/htdocs/admin/ldap_contacts.php
+++ b/htdocs/admin/ldap_contacts.php
@@ -341,4 +341,3 @@ $db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/ldap_groups.php b/htdocs/admin/ldap_groups.php
index 49b1973eb07..e043bff88aa 100644
--- a/htdocs/admin/ldap_groups.php
+++ b/htdocs/admin/ldap_groups.php
@@ -256,4 +256,3 @@ if (function_exists("ldap_connect"))
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/ldap_members.php b/htdocs/admin/ldap_members.php
index f437163b22f..bddf16f8670 100644
--- a/htdocs/admin/ldap_members.php
+++ b/htdocs/admin/ldap_members.php
@@ -448,4 +448,3 @@ if (function_exists("ldap_connect"))
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/ldap_users.php b/htdocs/admin/ldap_users.php
index 647cccf7ab8..386bc19ff73 100644
--- a/htdocs/admin/ldap_users.php
+++ b/htdocs/admin/ldap_users.php
@@ -453,4 +453,3 @@ if (function_exists("ldap_connect"))
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/limits.php b/htdocs/admin/limits.php
index 4c36c3b127f..69237fe4f74 100644
--- a/htdocs/admin/limits.php
+++ b/htdocs/admin/limits.php
@@ -316,4 +316,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/livraison.php b/htdocs/admin/livraison.php
index 750bc5ebbb4..415bff261de 100644
--- a/htdocs/admin/livraison.php
+++ b/htdocs/admin/livraison.php
@@ -461,4 +461,3 @@ print '';
$db->close();
llxFooter();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/mailman.php b/htdocs/admin/mailman.php
index 71274c4782b..f4d2010ca74 100644
--- a/htdocs/admin/mailman.php
+++ b/htdocs/admin/mailman.php
@@ -233,4 +233,3 @@ if (! empty($conf->global->ADHERENT_USE_MAILMAN))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/menus.php b/htdocs/admin/menus.php
index 5974de1decc..b09b524b435 100644
--- a/htdocs/admin/menus.php
+++ b/htdocs/admin/menus.php
@@ -283,4 +283,3 @@ if ($action != 'edit')
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/menus/edit.php b/htdocs/admin/menus/edit.php
index bf382be58ed..d99a02308b7 100644
--- a/htdocs/admin/menus/edit.php
+++ b/htdocs/admin/menus/edit.php
@@ -471,4 +471,3 @@ elseif ($action == 'edit')
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/menus/index.php b/htdocs/admin/menus/index.php
index 3b1e3a00384..e598afe07a3 100644
--- a/htdocs/admin/menus/index.php
+++ b/htdocs/admin/menus/index.php
@@ -369,4 +369,3 @@ print '
';
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/notification.php b/htdocs/admin/notification.php
index 659fcfb829f..ca68c54c805 100644
--- a/htdocs/admin/notification.php
+++ b/htdocs/admin/notification.php
@@ -130,4 +130,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/order_extrafields.php b/htdocs/admin/order_extrafields.php
index 7317d078626..1169c699203 100644
--- a/htdocs/admin/order_extrafields.php
+++ b/htdocs/admin/order_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/pdf.php b/htdocs/admin/pdf.php
index 7976702f17c..f21687eecf7 100644
--- a/htdocs/admin/pdf.php
+++ b/htdocs/admin/pdf.php
@@ -522,4 +522,3 @@ else // Show
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/perms.php b/htdocs/admin/perms.php
index 6871a1823db..74a9b8c8434 100644
--- a/htdocs/admin/perms.php
+++ b/htdocs/admin/perms.php
@@ -222,4 +222,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/prelevement.php b/htdocs/admin/prelevement.php
index 8420953737d..2247df9493e 100644
--- a/htdocs/admin/prelevement.php
+++ b/htdocs/admin/prelevement.php
@@ -287,4 +287,3 @@ if (! empty($conf->global->MAIN_MODULE_NOTIFICATION))
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/propal.php b/htdocs/admin/propal.php
index de01582048d..5503a906af2 100644
--- a/htdocs/admin/propal.php
+++ b/htdocs/admin/propal.php
@@ -604,4 +604,3 @@ print "\n
";
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/proxy.php b/htdocs/admin/proxy.php
index a292ae75e11..050c92fd188 100644
--- a/htdocs/admin/proxy.php
+++ b/htdocs/admin/proxy.php
@@ -208,4 +208,3 @@ dol_fiche_end();
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php
index bacf1c0cebb..43ccef1e954 100644
--- a/htdocs/admin/security.php
+++ b/htdocs/admin/security.php
@@ -386,4 +386,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/security_other.php b/htdocs/admin/security_other.php
index 6afc12949d6..54bc933374c 100644
--- a/htdocs/admin/security_other.php
+++ b/htdocs/admin/security_other.php
@@ -336,4 +336,3 @@ $formfile->list_of_documents($filearray, '', 'admin_temp', '');
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php
index bdab2164888..0ba8427cca5 100644
--- a/htdocs/admin/sms.php
+++ b/htdocs/admin/sms.php
@@ -347,4 +347,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/spip.php b/htdocs/admin/spip.php
index 30966f8bfbf..af46c074bb9 100644
--- a/htdocs/admin/spip.php
+++ b/htdocs/admin/spip.php
@@ -156,4 +156,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/supplier_invoice.php b/htdocs/admin/supplier_invoice.php
index e792c446d7c..8b69f8e1441 100644
--- a/htdocs/admin/supplier_invoice.php
+++ b/htdocs/admin/supplier_invoice.php
@@ -469,4 +469,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/supplier_order.php b/htdocs/admin/supplier_order.php
index a98e62499b0..88ab88780fc 100644
--- a/htdocs/admin/supplier_order.php
+++ b/htdocs/admin/supplier_order.php
@@ -464,4 +464,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/supplierinvoice_extrafields.php b/htdocs/admin/supplierinvoice_extrafields.php
index e8cff702467..85131440646 100644
--- a/htdocs/admin/supplierinvoice_extrafields.php
+++ b/htdocs/admin/supplierinvoice_extrafields.php
@@ -158,4 +158,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/system/constall.php b/htdocs/admin/system/constall.php
index 3386e3aa135..0183da7a258 100644
--- a/htdocs/admin/system/constall.php
+++ b/htdocs/admin/system/constall.php
@@ -253,4 +253,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/system/database-tables.php b/htdocs/admin/system/database-tables.php
index eb638b68711..a29c8e66b32 100644
--- a/htdocs/admin/system/database-tables.php
+++ b/htdocs/admin/system/database-tables.php
@@ -173,4 +173,3 @@ else
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php
index 3486bcde498..7e32055e180 100644
--- a/htdocs/admin/system/modules.php
+++ b/htdocs/admin/system/modules.php
@@ -159,4 +159,3 @@ foreach($rights_ids as $right_id)
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/system/perf.php b/htdocs/admin/system/perf.php
index e2990e3275b..590502f617d 100644
--- a/htdocs/admin/system/perf.php
+++ b/htdocs/admin/system/perf.php
@@ -459,4 +459,3 @@ print '
';
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/system/xcache.php b/htdocs/admin/system/xcache.php
index 1f746f085bc..143e62b8b3c 100644
--- a/htdocs/admin/system/xcache.php
+++ b/htdocs/admin/system/xcache.php
@@ -79,4 +79,3 @@ if ($action == 'clear')
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/system/xdebug.php b/htdocs/admin/system/xdebug.php
index 53a6aaa1f67..7d32c76fb4d 100644
--- a/htdocs/admin/system/xdebug.php
+++ b/htdocs/admin/system/xdebug.php
@@ -126,4 +126,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/taxes.php b/htdocs/admin/taxes.php
index 5e9ee49b532..9184ede0920 100644
--- a/htdocs/admin/taxes.php
+++ b/htdocs/admin/taxes.php
@@ -199,4 +199,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php
index 847b20783b2..8154cfffb08 100644
--- a/htdocs/admin/tools/dolibarr_export.php
+++ b/htdocs/admin/tools/dolibarr_export.php
@@ -433,4 +433,3 @@ print '
';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/tools/dolibarr_import.php b/htdocs/admin/tools/dolibarr_import.php
index 8fd8faa6608..61e7e1e68a1 100644
--- a/htdocs/admin/tools/dolibarr_import.php
+++ b/htdocs/admin/tools/dolibarr_import.php
@@ -194,4 +194,3 @@ else if ($label == 'PostgreSQL')
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/tools/export.php b/htdocs/admin/tools/export.php
index 4e85a4d3096..8dccf89de09 100644
--- a/htdocs/admin/tools/export.php
+++ b/htdocs/admin/tools/export.php
@@ -528,4 +528,3 @@ function backup_tables($outputfile, $tables='*')
return 1;
}
-?>
diff --git a/htdocs/admin/tools/index.php b/htdocs/admin/tools/index.php
index 955d02b50f9..ec72b30864f 100644
--- a/htdocs/admin/tools/index.php
+++ b/htdocs/admin/tools/index.php
@@ -57,4 +57,3 @@ print '
';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/tools/listevents.php b/htdocs/admin/tools/listevents.php
index d733182f054..10bd42d9590 100644
--- a/htdocs/admin/tools/listevents.php
+++ b/htdocs/admin/tools/listevents.php
@@ -270,4 +270,3 @@ else
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/admin/triggers.php b/htdocs/admin/triggers.php
index 21a2b38e2a0..fc9d0489e9a 100644
--- a/htdocs/admin/triggers.php
+++ b/htdocs/admin/triggers.php
@@ -82,4 +82,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/admin/user.php b/htdocs/admin/user.php
index 77dec6ce2a3..b2a0d9f8363 100644
--- a/htdocs/admin/user.php
+++ b/htdocs/admin/user.php
@@ -141,4 +141,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/asterisk/cidlookup.php b/htdocs/asterisk/cidlookup.php
index b90d393f01d..d1dcb501f41 100644
--- a/htdocs/asterisk/cidlookup.php
+++ b/htdocs/asterisk/cidlookup.php
@@ -67,4 +67,3 @@ else
echo $found;
-?>
diff --git a/htdocs/barcode/codeinit.php b/htdocs/barcode/codeinit.php
index 24f9a6b779b..d6ca6a7d66f 100644
--- a/htdocs/barcode/codeinit.php
+++ b/htdocs/barcode/codeinit.php
@@ -322,4 +322,3 @@ print '
';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/barcode/printsheet.php b/htdocs/barcode/printsheet.php
index f82551b57a5..d862cb5da8f 100644
--- a/htdocs/barcode/printsheet.php
+++ b/htdocs/barcode/printsheet.php
@@ -419,4 +419,3 @@ print '
';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/bookmarks/admin/bookmark.php b/htdocs/bookmarks/admin/bookmark.php
index 1f33f487f82..ad480f6cf7f 100644
--- a/htdocs/bookmarks/admin/bookmark.php
+++ b/htdocs/bookmarks/admin/bookmark.php
@@ -87,4 +87,3 @@ dol_htmloutput_mesg($mesg);
$db->close();
llxFooter();
-?>
diff --git a/htdocs/bookmarks/bookmarks.lib.php b/htdocs/bookmarks/bookmarks.lib.php
index 872691d4ee1..ebfe7e78db6 100644
--- a/htdocs/bookmarks/bookmarks.lib.php
+++ b/htdocs/bookmarks/bookmarks.lib.php
@@ -91,4 +91,3 @@ function printBookmarksList($aDb, $aLangs)
return $ret;
}
-?>
diff --git a/htdocs/bookmarks/class/bookmark.class.php b/htdocs/bookmarks/class/bookmark.class.php
index c4d0e0c312c..2aa86c5db20 100644
--- a/htdocs/bookmarks/class/bookmark.class.php
+++ b/htdocs/bookmarks/class/bookmark.class.php
@@ -211,4 +211,3 @@ class Bookmark
}
}
-?>
diff --git a/htdocs/bookmarks/fiche.php b/htdocs/bookmarks/fiche.php
index fb5a78d21ed..6167d6cd669 100644
--- a/htdocs/bookmarks/fiche.php
+++ b/htdocs/bookmarks/fiche.php
@@ -292,4 +292,3 @@ if ($id > 0 && ! preg_match('/^add/i',$action))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/bookmarks/liste.php b/htdocs/bookmarks/liste.php
index 64bd28aabb4..c3524ae5d43 100644
--- a/htdocs/bookmarks/liste.php
+++ b/htdocs/bookmarks/liste.php
@@ -217,4 +217,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/admin/boutique.php b/htdocs/boutique/admin/boutique.php
index 19a4057a685..65dab22f813 100644
--- a/htdocs/boutique/admin/boutique.php
+++ b/htdocs/boutique/admin/boutique.php
@@ -204,4 +204,3 @@ dol_htmloutput_mesg($mesg);
$db->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/client/class/boutiqueclient.class.php b/htdocs/boutique/client/class/boutiqueclient.class.php
index 7b48ab020a4..fdf393043b0 100644
--- a/htdocs/boutique/client/class/boutiqueclient.class.php
+++ b/htdocs/boutique/client/class/boutiqueclient.class.php
@@ -75,4 +75,3 @@ class BoutiqueClient
}
}
-?>
diff --git a/htdocs/boutique/client/fiche.php b/htdocs/boutique/client/fiche.php
index 31d7bf3e81e..895eea66e79 100644
--- a/htdocs/boutique/client/fiche.php
+++ b/htdocs/boutique/client/fiche.php
@@ -124,4 +124,3 @@ else
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/client/index.php b/htdocs/boutique/client/index.php
index 82eb9ef4bb0..358a74a750f 100644
--- a/htdocs/boutique/client/index.php
+++ b/htdocs/boutique/client/index.php
@@ -89,4 +89,3 @@ else
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/commande/ca.php b/htdocs/boutique/commande/ca.php
index b5f4bab9e1c..5030e5ac559 100644
--- a/htdocs/boutique/commande/ca.php
+++ b/htdocs/boutique/commande/ca.php
@@ -113,4 +113,3 @@ print "";
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/commande/class/boutiquecommande.class.php b/htdocs/boutique/commande/class/boutiquecommande.class.php
index 62528c21b70..0a3383a33a3 100644
--- a/htdocs/boutique/commande/class/boutiquecommande.class.php
+++ b/htdocs/boutique/commande/class/boutiquecommande.class.php
@@ -136,4 +136,3 @@ class BoutiqueCommande
}
}
-?>
diff --git a/htdocs/boutique/commande/fiche.php b/htdocs/boutique/commande/fiche.php
index e00f9007940..1e2e90dd41c 100644
--- a/htdocs/boutique/commande/fiche.php
+++ b/htdocs/boutique/commande/fiche.php
@@ -153,4 +153,3 @@ print '
';
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/commande/index.php b/htdocs/boutique/commande/index.php
index c5d166cf4e4..cc683994565 100644
--- a/htdocs/boutique/commande/index.php
+++ b/htdocs/boutique/commande/index.php
@@ -90,4 +90,3 @@ else
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/critiques/bestproduct.php b/htdocs/boutique/critiques/bestproduct.php
index 556c1926979..1b7b9ff0669 100644
--- a/htdocs/boutique/critiques/bestproduct.php
+++ b/htdocs/boutique/critiques/bestproduct.php
@@ -95,4 +95,3 @@ print "";
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/critiques/class/critique.class.php b/htdocs/boutique/critiques/class/critique.class.php
index caa03061d53..cd3a72088ad 100644
--- a/htdocs/boutique/critiques/class/critique.class.php
+++ b/htdocs/boutique/critiques/class/critique.class.php
@@ -82,4 +82,3 @@ class Critique
}
}
-?>
diff --git a/htdocs/boutique/critiques/fiche.php b/htdocs/boutique/critiques/fiche.php
index 6554983cf95..a5ea716ed8c 100644
--- a/htdocs/boutique/critiques/fiche.php
+++ b/htdocs/boutique/critiques/fiche.php
@@ -80,4 +80,3 @@ $dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/critiques/index.php b/htdocs/boutique/critiques/index.php
index 186756f6e42..98294d5d09c 100644
--- a/htdocs/boutique/critiques/index.php
+++ b/htdocs/boutique/critiques/index.php
@@ -90,4 +90,3 @@ print "";
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/index.php b/htdocs/boutique/index.php
index 91301c69dec..97d61a5353f 100644
--- a/htdocs/boutique/index.php
+++ b/htdocs/boutique/index.php
@@ -240,4 +240,3 @@ print '';
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/notification/index.php b/htdocs/boutique/notification/index.php
index 3a27326e1fb..f8a24c5a52c 100644
--- a/htdocs/boutique/notification/index.php
+++ b/htdocs/boutique/notification/index.php
@@ -87,4 +87,3 @@ else
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/notification/produits.php b/htdocs/boutique/notification/produits.php
index eb897497540..6b4b82b60f5 100644
--- a/htdocs/boutique/notification/produits.php
+++ b/htdocs/boutique/notification/produits.php
@@ -93,4 +93,3 @@ else
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/osc_master.inc.php b/htdocs/boutique/osc_master.inc.php
index 8897af9e83a..ab4c0cf701a 100644
--- a/htdocs/boutique/osc_master.inc.php
+++ b/htdocs/boutique/osc_master.inc.php
@@ -36,4 +36,3 @@ if (! $dbosc->connected)
exit;
}
-?>
diff --git a/htdocs/boutique/produits/index.php b/htdocs/boutique/produits/index.php
index f8bae975445..02db7d5db2b 100644
--- a/htdocs/boutique/produits/index.php
+++ b/htdocs/boutique/produits/index.php
@@ -86,4 +86,3 @@ else
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/produits/osc-liste.php b/htdocs/boutique/produits/osc-liste.php
index ef1369dd503..d8888505254 100644
--- a/htdocs/boutique/produits/osc-liste.php
+++ b/htdocs/boutique/produits/osc-liste.php
@@ -104,4 +104,3 @@ print "";
$dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/boutique/promotion/class/promotion.class.php b/htdocs/boutique/promotion/class/promotion.class.php
index d7a3ccb6545..6e965ad76d1 100644
--- a/htdocs/boutique/promotion/class/promotion.class.php
+++ b/htdocs/boutique/promotion/class/promotion.class.php
@@ -211,4 +211,3 @@ class Promotion
}
-?>
diff --git a/htdocs/boutique/promotion/index.php b/htdocs/boutique/promotion/index.php
index 7cbba5c5014..10dfa09a8c1 100644
--- a/htdocs/boutique/promotion/index.php
+++ b/htdocs/boutique/promotion/index.php
@@ -117,4 +117,3 @@ $dbosc->close();
llxFooter();
-?>
diff --git a/htdocs/cashdesk/admin/cashdesk.php b/htdocs/cashdesk/admin/cashdesk.php
index 901b43a0d48..692b055659b 100644
--- a/htdocs/cashdesk/admin/cashdesk.php
+++ b/htdocs/cashdesk/admin/cashdesk.php
@@ -157,4 +157,3 @@ dol_htmloutput_mesg($mesg);
$db->close();
llxFooter();
-?>
diff --git a/htdocs/cashdesk/affContenu.php b/htdocs/cashdesk/affContenu.php
index 260e306ffeb..b88c78ffb4d 100644
--- a/htdocs/cashdesk/affContenu.php
+++ b/htdocs/cashdesk/affContenu.php
@@ -67,4 +67,3 @@ print '';
$_SESSION['serObjFacturation'] = serialize($obj_facturation);
-?>
\ No newline at end of file
diff --git a/htdocs/cashdesk/deconnexion.php b/htdocs/cashdesk/deconnexion.php
index 50417b19727..0602b577378 100644
--- a/htdocs/cashdesk/deconnexion.php
+++ b/htdocs/cashdesk/deconnexion.php
@@ -35,4 +35,3 @@ unset($_SESSION['uid']);
header('Location: '.DOL_URL_ROOT.'/cashdesk/index.php');
exit;
-?>
\ No newline at end of file
diff --git a/htdocs/cashdesk/facturation_dhtml.php b/htdocs/cashdesk/facturation_dhtml.php
index e903e716afb..88a22f7865a 100644
--- a/htdocs/cashdesk/facturation_dhtml.php
+++ b/htdocs/cashdesk/facturation_dhtml.php
@@ -108,4 +108,3 @@ if (dol_strlen($_GET["code"]) >= 0) // If search criteria is on char length at l
}
}
-?>
\ No newline at end of file
diff --git a/htdocs/cashdesk/include/environnement.php b/htdocs/cashdesk/include/environnement.php
index 5d2505e1fc4..f0545181ff0 100644
--- a/htdocs/cashdesk/include/environnement.php
+++ b/htdocs/cashdesk/include/environnement.php
@@ -49,4 +49,3 @@ $conf_nbr_car_listes = 60; // Nombre max de caracteres par ligne dans les listes
// Add hidden option to force decrease of stock whatever is user setup
if (! empty($conf->global->CASHDESK_FORCE_STOCK_ON_BILL)) $conf->global->STOCK_CALCULATE_ON_BILL=1;
-?>
diff --git a/htdocs/cashdesk/index.php b/htdocs/cashdesk/index.php
index fe4171de72e..9ab47249d2a 100644
--- a/htdocs/cashdesk/index.php
+++ b/htdocs/cashdesk/index.php
@@ -181,4 +181,3 @@ else
';
-?>
\ No newline at end of file
diff --git a/htdocs/cashdesk/validation_ok.php b/htdocs/cashdesk/validation_ok.php
index 1066af6b4ce..70bf3d1b64f 100644
--- a/htdocs/cashdesk/validation_ok.php
+++ b/htdocs/cashdesk/validation_ok.php
@@ -24,4 +24,3 @@
// Affichage des templates
require ('tpl/validation2.tpl.php');
-?>
diff --git a/htdocs/cashdesk/validation_ticket.php b/htdocs/cashdesk/validation_ticket.php
index fe50fa68009..e6be818e3bc 100644
--- a/htdocs/cashdesk/validation_ticket.php
+++ b/htdocs/cashdesk/validation_ticket.php
@@ -34,7 +34,3 @@ require ('tpl/ticket.tpl.php');
$_SESSION['serObjFacturation'] = serialize($obj_facturation);
-?>
-
-
-
diff --git a/htdocs/cashdesk/validation_verif.php b/htdocs/cashdesk/validation_verif.php
index 7cd29a54ec5..173c1894555 100644
--- a/htdocs/cashdesk/validation_verif.php
+++ b/htdocs/cashdesk/validation_verif.php
@@ -301,4 +301,3 @@ switch ($action)
$_SESSION['serObjFacturation'] = serialize($obj_facturation);
header('Location: '.$redirection);
-?>
diff --git a/htdocs/categories/admin/categorie_extrafields.php b/htdocs/categories/admin/categorie_extrafields.php
index 49c7a5c36bc..6f8369afc89 100644
--- a/htdocs/categories/admin/categorie_extrafields.php
+++ b/htdocs/categories/admin/categorie_extrafields.php
@@ -148,4 +148,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php
index e34ecf9c336..7f8ceac853e 100644
--- a/htdocs/categories/categorie.php
+++ b/htdocs/categories/categorie.php
@@ -731,4 +731,3 @@ function formCategory($db,$object,$typeid,$socid=0,$showclassifyform=1)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php
index 5a30f8bafb6..f9d1222cb35 100644
--- a/htdocs/categories/class/categorie.class.php
+++ b/htdocs/categories/class/categorie.class.php
@@ -1547,4 +1547,3 @@ class Categorie extends CommonObject
$this->type = 0;
}
}
-?>
diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php
index de85a6ca6e2..0c61ab8cca6 100644
--- a/htdocs/categories/edit.php
+++ b/htdocs/categories/edit.php
@@ -177,4 +177,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php
index 12eaa7e98f0..aca14acce2b 100644
--- a/htdocs/categories/fiche.php
+++ b/htdocs/categories/fiche.php
@@ -267,4 +267,3 @@ if ($user->rights->categorie->creer)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php
index 0e512cdfcf7..eceeb2890bc 100644
--- a/htdocs/categories/index.php
+++ b/htdocs/categories/index.php
@@ -194,4 +194,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/categories/photos.php b/htdocs/categories/photos.php
index b0fd0cc92be..69a8bb97eab 100644
--- a/htdocs/categories/photos.php
+++ b/htdocs/categories/photos.php
@@ -301,4 +301,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/categories/traduction.php b/htdocs/categories/traduction.php
index a6dadeb0e1c..15e8f7f6a5f 100644
--- a/htdocs/categories/traduction.php
+++ b/htdocs/categories/traduction.php
@@ -281,4 +281,3 @@ if ($action == 'add' && ($user->rights->produit->creer || $user->rights->service
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/comm/action/class/cactioncomm.class.php b/htdocs/comm/action/class/cactioncomm.class.php
index c05887ec47f..68960c5a6c0 100644
--- a/htdocs/comm/action/class/cactioncomm.class.php
+++ b/htdocs/comm/action/class/cactioncomm.class.php
@@ -185,4 +185,3 @@ class CActionComm
}
}
-?>
diff --git a/htdocs/comm/action/class/ical.class.php b/htdocs/comm/action/class/ical.class.php
index 0e279adc03c..bca56b811b2 100644
--- a/htdocs/comm/action/class/ical.class.php
+++ b/htdocs/comm/action/class/ical.class.php
@@ -395,4 +395,3 @@ class ICal
return $this->cal;
}
}
-?>
diff --git a/htdocs/comm/action/contact.php b/htdocs/comm/action/contact.php
index 2ec18b1bd0a..70ea24067b3 100644
--- a/htdocs/comm/action/contact.php
+++ b/htdocs/comm/action/contact.php
@@ -258,4 +258,3 @@ llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php
index 26852e796c1..55993db2fc2 100644
--- a/htdocs/comm/action/document.php
+++ b/htdocs/comm/action/document.php
@@ -267,4 +267,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php
index 2ed00894aa0..373a7b9d6a2 100644
--- a/htdocs/comm/action/fiche.php
+++ b/htdocs/comm/action/fiche.php
@@ -1103,4 +1103,3 @@ if ($id > 0)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index fbb9400acff..0f21d190773 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -1234,4 +1234,3 @@ function dol_color_minus($color, $minus)
return $newcolor;
}
-?>
diff --git a/htdocs/comm/action/info.php b/htdocs/comm/action/info.php
index de41dc04483..4367e6cdb80 100644
--- a/htdocs/comm/action/info.php
+++ b/htdocs/comm/action/info.php
@@ -67,4 +67,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php
index ebe68fa3328..e6944f4c829 100644
--- a/htdocs/comm/action/listactions.php
+++ b/htdocs/comm/action/listactions.php
@@ -371,4 +371,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/action/rapport/index.php b/htdocs/comm/action/rapport/index.php
index fa100e532f3..78f1ca24827 100644
--- a/htdocs/comm/action/rapport/index.php
+++ b/htdocs/comm/action/rapport/index.php
@@ -158,4 +158,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/address.php b/htdocs/comm/address.php
index 22e992c0f8a..8e892845c66 100644
--- a/htdocs/comm/address.php
+++ b/htdocs/comm/address.php
@@ -496,4 +496,3 @@ else
// End of page
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/admin/propal_extrafields.php b/htdocs/comm/admin/propal_extrafields.php
index 974c42c95bb..434d2fc1972 100644
--- a/htdocs/comm/admin/propal_extrafields.php
+++ b/htdocs/comm/admin/propal_extrafields.php
@@ -155,4 +155,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/admin/propaldet_extrafields.php b/htdocs/comm/admin/propaldet_extrafields.php
index 4b2d7dd7a80..c9c28105466 100644
--- a/htdocs/comm/admin/propaldet_extrafields.php
+++ b/htdocs/comm/admin/propaldet_extrafields.php
@@ -157,4 +157,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php
index a3cde90d102..98653992025 100644
--- a/htdocs/comm/index.php
+++ b/htdocs/comm/index.php
@@ -529,4 +529,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/list.php b/htdocs/comm/list.php
index 1d2f792ab2f..beff565811a 100644
--- a/htdocs/comm/list.php
+++ b/htdocs/comm/list.php
@@ -291,4 +291,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php
index 916a6163668..93e66c0c497 100644
--- a/htdocs/comm/mailing/cibles.php
+++ b/htdocs/comm/mailing/cibles.php
@@ -538,4 +538,3 @@ if ($object->fetch($id) >= 0)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/mailing/class/mailing.class.php b/htdocs/comm/mailing/class/mailing.class.php
index a6db4738bb5..99b1a2f4419 100644
--- a/htdocs/comm/mailing/class/mailing.class.php
+++ b/htdocs/comm/mailing/class/mailing.class.php
@@ -514,4 +514,3 @@ class Mailing extends CommonObject
}
-?>
diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php
index 9d6a31cdfac..6a49dd0865b 100644
--- a/htdocs/comm/mailing/fiche.php
+++ b/htdocs/comm/mailing/fiche.php
@@ -1146,4 +1146,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/mailing/index.php b/htdocs/comm/mailing/index.php
index ac7cbdccb5d..a0175bad448 100644
--- a/htdocs/comm/mailing/index.php
+++ b/htdocs/comm/mailing/index.php
@@ -217,4 +217,3 @@ if ($langs->file_exists("html/spam.html",0)) {
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/mailing/info.php b/htdocs/comm/mailing/info.php
index 59b1d26c4b2..bbd10849f42 100644
--- a/htdocs/comm/mailing/info.php
+++ b/htdocs/comm/mailing/info.php
@@ -66,4 +66,3 @@ if ($mil->fetch($_REQUEST["id"]) >= 0)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/mailing/liste.php b/htdocs/comm/mailing/liste.php
index 81af4f4f6e6..617096561a3 100644
--- a/htdocs/comm/mailing/liste.php
+++ b/htdocs/comm/mailing/liste.php
@@ -189,4 +189,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/multiprix.php b/htdocs/comm/multiprix.php
index 2dd17ff3f60..6f8c0b70b86 100644
--- a/htdocs/comm/multiprix.php
+++ b/htdocs/comm/multiprix.php
@@ -174,4 +174,3 @@ if ($_socid > 0)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 9302b53d5bd..343a559b7a9 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -2097,4 +2097,3 @@ if ($action == 'create') {
// End of page
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/propal/apercu.php b/htdocs/comm/propal/apercu.php
index 77a5fcf2697..ce80783c731 100644
--- a/htdocs/comm/propal/apercu.php
+++ b/htdocs/comm/propal/apercu.php
@@ -209,4 +209,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php
index d38052b684c..8a4ff80f713 100644
--- a/htdocs/comm/propal/class/propal.class.php
+++ b/htdocs/comm/propal/class/propal.class.php
@@ -3147,4 +3147,3 @@ class PropaleLigne extends CommonObject
}
-?>
diff --git a/htdocs/comm/propal/class/propalestats.class.php b/htdocs/comm/propal/class/propalestats.class.php
index 343413f4012..dc8501c37ba 100644
--- a/htdocs/comm/propal/class/propalestats.class.php
+++ b/htdocs/comm/propal/class/propalestats.class.php
@@ -208,4 +208,3 @@ class PropaleStats extends Stats
return $this->_getAllByProduct($sql);
}
}
-?>
diff --git a/htdocs/comm/propal/contact.php b/htdocs/comm/propal/contact.php
index 2d7d432a51d..6a0a1076e62 100644
--- a/htdocs/comm/propal/contact.php
+++ b/htdocs/comm/propal/contact.php
@@ -221,4 +221,3 @@ if ($object->id > 0)
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/comm/propal/index.php b/htdocs/comm/propal/index.php
index 409d76f2505..f89b6bfda86 100644
--- a/htdocs/comm/propal/index.php
+++ b/htdocs/comm/propal/index.php
@@ -526,4 +526,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/propal/info.php b/htdocs/comm/propal/info.php
index 433dbdbf12f..d3a3899537b 100644
--- a/htdocs/comm/propal/info.php
+++ b/htdocs/comm/propal/info.php
@@ -63,4 +63,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php
index 5fbb69dbd34..3cb2399416f 100644
--- a/htdocs/comm/propal/list.php
+++ b/htdocs/comm/propal/list.php
@@ -444,4 +444,3 @@ else
// End of page
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php
index 2ed0f5e5dad..9292684d06f 100644
--- a/htdocs/comm/propal/note.php
+++ b/htdocs/comm/propal/note.php
@@ -149,4 +149,3 @@ if ($id > 0 || ! empty($ref))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/propal/stats/index.php b/htdocs/comm/propal/stats/index.php
index 39cb54b0516..61985c8560f 100644
--- a/htdocs/comm/propal/stats/index.php
+++ b/htdocs/comm/propal/stats/index.php
@@ -311,4 +311,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/comm/prospect/class/prospect.class.php b/htdocs/comm/prospect/class/prospect.class.php
index c322d6af6d6..19e56fe2cff 100644
--- a/htdocs/comm/prospect/class/prospect.class.php
+++ b/htdocs/comm/prospect/class/prospect.class.php
@@ -173,4 +173,3 @@ class Prospect extends Societe
return $lib;
}
}
-?>
diff --git a/htdocs/comm/prospect/index.php b/htdocs/comm/prospect/index.php
index 1f3e0fc4c0c..b2756044210 100644
--- a/htdocs/comm/prospect/index.php
+++ b/htdocs/comm/prospect/index.php
@@ -284,4 +284,3 @@ print '';
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/comm/prospect/recap-prospect.php b/htdocs/comm/prospect/recap-prospect.php
index 52813597884..1eb30f02b55 100644
--- a/htdocs/comm/prospect/recap-prospect.php
+++ b/htdocs/comm/prospect/recap-prospect.php
@@ -93,4 +93,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/recap-client.php b/htdocs/comm/recap-client.php
index 56743e59d7a..bb079a34169 100644
--- a/htdocs/comm/recap-client.php
+++ b/htdocs/comm/recap-client.php
@@ -92,4 +92,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/remise.php b/htdocs/comm/remise.php
index 81bc362695e..56b3009298d 100644
--- a/htdocs/comm/remise.php
+++ b/htdocs/comm/remise.php
@@ -203,4 +203,3 @@ if ($socid > 0)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php
index 0de58ca2ed0..db35db04b14 100644
--- a/htdocs/comm/remx.php
+++ b/htdocs/comm/remx.php
@@ -544,4 +544,3 @@ if ($socid > 0)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php
index 9eb04e940bc..97671510bfd 100644
--- a/htdocs/commande/apercu.php
+++ b/htdocs/commande/apercu.php
@@ -229,4 +229,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php
index 7609d58afb2..5c4d1d0e131 100644
--- a/htdocs/commande/class/commande.class.php
+++ b/htdocs/commande/class/commande.class.php
@@ -3444,4 +3444,3 @@ class OrderLine extends CommonOrderLine
}
}
-?>
diff --git a/htdocs/commande/class/commandestats.class.php b/htdocs/commande/class/commandestats.class.php
index 8691656128e..312e958a38e 100644
--- a/htdocs/commande/class/commandestats.class.php
+++ b/htdocs/commande/class/commandestats.class.php
@@ -219,4 +219,3 @@ class CommandeStats extends Stats
}
-?>
\ No newline at end of file
diff --git a/htdocs/commande/document.php b/htdocs/commande/document.php
index 05538666ba3..d939b106c7f 100644
--- a/htdocs/commande/document.php
+++ b/htdocs/commande/document.php
@@ -138,4 +138,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index f4cf312b045..52e8053a1e6 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -2389,4 +2389,3 @@ if ($action == 'create' && $user->rights->commande->creer) {
llxFooter();
$db->close();
-?>
diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php
index c8dc5e61d6d..37e88f37d85 100644
--- a/htdocs/commande/index.php
+++ b/htdocs/commande/index.php
@@ -429,4 +429,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/commande/info.php b/htdocs/commande/info.php
index c874ec049b8..de559e2b53f 100644
--- a/htdocs/commande/info.php
+++ b/htdocs/commande/info.php
@@ -66,4 +66,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/commande/liste.php b/htdocs/commande/liste.php
index f5d7c01ae56..7abe6451141 100644
--- a/htdocs/commande/liste.php
+++ b/htdocs/commande/liste.php
@@ -425,4 +425,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php
index 9d740dc1089..ae5aab0491b 100644
--- a/htdocs/commande/note.php
+++ b/htdocs/commande/note.php
@@ -113,4 +113,3 @@ if ($id > 0 || ! empty($ref))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php
index fa92daa3117..bfdf2dbb5ca 100644
--- a/htdocs/commande/orderstoinvoice.php
+++ b/htdocs/commande/orderstoinvoice.php
@@ -697,4 +697,3 @@ dol_htmloutput_mesg($mesg,$mesgs);
llxFooter();
$db->close();
-?>
diff --git a/htdocs/commande/stats/index.php b/htdocs/commande/stats/index.php
index 45d242bd4e5..fcc33a666d2 100644
--- a/htdocs/commande/stats/index.php
+++ b/htdocs/commande/stats/index.php
@@ -335,4 +335,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/ajaxpayment.php b/htdocs/compta/ajaxpayment.php
index 08a6fcd26ff..66a1c997be3 100644
--- a/htdocs/compta/ajaxpayment.php
+++ b/htdocs/compta/ajaxpayment.php
@@ -116,4 +116,3 @@ $toJsonArray['resultnum'] = price2num($result); // Return value to numeric forma
// Encode to JSON to return
echo dol_json_encode($toJsonArray); // Printing the call's result
-?>
\ No newline at end of file
diff --git a/htdocs/compta/bank/annuel.php b/htdocs/compta/bank/annuel.php
index ac857172470..e54c501fdab 100644
--- a/htdocs/compta/bank/annuel.php
+++ b/htdocs/compta/bank/annuel.php
@@ -509,4 +509,3 @@ print "\n\n";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/bank/bankid_fr.php b/htdocs/compta/bank/bankid_fr.php
index 5b69fe9753a..3c298e1c0b0 100644
--- a/htdocs/compta/bank/bankid_fr.php
+++ b/htdocs/compta/bank/bankid_fr.php
@@ -460,4 +460,3 @@ if ($_GET["id"] && $action == 'edit' && $user->rights->banque->configurer)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/bank/bilan.php b/htdocs/compta/bank/bilan.php
index e3942381d1e..edfc84c23cc 100644
--- a/htdocs/compta/bank/bilan.php
+++ b/htdocs/compta/bank/bilan.php
@@ -92,4 +92,3 @@ print "";
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/bank/budget.php b/htdocs/compta/bank/budget.php
index 672e1363d3e..04697909eac 100644
--- a/htdocs/compta/bank/budget.php
+++ b/htdocs/compta/bank/budget.php
@@ -99,4 +99,3 @@ print "";
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/bank/categ.php b/htdocs/compta/bank/categ.php
index 94370d699e6..41abab1ace0 100644
--- a/htdocs/compta/bank/categ.php
+++ b/htdocs/compta/bank/categ.php
@@ -181,4 +181,3 @@ print "";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php
index 97e7543a030..8bcabf7f17b 100644
--- a/htdocs/compta/bank/class/account.class.php
+++ b/htdocs/compta/bank/class/account.class.php
@@ -1457,4 +1457,3 @@ class AccountLine extends CommonObject
}
-?>
diff --git a/htdocs/compta/bank/class/bankcateg.class.php b/htdocs/compta/bank/class/bankcateg.class.php
index 996bf745034..c4066bae655 100644
--- a/htdocs/compta/bank/class/bankcateg.class.php
+++ b/htdocs/compta/bank/class/bankcateg.class.php
@@ -359,4 +359,3 @@ class BankCateg // extends CommonObject
}
}
-?>
diff --git a/htdocs/compta/bank/fiche.php b/htdocs/compta/bank/fiche.php
index 8a97e75ddf1..bdb30e46528 100644
--- a/htdocs/compta/bank/fiche.php
+++ b/htdocs/compta/bank/fiche.php
@@ -622,4 +622,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/bank/graph.php b/htdocs/compta/bank/graph.php
index 734cdd8eb83..7a7f03c7d98 100644
--- a/htdocs/compta/bank/graph.php
+++ b/htdocs/compta/bank/graph.php
@@ -885,4 +885,3 @@ print "\n\n";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/bank/index.php b/htdocs/compta/bank/index.php
index 00cd0b163ee..cf43fc578fb 100644
--- a/htdocs/compta/bank/index.php
+++ b/htdocs/compta/bank/index.php
@@ -251,4 +251,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/bank/info.php b/htdocs/compta/bank/info.php
index a5a0cdf1677..cfc0c10d0a5 100644
--- a/htdocs/compta/bank/info.php
+++ b/htdocs/compta/bank/info.php
@@ -66,4 +66,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php
index ef57d15d355..2c79a0bb344 100644
--- a/htdocs/compta/bank/ligne.php
+++ b/htdocs/compta/bank/ligne.php
@@ -628,4 +628,3 @@ print "";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/bank/rappro.php b/htdocs/compta/bank/rappro.php
index 29a47a60e9b..f8d3ccd0bc7 100644
--- a/htdocs/compta/bank/rappro.php
+++ b/htdocs/compta/bank/rappro.php
@@ -459,4 +459,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/bank/releve.php b/htdocs/compta/bank/releve.php
index d5168ec65c9..0d0246f28e6 100644
--- a/htdocs/compta/bank/releve.php
+++ b/htdocs/compta/bank/releve.php
@@ -491,4 +491,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/bank/search.php b/htdocs/compta/bank/search.php
index 735a78319ab..e5a945ced78 100644
--- a/htdocs/compta/bank/search.php
+++ b/htdocs/compta/bank/search.php
@@ -338,4 +338,3 @@ if ($_POST["action"] == "search" && ! $num)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/bank/treso.php b/htdocs/compta/bank/treso.php
index 58876f81ab6..f6c59530605 100644
--- a/htdocs/compta/bank/treso.php
+++ b/htdocs/compta/bank/treso.php
@@ -349,4 +349,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/bank/virement.php b/htdocs/compta/bank/virement.php
index bea66e6a47d..d7b082fc65e 100644
--- a/htdocs/compta/bank/virement.php
+++ b/htdocs/compta/bank/virement.php
@@ -193,4 +193,3 @@ print "";
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php
index cb697e6cc70..f7ce301b89c 100644
--- a/htdocs/compta/charges/index.php
+++ b/htdocs/compta/charges/index.php
@@ -358,4 +358,3 @@ if ($conf->tax->enabled)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/clients.php b/htdocs/compta/clients.php
index 4f6719adb14..dbdc8c72368 100644
--- a/htdocs/compta/clients.php
+++ b/htdocs/compta/clients.php
@@ -213,4 +213,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/deplacement/class/deplacement.class.php b/htdocs/compta/deplacement/class/deplacement.class.php
index b5ff84546fd..f47046e2bdd 100644
--- a/htdocs/compta/deplacement/class/deplacement.class.php
+++ b/htdocs/compta/deplacement/class/deplacement.class.php
@@ -449,4 +449,3 @@ class Deplacement extends CommonObject
}
-?>
diff --git a/htdocs/compta/deplacement/class/deplacementstats.class.php b/htdocs/compta/deplacement/class/deplacementstats.class.php
index 82b3e093ecd..196ae560cbe 100644
--- a/htdocs/compta/deplacement/class/deplacementstats.class.php
+++ b/htdocs/compta/deplacement/class/deplacementstats.class.php
@@ -162,4 +162,3 @@ class DeplacementStats extends Stats
}
}
-?>
diff --git a/htdocs/compta/deplacement/document.php b/htdocs/compta/deplacement/document.php
index eed21f3e1cc..163242ed08a 100644
--- a/htdocs/compta/deplacement/document.php
+++ b/htdocs/compta/deplacement/document.php
@@ -134,4 +134,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php
index 1bbe32bc7cc..e0183094d23 100644
--- a/htdocs/compta/deplacement/fiche.php
+++ b/htdocs/compta/deplacement/fiche.php
@@ -543,4 +543,3 @@ else if ($id)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/deplacement/index.php b/htdocs/compta/deplacement/index.php
index b61ea9fd4d5..bded8c261e2 100644
--- a/htdocs/compta/deplacement/index.php
+++ b/htdocs/compta/deplacement/index.php
@@ -195,4 +195,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/deplacement/info.php b/htdocs/compta/deplacement/info.php
index c1db32525ef..dcdc8c9baf0 100644
--- a/htdocs/compta/deplacement/info.php
+++ b/htdocs/compta/deplacement/info.php
@@ -61,4 +61,3 @@ if ($id)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/deplacement/list.php b/htdocs/compta/deplacement/list.php
index 94a3a26a0f3..195bf9023b4 100644
--- a/htdocs/compta/deplacement/list.php
+++ b/htdocs/compta/deplacement/list.php
@@ -158,4 +158,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/deplacement/stats/index.php b/htdocs/compta/deplacement/stats/index.php
index 61f50a08a0e..476b0b12790 100644
--- a/htdocs/compta/deplacement/stats/index.php
+++ b/htdocs/compta/deplacement/stats/index.php
@@ -293,4 +293,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/dons/class/don.class.php b/htdocs/compta/dons/class/don.class.php
index f5d477de48f..f7bd819d969 100644
--- a/htdocs/compta/dons/class/don.class.php
+++ b/htdocs/compta/dons/class/don.class.php
@@ -707,4 +707,3 @@ class Don extends CommonObject
}
}
-?>
diff --git a/htdocs/compta/dons/fiche.php b/htdocs/compta/dons/fiche.php
index b9cf534f8a5..9f9f8793ad5 100644
--- a/htdocs/compta/dons/fiche.php
+++ b/htdocs/compta/dons/fiche.php
@@ -588,4 +588,3 @@ if (! empty($id) && $action != 'edit')
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/dons/index.php b/htdocs/compta/dons/index.php
index bc21b31a37c..30b34b6b85b 100644
--- a/htdocs/compta/dons/index.php
+++ b/htdocs/compta/dons/index.php
@@ -209,4 +209,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/dons/liste.php b/htdocs/compta/dons/liste.php
index f045e82be71..62700ae5cb0 100644
--- a/htdocs/compta/dons/liste.php
+++ b/htdocs/compta/dons/liste.php
@@ -195,4 +195,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/dons/stats.php b/htdocs/compta/dons/stats.php
index b2f71859831..1fbde7c0ce7 100644
--- a/htdocs/compta/dons/stats.php
+++ b/htdocs/compta/dons/stats.php
@@ -82,4 +82,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index 24e01023397..ef276d6a96a 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -3722,4 +3722,3 @@ dol_htmloutput_mesg('', $mesgs);
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/facture/admin/facture_cust_extrafields.php b/htdocs/compta/facture/admin/facture_cust_extrafields.php
index 1056d3148c6..6da617b740c 100644
--- a/htdocs/compta/facture/admin/facture_cust_extrafields.php
+++ b/htdocs/compta/facture/admin/facture_cust_extrafields.php
@@ -157,4 +157,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/compta/facture/class/facture-rec.class.php b/htdocs/compta/facture/class/facture-rec.class.php
index ed9c04806a6..7147f51c613 100644
--- a/htdocs/compta/facture/class/facture-rec.class.php
+++ b/htdocs/compta/facture/class/facture-rec.class.php
@@ -600,4 +600,3 @@ class FactureRec extends Facture
}
}
-?>
diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php
index 8fd424367b8..d1e495edd54 100644
--- a/htdocs/compta/facture/class/facture.class.php
+++ b/htdocs/compta/facture/class/facture.class.php
@@ -3852,4 +3852,3 @@ class FactureLigne extends CommonInvoiceLine
}
}
-?>
diff --git a/htdocs/compta/facture/class/facturestats.class.php b/htdocs/compta/facture/class/facturestats.class.php
index 676160ca846..4028849b5fa 100644
--- a/htdocs/compta/facture/class/facturestats.class.php
+++ b/htdocs/compta/facture/class/facturestats.class.php
@@ -220,4 +220,3 @@ class FactureStats extends Stats
}
-?>
diff --git a/htdocs/compta/facture/class/paymentterm.class.php b/htdocs/compta/facture/class/paymentterm.class.php
index d35fe463109..62ebcbacdbd 100644
--- a/htdocs/compta/facture/class/paymentterm.class.php
+++ b/htdocs/compta/facture/class/paymentterm.class.php
@@ -474,4 +474,3 @@ class PaymentTerm // extends CommonObject
}
}
-?>
diff --git a/htdocs/compta/facture/contact.php b/htdocs/compta/facture/contact.php
index f593d6a1742..c3c629bc68d 100644
--- a/htdocs/compta/facture/contact.php
+++ b/htdocs/compta/facture/contact.php
@@ -202,4 +202,3 @@ if ($id > 0 || ! empty($ref))
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php
index dc38231a2da..2b3fc89d33b 100644
--- a/htdocs/compta/facture/fiche-rec.php
+++ b/htdocs/compta/facture/fiche-rec.php
@@ -603,4 +603,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/facture/impayees.php b/htdocs/compta/facture/impayees.php
index eec9220afa4..d8b40784c0a 100644
--- a/htdocs/compta/facture/impayees.php
+++ b/htdocs/compta/facture/impayees.php
@@ -726,4 +726,3 @@ else dol_print_error($db,'');
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/facture/info.php b/htdocs/compta/facture/info.php
index 1650bbf5b3b..8611381d486 100644
--- a/htdocs/compta/facture/info.php
+++ b/htdocs/compta/facture/info.php
@@ -57,4 +57,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php
index 01c06fee19a..aadd75907ce 100644
--- a/htdocs/compta/facture/list.php
+++ b/htdocs/compta/facture/list.php
@@ -441,4 +441,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php
index 001473b0568..3562a235963 100644
--- a/htdocs/compta/facture/note.php
+++ b/htdocs/compta/facture/note.php
@@ -125,4 +125,3 @@ if ($id > 0 || ! empty($ref))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/facture/prelevement.php b/htdocs/compta/facture/prelevement.php
index 740bd8ea11a..e98c16e520e 100644
--- a/htdocs/compta/facture/prelevement.php
+++ b/htdocs/compta/facture/prelevement.php
@@ -582,4 +582,3 @@ if ($object->id > 0)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/facture/stats/index.php b/htdocs/compta/facture/stats/index.php
index 51747fe04d2..18aeaa722da 100644
--- a/htdocs/compta/facture/stats/index.php
+++ b/htdocs/compta/facture/stats/index.php
@@ -311,4 +311,3 @@ dol_fiche_end();
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/hrm.php b/htdocs/compta/hrm.php
index b50eade0cf4..a8ce6a45714 100644
--- a/htdocs/compta/hrm.php
+++ b/htdocs/compta/hrm.php
@@ -178,4 +178,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php
index d6833f628b7..205aba9a778 100644
--- a/htdocs/compta/index.php
+++ b/htdocs/compta/index.php
@@ -930,4 +930,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/journal/purchasesjournal.php b/htdocs/compta/journal/purchasesjournal.php
index 847a0bda654..52562ed0244 100644
--- a/htdocs/compta/journal/purchasesjournal.php
+++ b/htdocs/compta/journal/purchasesjournal.php
@@ -262,4 +262,3 @@ print "";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/journal/sellsjournal.php b/htdocs/compta/journal/sellsjournal.php
index e6700684dba..931b8757470 100644
--- a/htdocs/compta/journal/sellsjournal.php
+++ b/htdocs/compta/journal/sellsjournal.php
@@ -271,4 +271,3 @@ print "";
// End of page
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/localtax/class/localtax.class.php b/htdocs/compta/localtax/class/localtax.class.php
index acf01db9775..b500a701254 100644
--- a/htdocs/compta/localtax/class/localtax.class.php
+++ b/htdocs/compta/localtax/class/localtax.class.php
@@ -602,4 +602,3 @@ class Localtax extends CommonObject
}
}
-?>
\ No newline at end of file
diff --git a/htdocs/compta/localtax/fiche.php b/htdocs/compta/localtax/fiche.php
index c0fd0770aa6..c8849ba07f9 100644
--- a/htdocs/compta/localtax/fiche.php
+++ b/htdocs/compta/localtax/fiche.php
@@ -263,4 +263,3 @@ $db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/localtax/index.php b/htdocs/compta/localtax/index.php
index 25f0e95fd5c..5a832b7631b 100644
--- a/htdocs/compta/localtax/index.php
+++ b/htdocs/compta/localtax/index.php
@@ -226,4 +226,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/localtax/reglement.php b/htdocs/compta/localtax/reglement.php
index 07d81d81df8..00199dba36f 100644
--- a/htdocs/compta/localtax/reglement.php
+++ b/htdocs/compta/localtax/reglement.php
@@ -94,4 +94,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php
index fc1260ea636..008721ef018 100644
--- a/htdocs/compta/paiement.php
+++ b/htdocs/compta/paiement.php
@@ -743,4 +743,3 @@ if (! GETPOST('action'))
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/paiement/avalider.php b/htdocs/compta/paiement/avalider.php
index 82936395d2a..70e7507b96e 100644
--- a/htdocs/compta/paiement/avalider.php
+++ b/htdocs/compta/paiement/avalider.php
@@ -121,4 +121,3 @@ if ($resql)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/paiement/cheque/class/remisecheque.class.php b/htdocs/compta/paiement/cheque/class/remisecheque.class.php
index 3a4a27e1c37..917c88e0743 100644
--- a/htdocs/compta/paiement/cheque/class/remisecheque.class.php
+++ b/htdocs/compta/paiement/cheque/class/remisecheque.class.php
@@ -839,4 +839,3 @@ class RemiseCheque extends CommonObject
}
}
-?>
diff --git a/htdocs/compta/paiement/cheque/fiche.php b/htdocs/compta/paiement/cheque/fiche.php
index acfca792fa0..fe396976f10 100644
--- a/htdocs/compta/paiement/cheque/fiche.php
+++ b/htdocs/compta/paiement/cheque/fiche.php
@@ -723,4 +723,3 @@ if ($action != 'new')
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/paiement/cheque/index.php b/htdocs/compta/paiement/cheque/index.php
index bcfa32582d4..4e1d6190a4f 100644
--- a/htdocs/compta/paiement/cheque/index.php
+++ b/htdocs/compta/paiement/cheque/index.php
@@ -152,4 +152,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/paiement/cheque/liste.php b/htdocs/compta/paiement/cheque/liste.php
index 7f656a75c79..474b4531295 100644
--- a/htdocs/compta/paiement/cheque/liste.php
+++ b/htdocs/compta/paiement/cheque/liste.php
@@ -153,4 +153,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/paiement/class/paiement.class.php b/htdocs/compta/paiement/class/paiement.class.php
index 7bec03f774b..93f5f017c44 100644
--- a/htdocs/compta/paiement/class/paiement.class.php
+++ b/htdocs/compta/paiement/class/paiement.class.php
@@ -811,4 +811,3 @@ class Paiement extends CommonObject
}
}
-?>
diff --git a/htdocs/compta/paiement/fiche.php b/htdocs/compta/paiement/fiche.php
index c937c6dc3d1..97f3fb9d47c 100644
--- a/htdocs/compta/paiement/fiche.php
+++ b/htdocs/compta/paiement/fiche.php
@@ -401,4 +401,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/paiement/index.php b/htdocs/compta/paiement/index.php
index 4b2fbea3abf..89a57fdc79f 100644
--- a/htdocs/compta/paiement/index.php
+++ b/htdocs/compta/paiement/index.php
@@ -36,4 +36,3 @@ print_fiche_titre("Payments");
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/paiement/info.php b/htdocs/compta/paiement/info.php
index eab917672b2..8cc06397e62 100644
--- a/htdocs/compta/paiement/info.php
+++ b/htdocs/compta/paiement/info.php
@@ -64,4 +64,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/paiement/liste.php b/htdocs/compta/paiement/liste.php
index 70cba5d80d0..6e3e1bc54ff 100644
--- a/htdocs/compta/paiement/liste.php
+++ b/htdocs/compta/paiement/liste.php
@@ -239,4 +239,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php
index eeeaa715718..8cd9a31c783 100644
--- a/htdocs/compta/paiement/rapport.php
+++ b/htdocs/compta/paiement/rapport.php
@@ -168,4 +168,3 @@ if ($year)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php
index b6d30ae01b0..635f28e318b 100644
--- a/htdocs/compta/paiement_charge.php
+++ b/htdocs/compta/paiement_charge.php
@@ -323,4 +323,3 @@ if ($_GET["action"] == 'create')
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/payment_sc/fiche.php b/htdocs/compta/payment_sc/fiche.php
index fd0df83fc1a..3a010bcae37 100644
--- a/htdocs/compta/payment_sc/fiche.php
+++ b/htdocs/compta/payment_sc/fiche.php
@@ -319,4 +319,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/prelevement/bon.php b/htdocs/compta/prelevement/bon.php
index 6853a946c13..20d60c3a55b 100644
--- a/htdocs/compta/prelevement/bon.php
+++ b/htdocs/compta/prelevement/bon.php
@@ -101,4 +101,3 @@ if ($id > 0 || ! empty($ref))
}
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/bons.php b/htdocs/compta/prelevement/bons.php
index cd460f1aac2..d54ad262fb3 100644
--- a/htdocs/compta/prelevement/bons.php
+++ b/htdocs/compta/prelevement/bons.php
@@ -125,4 +125,3 @@ $db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/class/bonprelevement.class.php b/htdocs/compta/prelevement/class/bonprelevement.class.php
index 15a9586cd60..0a881a2f5dd 100644
--- a/htdocs/compta/prelevement/class/bonprelevement.class.php
+++ b/htdocs/compta/prelevement/class/bonprelevement.class.php
@@ -1871,4 +1871,3 @@ class BonPrelevement extends CommonObject
}
-?>
diff --git a/htdocs/compta/prelevement/class/ligneprelevement.class.php b/htdocs/compta/prelevement/class/ligneprelevement.class.php
index a8c5b5f019c..9c4bf96e8b3 100644
--- a/htdocs/compta/prelevement/class/ligneprelevement.class.php
+++ b/htdocs/compta/prelevement/class/ligneprelevement.class.php
@@ -158,4 +158,3 @@ class LignePrelevement
}
}
-?>
diff --git a/htdocs/compta/prelevement/class/rejetprelevement.class.php b/htdocs/compta/prelevement/class/rejetprelevement.class.php
index c49cef23e44..51f9a83ed3c 100644
--- a/htdocs/compta/prelevement/class/rejetprelevement.class.php
+++ b/htdocs/compta/prelevement/class/rejetprelevement.class.php
@@ -357,4 +357,3 @@ class RejetPrelevement
}
-?>
diff --git a/htdocs/compta/prelevement/create.php b/htdocs/compta/prelevement/create.php
index 81bb6794736..a3f7ca2ace8 100644
--- a/htdocs/compta/prelevement/create.php
+++ b/htdocs/compta/prelevement/create.php
@@ -278,4 +278,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/demandes.php b/htdocs/compta/prelevement/demandes.php
index e4889645869..4cd3098bfc3 100644
--- a/htdocs/compta/prelevement/demandes.php
+++ b/htdocs/compta/prelevement/demandes.php
@@ -159,4 +159,3 @@ else
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/factures.php b/htdocs/compta/prelevement/factures.php
index 848998e0e76..eab227145d7 100644
--- a/htdocs/compta/prelevement/factures.php
+++ b/htdocs/compta/prelevement/factures.php
@@ -216,4 +216,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/fiche-rejet.php b/htdocs/compta/prelevement/fiche-rejet.php
index 10d69c3434d..2a32f1a1254 100644
--- a/htdocs/compta/prelevement/fiche-rejet.php
+++ b/htdocs/compta/prelevement/fiche-rejet.php
@@ -181,4 +181,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/fiche-stat.php b/htdocs/compta/prelevement/fiche-stat.php
index 95d28eeadd8..4117c7c1fce 100644
--- a/htdocs/compta/prelevement/fiche-stat.php
+++ b/htdocs/compta/prelevement/fiche-stat.php
@@ -161,4 +161,3 @@ if ($prev_id)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/fiche.php b/htdocs/compta/prelevement/fiche.php
index a4ec2ce9d14..cf9440c3f11 100644
--- a/htdocs/compta/prelevement/fiche.php
+++ b/htdocs/compta/prelevement/fiche.php
@@ -265,4 +265,3 @@ if ($id > 0)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/prelevement/index.php b/htdocs/compta/prelevement/index.php
index 50f80da1c89..911ffde6f99 100644
--- a/htdocs/compta/prelevement/index.php
+++ b/htdocs/compta/prelevement/index.php
@@ -229,4 +229,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/prelevement/ligne.php b/htdocs/compta/prelevement/ligne.php
index d9d993aff40..18405394c9b 100644
--- a/htdocs/compta/prelevement/ligne.php
+++ b/htdocs/compta/prelevement/ligne.php
@@ -330,4 +330,3 @@ if ($id)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/prelevement/lignes.php b/htdocs/compta/prelevement/lignes.php
index 0942554ddd3..451c875293e 100644
--- a/htdocs/compta/prelevement/lignes.php
+++ b/htdocs/compta/prelevement/lignes.php
@@ -221,4 +221,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/liste.php b/htdocs/compta/prelevement/liste.php
index 2cd859969a9..a1db4f7e927 100644
--- a/htdocs/compta/prelevement/liste.php
+++ b/htdocs/compta/prelevement/liste.php
@@ -187,4 +187,3 @@ $db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/rejets.php b/htdocs/compta/prelevement/rejets.php
index b307717e4b3..e8e27d957ea 100644
--- a/htdocs/compta/prelevement/rejets.php
+++ b/htdocs/compta/prelevement/rejets.php
@@ -126,4 +126,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/prelevement/stats.php b/htdocs/compta/prelevement/stats.php
index 3da79a89f0c..2c8607a9a56 100644
--- a/htdocs/compta/prelevement/stats.php
+++ b/htdocs/compta/prelevement/stats.php
@@ -239,4 +239,3 @@ llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/recap-compta.php b/htdocs/compta/recap-compta.php
index 609a624adce..62cb7a631cb 100644
--- a/htdocs/compta/recap-compta.php
+++ b/htdocs/compta/recap-compta.php
@@ -224,4 +224,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/resultat/bilan.php b/htdocs/compta/resultat/bilan.php
index 98878ee8e3b..2f31b9e11b7 100644
--- a/htdocs/compta/resultat/bilan.php
+++ b/htdocs/compta/resultat/bilan.php
@@ -55,4 +55,3 @@ print $langs->trans("FeatureNotYetAvailable");
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php
index 15722966004..c5fd60ccfae 100644
--- a/htdocs/compta/resultat/clientfourn.php
+++ b/htdocs/compta/resultat/clientfourn.php
@@ -761,4 +761,3 @@ print '
';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/resultat/compteres.php b/htdocs/compta/resultat/compteres.php
index 2aa23236e79..b3b6166589f 100644
--- a/htdocs/compta/resultat/compteres.php
+++ b/htdocs/compta/resultat/compteres.php
@@ -50,4 +50,3 @@ print $langs->trans("FeatureNotYetAvailable");
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php
index a56551f234b..b3a42d85a6b 100644
--- a/htdocs/compta/resultat/index.php
+++ b/htdocs/compta/resultat/index.php
@@ -574,4 +574,3 @@ print "";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/salaries/class/paymentsalary.class.php b/htdocs/compta/salaries/class/paymentsalary.class.php
index f94861c31a6..0e4f1210419 100644
--- a/htdocs/compta/salaries/class/paymentsalary.class.php
+++ b/htdocs/compta/salaries/class/paymentsalary.class.php
@@ -517,4 +517,3 @@ class PaymentSalary extends CommonObject
}
}
-?>
diff --git a/htdocs/compta/salaries/fiche.php b/htdocs/compta/salaries/fiche.php
index 1615c297214..26bc30907e0 100644
--- a/htdocs/compta/salaries/fiche.php
+++ b/htdocs/compta/salaries/fiche.php
@@ -377,4 +377,3 @@ if ($id)
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/compta/sociales/charges.php b/htdocs/compta/sociales/charges.php
index 99268fe29f8..fcbf131cb88 100644
--- a/htdocs/compta/sociales/charges.php
+++ b/htdocs/compta/sociales/charges.php
@@ -448,4 +448,3 @@ if ($id > 0)
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/sociales/class/chargesociales.class.php b/htdocs/compta/sociales/class/chargesociales.class.php
index 795d4b99e84..6404d9f26c8 100644
--- a/htdocs/compta/sociales/class/chargesociales.class.php
+++ b/htdocs/compta/sociales/class/chargesociales.class.php
@@ -512,4 +512,3 @@ class ChargeSociales extends CommonObject
}
}
-?>
diff --git a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
index bc7630ebd33..e89f2a273f8 100644
--- a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
+++ b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
@@ -604,4 +604,3 @@ class PaymentSocialContribution extends CommonObject
}
-?>
diff --git a/htdocs/compta/sociales/document.php b/htdocs/compta/sociales/document.php
index 32eb8a50f77..ad5af8f84c2 100644
--- a/htdocs/compta/sociales/document.php
+++ b/htdocs/compta/sociales/document.php
@@ -176,4 +176,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/sociales/index.php b/htdocs/compta/sociales/index.php
index 48d23769cf6..e7f0d3a2b1b 100644
--- a/htdocs/compta/sociales/index.php
+++ b/htdocs/compta/sociales/index.php
@@ -232,4 +232,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/sociales/info.php b/htdocs/compta/sociales/info.php
index bb84d52729a..c41787b7d08 100644
--- a/htdocs/compta/sociales/info.php
+++ b/htdocs/compta/sociales/info.php
@@ -63,4 +63,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/stats/cabyprodserv.php b/htdocs/compta/stats/cabyprodserv.php
index ac82e2e342a..2b2ad5be02f 100644
--- a/htdocs/compta/stats/cabyprodserv.php
+++ b/htdocs/compta/stats/cabyprodserv.php
@@ -396,4 +396,3 @@ if ($modecompta == 'CREANCES-DETTES')
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/stats/cabyuser.php b/htdocs/compta/stats/cabyuser.php
index 7473f71eaf1..708c77708cf 100644
--- a/htdocs/compta/stats/cabyuser.php
+++ b/htdocs/compta/stats/cabyuser.php
@@ -432,4 +432,3 @@ print "";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/stats/casoc.php b/htdocs/compta/stats/casoc.php
index 9745ef16290..fd4afbfdf01 100644
--- a/htdocs/compta/stats/casoc.php
+++ b/htdocs/compta/stats/casoc.php
@@ -503,4 +503,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php
index 8cdbb8ddad4..59a7e478f9b 100644
--- a/htdocs/compta/stats/index.php
+++ b/htdocs/compta/stats/index.php
@@ -540,4 +540,3 @@ print "";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/tva/class/tva.class.php b/htdocs/compta/tva/class/tva.class.php
index 94c1f3d3cee..c605c97fed9 100644
--- a/htdocs/compta/tva/class/tva.class.php
+++ b/htdocs/compta/tva/class/tva.class.php
@@ -660,4 +660,3 @@ class Tva extends CommonObject
}
}
-?>
diff --git a/htdocs/compta/tva/clients.php b/htdocs/compta/tva/clients.php
index 84857a35130..422354ee7c3 100644
--- a/htdocs/compta/tva/clients.php
+++ b/htdocs/compta/tva/clients.php
@@ -354,4 +354,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/tva/fiche.php b/htdocs/compta/tva/fiche.php
index d4accc5134d..65c4285d7d1 100644
--- a/htdocs/compta/tva/fiche.php
+++ b/htdocs/compta/tva/fiche.php
@@ -315,4 +315,3 @@ if ($id)
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/tva/index.php b/htdocs/compta/tva/index.php
index 91094e7b52d..d6bace79d73 100644
--- a/htdocs/compta/tva/index.php
+++ b/htdocs/compta/tva/index.php
@@ -256,4 +256,3 @@ echo '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/tva/quadri.php b/htdocs/compta/tva/quadri.php
index b97eca7bacb..0e22dc77f1b 100644
--- a/htdocs/compta/tva/quadri.php
+++ b/htdocs/compta/tva/quadri.php
@@ -318,4 +318,3 @@ echo '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/tva/quadri_detail.php b/htdocs/compta/tva/quadri_detail.php
index 82585b191ac..681448e901e 100644
--- a/htdocs/compta/tva/quadri_detail.php
+++ b/htdocs/compta/tva/quadri_detail.php
@@ -640,4 +640,3 @@ echo '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/tva/reglement.php b/htdocs/compta/tva/reglement.php
index 6183207e115..c10f7f4509c 100644
--- a/htdocs/compta/tva/reglement.php
+++ b/htdocs/compta/tva/reglement.php
@@ -180,4 +180,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/ventilation/fiche.php b/htdocs/compta/ventilation/fiche.php
index ddd3df02da9..b55f2b59475 100644
--- a/htdocs/compta/ventilation/fiche.php
+++ b/htdocs/compta/ventilation/fiche.php
@@ -163,4 +163,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/ventilation/fournisseur/fiche.php b/htdocs/compta/ventilation/fournisseur/fiche.php
index c6d33e99c3a..168b99eea35 100644
--- a/htdocs/compta/ventilation/fournisseur/fiche.php
+++ b/htdocs/compta/ventilation/fournisseur/fiche.php
@@ -147,4 +147,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/ventilation/fournisseur/index.php b/htdocs/compta/ventilation/fournisseur/index.php
index 636891e7c18..ebd4d2c4af5 100644
--- a/htdocs/compta/ventilation/fournisseur/index.php
+++ b/htdocs/compta/ventilation/fournisseur/index.php
@@ -125,4 +125,3 @@ print '';
llxFooter();
-?>
diff --git a/htdocs/compta/ventilation/fournisseur/lignes.php b/htdocs/compta/ventilation/fournisseur/lignes.php
index 0a27fb3ddaa..cb2a0e1439a 100644
--- a/htdocs/compta/ventilation/fournisseur/lignes.php
+++ b/htdocs/compta/ventilation/fournisseur/lignes.php
@@ -112,4 +112,3 @@ print "";
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/ventilation/fournisseur/liste.php b/htdocs/compta/ventilation/fournisseur/liste.php
index 83256709771..e3eb4cf487d 100644
--- a/htdocs/compta/ventilation/fournisseur/liste.php
+++ b/htdocs/compta/ventilation/fournisseur/liste.php
@@ -103,4 +103,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/compta/ventilation/index.php b/htdocs/compta/ventilation/index.php
index f98b3ed7ac1..8b9710844a7 100644
--- a/htdocs/compta/ventilation/index.php
+++ b/htdocs/compta/ventilation/index.php
@@ -100,4 +100,3 @@ print '';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/ventilation/lignes.php b/htdocs/compta/ventilation/lignes.php
index fbc86557178..46276937afe 100644
--- a/htdocs/compta/ventilation/lignes.php
+++ b/htdocs/compta/ventilation/lignes.php
@@ -139,4 +139,3 @@ print "";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/compta/ventilation/liste.php b/htdocs/compta/ventilation/liste.php
index 4cfe167d60c..effa7689821 100644
--- a/htdocs/compta/ventilation/liste.php
+++ b/htdocs/compta/ventilation/liste.php
@@ -127,4 +127,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contact/canvas/actions_contactcard_common.class.php b/htdocs/contact/canvas/actions_contactcard_common.class.php
index c0b59744630..135431316a6 100644
--- a/htdocs/contact/canvas/actions_contactcard_common.class.php
+++ b/htdocs/contact/canvas/actions_contactcard_common.class.php
@@ -468,4 +468,3 @@ abstract class ActionsContactCardCommon
}
-?>
diff --git a/htdocs/contact/canvas/default/actions_contactcard_default.class.php b/htdocs/contact/canvas/default/actions_contactcard_default.class.php
index 34967019af9..b39114cb3f5 100644
--- a/htdocs/contact/canvas/default/actions_contactcard_default.class.php
+++ b/htdocs/contact/canvas/default/actions_contactcard_default.class.php
@@ -144,4 +144,3 @@ class ActionsContactCardDefault extends ActionsContactCardCommon
}
}
-?>
\ No newline at end of file
diff --git a/htdocs/contact/exportimport.php b/htdocs/contact/exportimport.php
index 5149eed9efb..bcb3b9c2be0 100644
--- a/htdocs/contact/exportimport.php
+++ b/htdocs/contact/exportimport.php
@@ -110,4 +110,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php
index 08f3bb2c062..7d682dfebd2 100644
--- a/htdocs/contact/fiche.php
+++ b/htdocs/contact/fiche.php
@@ -1082,4 +1082,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contact/info.php b/htdocs/contact/info.php
index 939b0252623..53777ce3e40 100644
--- a/htdocs/contact/info.php
+++ b/htdocs/contact/info.php
@@ -64,4 +64,3 @@ print "";
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contact/ldap.php b/htdocs/contact/ldap.php
index f284ee1834d..1681324323a 100644
--- a/htdocs/contact/ldap.php
+++ b/htdocs/contact/ldap.php
@@ -213,4 +213,3 @@ print '';
$db->close();
llxFooter();
-?>
diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php
index 1b8cba0d88e..8e1d54944c0 100644
--- a/htdocs/contact/list.php
+++ b/htdocs/contact/list.php
@@ -438,4 +438,3 @@ print '
';
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contact/note.php b/htdocs/contact/note.php
index 4adb109b89f..73b0f513db9 100644
--- a/htdocs/contact/note.php
+++ b/htdocs/contact/note.php
@@ -155,4 +155,3 @@ if ($id > 0)
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/contact/vcard.php b/htdocs/contact/vcard.php
index 76d73133e0f..e78c298c541 100644
--- a/htdocs/contact/vcard.php
+++ b/htdocs/contact/vcard.php
@@ -101,4 +101,3 @@ header("Content-Type: text/x-vcard; name=\"".$filename."\"");
print $output;
-?>
diff --git a/htdocs/contrat/admin/contract_extrafields.php b/htdocs/contrat/admin/contract_extrafields.php
index e5e8e9ead03..227ef23f741 100644
--- a/htdocs/contrat/admin/contract_extrafields.php
+++ b/htdocs/contrat/admin/contract_extrafields.php
@@ -157,4 +157,3 @@ if ($action == 'edit' && ! empty($attrname))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php
index 26819e1580a..f5b158e2161 100644
--- a/htdocs/contrat/class/contrat.class.php
+++ b/htdocs/contrat/class/contrat.class.php
@@ -2207,4 +2207,3 @@ class ContratLigne
}
-?>
diff --git a/htdocs/contrat/contact.php b/htdocs/contrat/contact.php
index d01f01e16cc..dcec3598e7f 100644
--- a/htdocs/contrat/contact.php
+++ b/htdocs/contrat/contact.php
@@ -185,4 +185,3 @@ if ($id > 0 || ! empty($ref))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contrat/document.php b/htdocs/contrat/document.php
index 0432f16b31b..e17a0c67389 100644
--- a/htdocs/contrat/document.php
+++ b/htdocs/contrat/document.php
@@ -136,4 +136,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php
index 4c0873d73aa..5b67add45f6 100644
--- a/htdocs/contrat/fiche.php
+++ b/htdocs/contrat/fiche.php
@@ -1726,4 +1726,3 @@ $(document).ready(function() {
diff --git a/htdocs/contrat/index.php b/htdocs/contrat/index.php
index 05ee288b42c..772b0e1ecdc 100644
--- a/htdocs/contrat/index.php
+++ b/htdocs/contrat/index.php
@@ -610,4 +610,3 @@ print '';
llxFooter();
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/contrat/liste.php b/htdocs/contrat/liste.php
index da0dc33a271..e1e49a5d7fd 100644
--- a/htdocs/contrat/liste.php
+++ b/htdocs/contrat/liste.php
@@ -167,4 +167,3 @@ else
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contrat/note.php b/htdocs/contrat/note.php
index 05c4608da8a..3ac3ca47496 100644
--- a/htdocs/contrat/note.php
+++ b/htdocs/contrat/note.php
@@ -110,4 +110,3 @@ if ($id > 0 || ! empty($ref))
llxFooter();
$db->close();
-?>
diff --git a/htdocs/contrat/services.php b/htdocs/contrat/services.php
index d3d20761bc3..382dcad5e93 100644
--- a/htdocs/contrat/services.php
+++ b/htdocs/contrat/services.php
@@ -274,4 +274,3 @@ else
$db->close();
llxFooter();
-?>
diff --git a/htdocs/core/actions_extrafields.inc.php b/htdocs/core/actions_extrafields.inc.php
index 70b173ab014..55a538a2195 100644
--- a/htdocs/core/actions_extrafields.inc.php
+++ b/htdocs/core/actions_extrafields.inc.php
@@ -328,4 +328,3 @@ if ($action == 'delete')
}
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/ajax/ajaxdirtree.php b/htdocs/core/ajax/ajaxdirtree.php
index 640c64f40f7..b4ceaeaced1 100644
--- a/htdocs/core/ajax/ajaxdirtree.php
+++ b/htdocs/core/ajax/ajaxdirtree.php
@@ -228,4 +228,3 @@ if (file_exists($fullpathselecteddir))
//print '';
if (is_object($db)) $db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/core/ajax/box.php b/htdocs/core/ajax/box.php
index 50305655dcd..2d14a319a80 100644
--- a/htdocs/core/ajax/box.php
+++ b/htdocs/core/ajax/box.php
@@ -71,4 +71,3 @@ if ($boxorder && $zone != '' && $userid > 0)
$result=InfoBox::saveboxorder($db,$zone,$boxorder,$userid);
}
-?>
diff --git a/htdocs/core/ajax/constantonoff.php b/htdocs/core/ajax/constantonoff.php
index bfce5582954..bbcd19b5234 100644
--- a/htdocs/core/ajax/constantonoff.php
+++ b/htdocs/core/ajax/constantonoff.php
@@ -65,4 +65,3 @@ if (! empty($action) && ! empty($name))
}
}
-?>
diff --git a/htdocs/core/ajax/contacts.php b/htdocs/core/ajax/contacts.php
index 5a9978e2110..c4f3d79da52 100644
--- a/htdocs/core/ajax/contacts.php
+++ b/htdocs/core/ajax/contacts.php
@@ -55,4 +55,3 @@ if (! empty($id) && ! empty($action) && ! empty($htmlname))
echo json_encode($return);
}
-?>
diff --git a/htdocs/core/ajax/extraparams.php b/htdocs/core/ajax/extraparams.php
index 20453d63303..510ef8a1cf8 100644
--- a/htdocs/core/ajax/extraparams.php
+++ b/htdocs/core/ajax/extraparams.php
@@ -76,4 +76,3 @@ if(! empty($id) && ! empty($element) && ! empty($htmlelement) && ! empty($type))
$result=$object->setExtraParameters();
}
-?>
diff --git a/htdocs/core/ajax/fileupload.php b/htdocs/core/ajax/fileupload.php
index 3258e52a9d6..6eb4d5836b8 100644
--- a/htdocs/core/ajax/fileupload.php
+++ b/htdocs/core/ajax/fileupload.php
@@ -80,4 +80,3 @@ switch ($_SERVER['REQUEST_METHOD']) {
$db->close();
-?>
\ No newline at end of file
diff --git a/htdocs/core/ajax/price.php b/htdocs/core/ajax/price.php
index 7691b723ea8..5c891df14d5 100644
--- a/htdocs/core/ajax/price.php
+++ b/htdocs/core/ajax/price.php
@@ -67,4 +67,3 @@ if (! empty($output) && isset($amount) && isset($tva_tx))
echo json_encode($return);
}
-?>
diff --git a/htdocs/core/ajax/row.php b/htdocs/core/ajax/row.php
index 9a5ecd3562c..27ed37348cc 100644
--- a/htdocs/core/ajax/row.php
+++ b/htdocs/core/ajax/row.php
@@ -70,4 +70,3 @@ if ((isset($_POST['roworder']) && ! empty($_POST['roworder'])) && (isset($_POST[
}
}
-?>
diff --git a/htdocs/core/ajax/saveinplace.php b/htdocs/core/ajax/saveinplace.php
index 3ba7a37813e..4d0ab65a941 100644
--- a/htdocs/core/ajax/saveinplace.php
+++ b/htdocs/core/ajax/saveinplace.php
@@ -199,4 +199,3 @@ if (! empty($field) && ! empty($element) && ! empty($table_element) && ! empty($
}
}
-?>
diff --git a/htdocs/core/ajax/security.php b/htdocs/core/ajax/security.php
index c7aeaa9c4be..5bdd45c75d4 100644
--- a/htdocs/core/ajax/security.php
+++ b/htdocs/core/ajax/security.php
@@ -53,4 +53,3 @@ if (isset($_GET['action']) && ! empty($_GET['action']))
}
}
-?>
diff --git a/htdocs/core/ajax/vatrates.php b/htdocs/core/ajax/vatrates.php
index 861ff1d0442..fc30a13afec 100644
--- a/htdocs/core/ajax/vatrates.php
+++ b/htdocs/core/ajax/vatrates.php
@@ -71,4 +71,3 @@ if (! empty($id) && ! empty($action) && ! empty($htmlname))
echo json_encode($return);
}
-?>
diff --git a/htdocs/core/ajax/ziptown.php b/htdocs/core/ajax/ziptown.php
index 47cb887c0cc..80f6cd9bd63 100644
--- a/htdocs/core/ajax/ziptown.php
+++ b/htdocs/core/ajax/ziptown.php
@@ -134,4 +134,3 @@ else
$db->close();
-?>
diff --git a/htdocs/core/antispamimage.php b/htdocs/core/antispamimage.php
index a8830a5a4eb..c3bc217e100 100644
--- a/htdocs/core/antispamimage.php
+++ b/htdocs/core/antispamimage.php
@@ -65,4 +65,3 @@ $ecriture_color = imagecolorallocate($img, 0, 0, 0);
imagestring($img, 4, 24, 8, $string, $ecriture_color);
imagepng($img);
-?>
\ No newline at end of file
diff --git a/htdocs/core/boxes/box_activity.php b/htdocs/core/boxes/box_activity.php
index bddeb4b957e..986b6c2c2b9 100644
--- a/htdocs/core/boxes/box_activity.php
+++ b/htdocs/core/boxes/box_activity.php
@@ -301,4 +301,3 @@ class box_activity extends ModeleBoxes
parent::showBox($this->info_box_head, $this->info_box_contents);
}
}
-?>
diff --git a/htdocs/core/boxes/box_bookmarks.php b/htdocs/core/boxes/box_bookmarks.php
index 4f3726d8946..5cb1e3ddad4 100644
--- a/htdocs/core/boxes/box_bookmarks.php
+++ b/htdocs/core/boxes/box_bookmarks.php
@@ -133,4 +133,3 @@ class box_bookmarks extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_clients.php b/htdocs/core/boxes/box_clients.php
index a2da1ae60e3..b2ad0a6b718 100644
--- a/htdocs/core/boxes/box_clients.php
+++ b/htdocs/core/boxes/box_clients.php
@@ -136,4 +136,3 @@ class box_clients extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_commandes.php b/htdocs/core/boxes/box_commandes.php
index 9f3001f1c31..1b7de3cca7f 100644
--- a/htdocs/core/boxes/box_commandes.php
+++ b/htdocs/core/boxes/box_commandes.php
@@ -144,4 +144,3 @@ class box_commandes extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_comptes.php b/htdocs/core/boxes/box_comptes.php
index 2973480b991..8fdc4aff39e 100644
--- a/htdocs/core/boxes/box_comptes.php
+++ b/htdocs/core/boxes/box_comptes.php
@@ -177,4 +177,3 @@ class box_comptes extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_contacts.php b/htdocs/core/boxes/box_contacts.php
index 053d7d67329..56192aef51e 100644
--- a/htdocs/core/boxes/box_contacts.php
+++ b/htdocs/core/boxes/box_contacts.php
@@ -147,4 +147,3 @@ class box_contacts extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_contracts.php b/htdocs/core/boxes/box_contracts.php
index 4f534f2b49d..26c3f269f3d 100644
--- a/htdocs/core/boxes/box_contracts.php
+++ b/htdocs/core/boxes/box_contracts.php
@@ -154,4 +154,3 @@ class box_contracts extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_external_rss.php b/htdocs/core/boxes/box_external_rss.php
index 09b56cff52e..354e79151f1 100644
--- a/htdocs/core/boxes/box_external_rss.php
+++ b/htdocs/core/boxes/box_external_rss.php
@@ -169,4 +169,3 @@ class box_external_rss extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_factures.php b/htdocs/core/boxes/box_factures.php
index 13a1dd2c223..18d276b0130 100644
--- a/htdocs/core/boxes/box_factures.php
+++ b/htdocs/core/boxes/box_factures.php
@@ -160,4 +160,3 @@ class box_factures extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_factures_fourn.php b/htdocs/core/boxes/box_factures_fourn.php
index 26ecd1247e8..d9cfa9bf5cd 100644
--- a/htdocs/core/boxes/box_factures_fourn.php
+++ b/htdocs/core/boxes/box_factures_fourn.php
@@ -160,4 +160,3 @@ class box_factures_fourn extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_factures_fourn_imp.php b/htdocs/core/boxes/box_factures_fourn_imp.php
index 316ee7b086a..742bd04cf82 100644
--- a/htdocs/core/boxes/box_factures_fourn_imp.php
+++ b/htdocs/core/boxes/box_factures_fourn_imp.php
@@ -157,4 +157,3 @@ class box_factures_fourn_imp extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_factures_imp.php b/htdocs/core/boxes/box_factures_imp.php
index 85a383b0ec9..72c34dee559 100644
--- a/htdocs/core/boxes/box_factures_imp.php
+++ b/htdocs/core/boxes/box_factures_imp.php
@@ -155,4 +155,3 @@ class box_factures_imp extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_ficheinter.php b/htdocs/core/boxes/box_ficheinter.php
index cc7464ec3e9..3413548c1fd 100644
--- a/htdocs/core/boxes/box_ficheinter.php
+++ b/htdocs/core/boxes/box_ficheinter.php
@@ -155,4 +155,3 @@ class box_ficheinter extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_fournisseurs.php b/htdocs/core/boxes/box_fournisseurs.php
index df6505e0c94..0157e5acada 100644
--- a/htdocs/core/boxes/box_fournisseurs.php
+++ b/htdocs/core/boxes/box_fournisseurs.php
@@ -132,4 +132,3 @@ class box_fournisseurs extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_graph_invoices_permonth.php b/htdocs/core/boxes/box_graph_invoices_permonth.php
index f9647c4e4ca..bece2e55c6f 100644
--- a/htdocs/core/boxes/box_graph_invoices_permonth.php
+++ b/htdocs/core/boxes/box_graph_invoices_permonth.php
@@ -266,4 +266,3 @@ class box_graph_invoices_permonth extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
index e985ca62912..4214a9a81b8 100644
--- a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
+++ b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
@@ -265,4 +265,3 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_graph_orders_permonth.php b/htdocs/core/boxes/box_graph_orders_permonth.php
index ce4008761b7..7389c2c6b8b 100644
--- a/htdocs/core/boxes/box_graph_orders_permonth.php
+++ b/htdocs/core/boxes/box_graph_orders_permonth.php
@@ -266,4 +266,3 @@ class box_graph_orders_permonth extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php
index 7abdd742d23..788528b501f 100644
--- a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php
+++ b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php
@@ -265,4 +265,3 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_graph_product_distribution.php b/htdocs/core/boxes/box_graph_product_distribution.php
index dd8f7512eb1..a05c4baf5ad 100644
--- a/htdocs/core/boxes/box_graph_product_distribution.php
+++ b/htdocs/core/boxes/box_graph_product_distribution.php
@@ -387,4 +387,3 @@ class box_graph_product_distribution extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_graph_propales_permonth.php b/htdocs/core/boxes/box_graph_propales_permonth.php
index a934fb8e377..d80d40c64f2 100644
--- a/htdocs/core/boxes/box_graph_propales_permonth.php
+++ b/htdocs/core/boxes/box_graph_propales_permonth.php
@@ -271,4 +271,3 @@ class box_graph_propales_permonth extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_members.php b/htdocs/core/boxes/box_members.php
index 2e0b41f9451..966a8ab7d10 100644
--- a/htdocs/core/boxes/box_members.php
+++ b/htdocs/core/boxes/box_members.php
@@ -161,4 +161,3 @@ class box_members extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_osc_client.php b/htdocs/core/boxes/box_osc_client.php
index 1d487b577ad..956811ea4e3 100644
--- a/htdocs/core/boxes/box_osc_client.php
+++ b/htdocs/core/boxes/box_osc_client.php
@@ -110,4 +110,3 @@ class box_osc_clients extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_produits.php b/htdocs/core/boxes/box_produits.php
index 0db58e0d797..30669c4f392 100644
--- a/htdocs/core/boxes/box_produits.php
+++ b/htdocs/core/boxes/box_produits.php
@@ -165,4 +165,3 @@ class box_produits extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_produits_alerte_stock.php b/htdocs/core/boxes/box_produits_alerte_stock.php
index 826f11b97e9..ec526a76492 100644
--- a/htdocs/core/boxes/box_produits_alerte_stock.php
+++ b/htdocs/core/boxes/box_produits_alerte_stock.php
@@ -173,4 +173,3 @@ class box_produits_alerte_stock extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_propales.php b/htdocs/core/boxes/box_propales.php
index 3c52900019a..73e554de2b6 100644
--- a/htdocs/core/boxes/box_propales.php
+++ b/htdocs/core/boxes/box_propales.php
@@ -150,4 +150,3 @@ class box_propales extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_prospect.php b/htdocs/core/boxes/box_prospect.php
index ec839323174..9c7a666bc4a 100644
--- a/htdocs/core/boxes/box_prospect.php
+++ b/htdocs/core/boxes/box_prospect.php
@@ -139,4 +139,3 @@ class box_prospect extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_services_contracts.php b/htdocs/core/boxes/box_services_contracts.php
index d26c8ed0b91..264178cc3ea 100644
--- a/htdocs/core/boxes/box_services_contracts.php
+++ b/htdocs/core/boxes/box_services_contracts.php
@@ -170,4 +170,3 @@ class box_services_contracts extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_services_expired.php b/htdocs/core/boxes/box_services_expired.php
index eb9b12a31bd..5e488b3c6db 100644
--- a/htdocs/core/boxes/box_services_expired.php
+++ b/htdocs/core/boxes/box_services_expired.php
@@ -152,4 +152,3 @@ class box_services_expired extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/box_supplier_orders.php b/htdocs/core/boxes/box_supplier_orders.php
index 74beff90c7f..a976112c1ad 100644
--- a/htdocs/core/boxes/box_supplier_orders.php
+++ b/htdocs/core/boxes/box_supplier_orders.php
@@ -148,4 +148,3 @@ class box_supplier_orders extends ModeleBoxes
}
-?>
diff --git a/htdocs/core/boxes/modules_boxes.php b/htdocs/core/boxes/modules_boxes.php
index 7d77c5f9828..7b54f0440a0 100644
--- a/htdocs/core/boxes/modules_boxes.php
+++ b/htdocs/core/boxes/modules_boxes.php
@@ -266,4 +266,3 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty"
}
-?>
diff --git a/htdocs/core/class/CMailFile.class.php b/htdocs/core/class/CMailFile.class.php
index 7cf25b9992a..d766fa4a813 100644
--- a/htdocs/core/class/CMailFile.class.php
+++ b/htdocs/core/class/CMailFile.class.php
@@ -1080,4 +1080,3 @@ class CMailFile
}
}
-?>
diff --git a/htdocs/core/class/CSMSFile.class.php b/htdocs/core/class/CSMSFile.class.php
index 87291f70a6f..7d0bf5fad0c 100644
--- a/htdocs/core/class/CSMSFile.class.php
+++ b/htdocs/core/class/CSMSFile.class.php
@@ -241,4 +241,3 @@ class CSMSFile
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php
index ecc66e33049..7769f6e4bd0 100644
--- a/htdocs/core/class/commondocgenerator.class.php
+++ b/htdocs/core/class/commondocgenerator.class.php
@@ -547,4 +547,3 @@ abstract class CommonDocGenerator
}
}
-?>
diff --git a/htdocs/core/class/commoninvoice.class.php b/htdocs/core/class/commoninvoice.class.php
index 5c9d6257fb9..80d719decae 100644
--- a/htdocs/core/class/commoninvoice.class.php
+++ b/htdocs/core/class/commoninvoice.class.php
@@ -297,4 +297,3 @@ abstract class CommonInvoiceLine extends CommonObject
{
}
-?>
diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index d40544217c6..7fbcc9d8b74 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -3349,4 +3349,3 @@ abstract class CommonObject
}
}
-?>
diff --git a/htdocs/core/class/commonobjectline.class.php b/htdocs/core/class/commonobjectline.class.php
index 662b0050eed..bb253d2eded 100644
--- a/htdocs/core/class/commonobjectline.class.php
+++ b/htdocs/core/class/commonobjectline.class.php
@@ -31,4 +31,3 @@ abstract class CommonObjectLine
}
-?>
diff --git a/htdocs/core/class/commonorder.class.php b/htdocs/core/class/commonorder.class.php
index 302894009e5..469e1676a53 100644
--- a/htdocs/core/class/commonorder.class.php
+++ b/htdocs/core/class/commonorder.class.php
@@ -41,4 +41,3 @@ abstract class CommonOrderLine extends CommonObject
}
-?>
diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php
index 307e43bb378..e5e4d5b634c 100644
--- a/htdocs/core/class/conf.class.php
+++ b/htdocs/core/class/conf.class.php
@@ -501,4 +501,3 @@ class Conf
}
}
-?>
diff --git a/htdocs/core/class/cookie.class.php b/htdocs/core/class/cookie.class.php
index 5d3d5352626..0797be330bf 100644
--- a/htdocs/core/class/cookie.class.php
+++ b/htdocs/core/class/cookie.class.php
@@ -144,4 +144,3 @@ class DolCookie
}
-?>
diff --git a/htdocs/core/class/cpays.class.php b/htdocs/core/class/cpays.class.php
index 6c9bce8daa8..e6db8e4b2e9 100644
--- a/htdocs/core/class/cpays.class.php
+++ b/htdocs/core/class/cpays.class.php
@@ -312,4 +312,3 @@ class Cpays // extends CommonObject
}
}
-?>
diff --git a/htdocs/core/class/ctypent.class.php b/htdocs/core/class/ctypent.class.php
index b791746c652..33070f83412 100644
--- a/htdocs/core/class/ctypent.class.php
+++ b/htdocs/core/class/ctypent.class.php
@@ -317,4 +317,3 @@ class Ctypent // extends CommonObject
}
}
-?>
diff --git a/htdocs/core/class/discount.class.php b/htdocs/core/class/discount.class.php
index 78c0add9aab..23ce9f97f6d 100644
--- a/htdocs/core/class/discount.class.php
+++ b/htdocs/core/class/discount.class.php
@@ -480,4 +480,3 @@ class DiscountAbsolute
$this->description = 'Specimen discount';
}
}
-?>
diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php
index 04b4751bdb0..c575467d32e 100644
--- a/htdocs/core/class/doleditor.class.php
+++ b/htdocs/core/class/doleditor.class.php
@@ -244,4 +244,3 @@ class DolEditor
}
-?>
diff --git a/htdocs/core/class/dolgeoip.class.php b/htdocs/core/class/dolgeoip.class.php
index 14364ea7902..9844e6b74c9 100644
--- a/htdocs/core/class/dolgeoip.class.php
+++ b/htdocs/core/class/dolgeoip.class.php
@@ -149,4 +149,3 @@ class DolGeoIP
}
}
}
-?>
diff --git a/htdocs/core/class/dolgraph.class.php b/htdocs/core/class/dolgraph.class.php
index f1e66695831..33888b057b7 100644
--- a/htdocs/core/class/dolgraph.class.php
+++ b/htdocs/core/class/dolgraph.class.php
@@ -1048,4 +1048,3 @@ class DolGraph
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/class/events.class.php b/htdocs/core/class/events.class.php
index 317f0d3832b..b344a0c4059 100644
--- a/htdocs/core/class/events.class.php
+++ b/htdocs/core/class/events.class.php
@@ -283,4 +283,3 @@ class Events // extends CommonObject
}
}
-?>
diff --git a/htdocs/core/class/genericobject.class.php b/htdocs/core/class/genericobject.class.php
index 6a998970fd7..c198525a07b 100644
--- a/htdocs/core/class/genericobject.class.php
+++ b/htdocs/core/class/genericobject.class.php
@@ -44,4 +44,3 @@ class GenericObject extends CommonObject
}
-?>
diff --git a/htdocs/core/class/hookmanager.class.php b/htdocs/core/class/hookmanager.class.php
index 53a8f052394..3afcd941ee9 100644
--- a/htdocs/core/class/hookmanager.class.php
+++ b/htdocs/core/class/hookmanager.class.php
@@ -223,4 +223,3 @@ class HookManager
}
-?>
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index c26c4d3b8c0..385e6802be3 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -4275,4 +4275,3 @@ class Form
}
-?>
diff --git a/htdocs/core/class/html.formadmin.class.php b/htdocs/core/class/html.formadmin.class.php
index cf23a0871a5..f7a6154706f 100644
--- a/htdocs/core/class/html.formadmin.class.php
+++ b/htdocs/core/class/html.formadmin.class.php
@@ -384,4 +384,3 @@ class FormAdmin
return $out;
}
}
-?>
diff --git a/htdocs/core/class/html.formbank.class.php b/htdocs/core/class/html.formbank.class.php
index 85dd303fd64..647688bb641 100644
--- a/htdocs/core/class/html.formbank.class.php
+++ b/htdocs/core/class/html.formbank.class.php
@@ -78,4 +78,3 @@ class FormBank
}
-?>
diff --git a/htdocs/core/class/html.formbarcode.class.php b/htdocs/core/class/html.formbarcode.class.php
index a5614c98071..11a59614be0 100644
--- a/htdocs/core/class/html.formbarcode.class.php
+++ b/htdocs/core/class/html.formbarcode.class.php
@@ -181,4 +181,3 @@ class FormBarCode
}
-?>
diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php
index 3f7dd507afc..a72eebc9fb8 100644
--- a/htdocs/core/class/html.formcompany.class.php
+++ b/htdocs/core/class/html.formcompany.class.php
@@ -771,4 +771,3 @@ class FormCompany
}
-?>
diff --git a/htdocs/core/class/html.formcontract.class.php b/htdocs/core/class/html.formcontract.class.php
index dc794f77ebe..cfc5be29b92 100644
--- a/htdocs/core/class/html.formcontract.class.php
+++ b/htdocs/core/class/html.formcontract.class.php
@@ -138,4 +138,3 @@ class FormContract
}
}
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index d0f3010b0c5..b9f5e7e1bc1 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -656,4 +656,3 @@ class FormMail
}
}
-?>
diff --git a/htdocs/core/class/html.formorder.class.php b/htdocs/core/class/html.formorder.class.php
index 8985428f192..6bc626b13f3 100644
--- a/htdocs/core/class/html.formorder.class.php
+++ b/htdocs/core/class/html.formorder.class.php
@@ -141,4 +141,3 @@ class FormOrder
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/class/html.formpropal.class.php b/htdocs/core/class/html.formpropal.class.php
index 101feda9e5d..fcbe46ab51b 100644
--- a/htdocs/core/class/html.formpropal.class.php
+++ b/htdocs/core/class/html.formpropal.class.php
@@ -102,4 +102,3 @@ class FormPropal
}
-?>
diff --git a/htdocs/core/class/html.formsms.class.php b/htdocs/core/class/html.formsms.class.php
index d34cc9b1bfb..055472658ec 100644
--- a/htdocs/core/class/html.formsms.class.php
+++ b/htdocs/core/class/html.formsms.class.php
@@ -336,4 +336,3 @@ function limitChars(textarea, limit, infodiv)
}
-?>
diff --git a/htdocs/core/class/html.formsocialcontrib.class.php b/htdocs/core/class/html.formsocialcontrib.class.php
index 6ca8e3affb9..f84f14c1446 100644
--- a/htdocs/core/class/html.formsocialcontrib.class.php
+++ b/htdocs/core/class/html.formsocialcontrib.class.php
@@ -114,4 +114,3 @@ class FormSocialContrib
}
-?>
diff --git a/htdocs/core/class/infobox.class.php b/htdocs/core/class/infobox.class.php
index 2e04fdfa752..c01d2d1f0f5 100644
--- a/htdocs/core/class/infobox.class.php
+++ b/htdocs/core/class/infobox.class.php
@@ -276,4 +276,3 @@ class InfoBox
}
-?>
diff --git a/htdocs/core/class/interfaces.class.php b/htdocs/core/class/interfaces.class.php
index 1b49760b5bd..d15eb42fe51 100644
--- a/htdocs/core/class/interfaces.class.php
+++ b/htdocs/core/class/interfaces.class.php
@@ -321,4 +321,3 @@ class Interfaces
}
}
-?>
diff --git a/htdocs/core/class/ldap.class.php b/htdocs/core/class/ldap.class.php
index 0f7d4a00482..30eeca5a486 100644
--- a/htdocs/core/class/ldap.class.php
+++ b/htdocs/core/class/ldap.class.php
@@ -1380,4 +1380,3 @@ class Ldap
}
-?>
diff --git a/htdocs/core/class/menubase.class.php b/htdocs/core/class/menubase.class.php
index a754cc124e8..966b9ac7f77 100644
--- a/htdocs/core/class/menubase.class.php
+++ b/htdocs/core/class/menubase.class.php
@@ -643,4 +643,3 @@ class Menubase
}
-?>
diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php
index f24b9fe63de..705a39ab636 100644
--- a/htdocs/core/class/notify.class.php
+++ b/htdocs/core/class/notify.class.php
@@ -252,4 +252,3 @@ class Notify
}
-?>
diff --git a/htdocs/core/class/openid.class.php b/htdocs/core/class/openid.class.php
index 0b4652fb0bf..5165dcb4994 100644
--- a/htdocs/core/class/openid.class.php
+++ b/htdocs/core/class/openid.class.php
@@ -495,4 +495,3 @@ class SimpleOpenID
}
-?>
\ No newline at end of file
diff --git a/htdocs/core/class/smtps.class.php b/htdocs/core/class/smtps.class.php
index a4c2cae4a25..61a098330c2 100644
--- a/htdocs/core/class/smtps.class.php
+++ b/htdocs/core/class/smtps.class.php
@@ -1800,4 +1800,3 @@ class SMTPs
*
*/
-?>
diff --git a/htdocs/core/class/stats.class.php b/htdocs/core/class/stats.class.php
index 6162e0dcdd0..5018d63cecf 100644
--- a/htdocs/core/class/stats.class.php
+++ b/htdocs/core/class/stats.class.php
@@ -570,4 +570,3 @@ abstract class Stats
}
}
-?>
diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php
index 383f2c01cf4..5438cf19f1f 100644
--- a/htdocs/core/class/translate.class.php
+++ b/htdocs/core/class/translate.class.php
@@ -803,4 +803,3 @@ class Translate
}
}
-?>
diff --git a/htdocs/core/class/vcard.class.php b/htdocs/core/class/vcard.class.php
index 516ccdecec6..512aa011d98 100644
--- a/htdocs/core/class/vcard.class.php
+++ b/htdocs/core/class/vcard.class.php
@@ -334,4 +334,3 @@ class vCard
}
}
-?>
diff --git a/htdocs/core/datepicker.php b/htdocs/core/datepicker.php
index a976eb83f01..7e0333bc5aa 100644
--- a/htdocs/core/datepicker.php
+++ b/htdocs/core/datepicker.php
@@ -278,4 +278,3 @@ function displayBox($selectedDate,$month,$year)
diff --git a/htdocs/core/db/mssql.class.php b/htdocs/core/db/mssql.class.php
index 855b7a71026..bf67bd7d8b3 100644
--- a/htdocs/core/db/mssql.class.php
+++ b/htdocs/core/db/mssql.class.php
@@ -996,4 +996,3 @@ class DoliDBMssql extends DoliDB
}
}
-?>
diff --git a/htdocs/core/db/mysql.class.php b/htdocs/core/db/mysql.class.php
index efe942caed5..6bf25ba6a43 100644
--- a/htdocs/core/db/mysql.class.php
+++ b/htdocs/core/db/mysql.class.php
@@ -1015,4 +1015,3 @@ class DoliDBMysql extends DoliDB
}
}
-?>
diff --git a/htdocs/core/db/mysqli.class.php b/htdocs/core/db/mysqli.class.php
index f2dd2e80359..6161c497b20 100644
--- a/htdocs/core/db/mysqli.class.php
+++ b/htdocs/core/db/mysqli.class.php
@@ -1019,4 +1019,3 @@ class DoliDBMysqli extends DoliDB
}
}
-?>
diff --git a/htdocs/core/db/pgsql.class.php b/htdocs/core/db/pgsql.class.php
index 9ed44faf548..dfcebb4a433 100644
--- a/htdocs/core/db/pgsql.class.php
+++ b/htdocs/core/db/pgsql.class.php
@@ -1260,4 +1260,3 @@ class DoliDBPgsql extends DoliDB
return array();
}
}
-?>
diff --git a/htdocs/core/db/sqlite.class.php b/htdocs/core/db/sqlite.class.php
index 8c3e9fa9df3..ad5c6532c9e 100644
--- a/htdocs/core/db/sqlite.class.php
+++ b/htdocs/core/db/sqlite.class.php
@@ -1129,4 +1129,3 @@ class DoliDBSqlite extends DoliDB
}
}
-?>
diff --git a/htdocs/core/doxygen.php b/htdocs/core/doxygen.php
index 4cf4dd1f7b2..fd92572836e 100644
--- a/htdocs/core/doxygen.php
+++ b/htdocs/core/doxygen.php
@@ -31,4 +31,3 @@
* Dolibarr spanish portal: www.dolibarr.es
*
*/
-?>
\ No newline at end of file
diff --git a/htdocs/core/filemanagerdol/connectors/php/commands.php b/htdocs/core/filemanagerdol/connectors/php/commands.php
index 19185d01515..6369ac9d3ae 100644
--- a/htdocs/core/filemanagerdol/connectors/php/commands.php
+++ b/htdocs/core/filemanagerdol/connectors/php/commands.php
@@ -297,4 +297,3 @@ function FileUpload($resourceType, $currentFolder, $sCommand, $CKEcallback = '')
exit;
}
-?>
diff --git a/htdocs/core/filemanagerdol/connectors/php/config.php b/htdocs/core/filemanagerdol/connectors/php/config.php
index b50cea8a482..0c3b0a4884c 100644
--- a/htdocs/core/filemanagerdol/connectors/php/config.php
+++ b/htdocs/core/filemanagerdol/connectors/php/config.php
@@ -161,4 +161,3 @@ $Config['FileTypesAbsolutePath']['Media']= ($Config['UserFilesAbsolutePath'] ==
$Config['QuickUploadPath']['Media'] = $Config['UserFilesPath'] ;
$Config['QuickUploadAbsolutePath']['Media']= $Config['UserFilesAbsolutePath'] ;
-?>
diff --git a/htdocs/core/filemanagerdol/connectors/php/connector.php b/htdocs/core/filemanagerdol/connectors/php/connector.php
index ddafa4b1859..810f75601b6 100644
--- a/htdocs/core/filemanagerdol/connectors/php/connector.php
+++ b/htdocs/core/filemanagerdol/connectors/php/connector.php
@@ -83,4 +83,3 @@ function DoResponse()
exit ;
}
-?>
diff --git a/htdocs/core/filemanagerdol/connectors/php/io.php b/htdocs/core/filemanagerdol/connectors/php/io.php
index f246492e670..50ce4a33f05 100644
--- a/htdocs/core/filemanagerdol/connectors/php/io.php
+++ b/htdocs/core/filemanagerdol/connectors/php/io.php
@@ -360,4 +360,3 @@ function SendCKEditorResults ($callback, $sFileUrl, $customMsg = '')
}
-?>
diff --git a/htdocs/core/filemanagerdol/connectors/php/upload.php b/htdocs/core/filemanagerdol/connectors/php/upload.php
index 030fb67ea16..cf329590aed 100644
--- a/htdocs/core/filemanagerdol/connectors/php/upload.php
+++ b/htdocs/core/filemanagerdol/connectors/php/upload.php
@@ -63,4 +63,3 @@ $CKEcallback = $_GET['CKEditorFuncNum'];
FileUpload($sType, $sCurrentFolder, $sCommand, $CKEcallback);
-?>
diff --git a/htdocs/core/filemanagerdol/connectors/php/util.php b/htdocs/core/filemanagerdol/connectors/php/util.php
index 0a7b5fbf9ad..f23ba45550a 100644
--- a/htdocs/core/filemanagerdol/connectors/php/util.php
+++ b/htdocs/core/filemanagerdol/connectors/php/util.php
@@ -239,4 +239,3 @@ function IsImageValid( $filePath, $extension )
return true;
}
-?>
diff --git a/htdocs/core/get_menudiv.php b/htdocs/core/get_menudiv.php
index cdc1391e2bb..b52c1f73c98 100644
--- a/htdocs/core/get_menudiv.php
+++ b/htdocs/core/get_menudiv.php
@@ -93,4 +93,3 @@ print '