diff --git a/htdocs/product/agenda.php b/htdocs/product/agenda.php index 9eee66664d9..2dfe8aa425f 100644 --- a/htdocs/product/agenda.php +++ b/htdocs/product/agenda.php @@ -203,7 +203,6 @@ if ($id > 0 || $ref) } } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/card.php b/htdocs/product/card.php index adb127d67f8..2c11b8efd86 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -2187,6 +2187,6 @@ if ($action != 'create' && $action != 'edit' && $action != 'delete') print ''; } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/document.php b/htdocs/product/document.php index 4f6ec9cf403..0b5b7fa6f16 100644 --- a/htdocs/product/document.php +++ b/htdocs/product/document.php @@ -345,6 +345,6 @@ else print $langs->trans("ErrorUnknown"); } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index 807b2e5a826..62fb0b8c29f 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -889,7 +889,6 @@ else print $langs->trans("ErrorUnknown"); } - // End of page llxFooter(); $db->close(); diff --git a/htdocs/product/index.php b/htdocs/product/index.php index 89330618879..71cf2636661 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -397,8 +397,8 @@ if (! empty($conf->global->MAIN_SHOW_PRODUCT_ACTIVITY_TRIM)) print ''; +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/list.php b/htdocs/product/list.php index 385187b316e..593711290d3 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -960,6 +960,6 @@ else dol_print_error($db); } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/note.php b/htdocs/product/note.php index c0e9d77ea83..8bf30c3d6e0 100644 --- a/htdocs/product/note.php +++ b/htdocs/product/note.php @@ -115,6 +115,7 @@ if ($id > 0 || ! empty($ref)) dol_fiche_end(); } +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/popuprop.php b/htdocs/product/popuprop.php index d6aa23fe2c0..0d54808ecef 100644 --- a/htdocs/product/popuprop.php +++ b/htdocs/product/popuprop.php @@ -207,6 +207,6 @@ print ""; dol_fiche_end(); - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/price.php b/htdocs/product/price.php index e68730acf64..6aa5386de50 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -2197,6 +2197,6 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES)) } } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/reassort.php b/htdocs/product/reassort.php index 2e8dfcb36fa..5e72fafbc40 100644 --- a/htdocs/product/reassort.php +++ b/htdocs/product/reassort.php @@ -391,6 +391,6 @@ else dol_print_error($db); } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/reassortlot.php b/htdocs/product/reassortlot.php index b4d14ef1231..e4ec3854fb5 100644 --- a/htdocs/product/reassortlot.php +++ b/htdocs/product/reassortlot.php @@ -421,6 +421,6 @@ else dol_print_error($db); } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/stock/card.php b/htdocs/product/stock/card.php index 41e70a6fbf9..7e13364d7ca 100644 --- a/htdocs/product/stock/card.php +++ b/htdocs/product/stock/card.php @@ -707,7 +707,6 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2) } } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/stock/fiche-valo.php b/htdocs/product/stock/fiche-valo.php index 400c6183ca4..d815e56a00b 100644 --- a/htdocs/product/stock/fiche-valo.php +++ b/htdocs/product/stock/fiche-valo.php @@ -140,5 +140,6 @@ if ($_GET["id"]) print ""; } +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/stock/index.php b/htdocs/product/stock/index.php index fd2c1d48168..e658b794d4b 100644 --- a/htdocs/product/stock/index.php +++ b/htdocs/product/stock/index.php @@ -185,6 +185,6 @@ if ($resql) //print ''; print ''; +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/stock/info.php b/htdocs/product/stock/info.php index 4653a56495d..065dd448a8d 100644 --- a/htdocs/product/stock/info.php +++ b/htdocs/product/stock/info.php @@ -73,6 +73,6 @@ dol_print_object_info($object); print ''; +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/stock/list.php b/htdocs/product/stock/list.php index aba8655fae1..ca6cad1d664 100644 --- a/htdocs/product/stock/list.php +++ b/htdocs/product/stock/list.php @@ -271,7 +271,6 @@ else dol_print_error($db); } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/stock/massstockmove.php b/htdocs/product/stock/massstockmove.php index 51692a3e9a1..c585b7a7e89 100644 --- a/htdocs/product/stock/massstockmove.php +++ b/htdocs/product/stock/massstockmove.php @@ -462,7 +462,6 @@ print '
'; - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 7e15a4f86ac..c1631b3ff18 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -1173,7 +1173,7 @@ if ($action != 'create' && $action != 'edit' && $action != 'delete' && $id>0) } */ +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index d2da5abd3e0..9d4ac0fb122 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -994,6 +994,6 @@ if (!empty($conf->global->STOCK_ALLOW_ADD_LIMIT_STOCK_BY_WAREHOUSE)) } } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/stock/productlot_card.php b/htdocs/product/stock/productlot_card.php index 4c614155042..334ab91ebc4 100644 --- a/htdocs/product/stock/productlot_card.php +++ b/htdocs/product/stock/productlot_card.php @@ -416,7 +416,6 @@ if (empty($action)) } - // End of page llxFooter(); $db->close(); diff --git a/htdocs/product/stock/productlot_list.php b/htdocs/product/stock/productlot_list.php index b0eaccc08fa..8f5c13ceec7 100644 --- a/htdocs/product/stock/productlot_list.php +++ b/htdocs/product/stock/productlot_list.php @@ -551,7 +551,6 @@ else dol_print_error($db); } - // End of page llxFooter(); $db->close(); diff --git a/htdocs/product/stock/replenishorders.php b/htdocs/product/stock/replenishorders.php index ab8176ab186..ce1dd5126a9 100644 --- a/htdocs/product/stock/replenishorders.php +++ b/htdocs/product/stock/replenishorders.php @@ -336,5 +336,6 @@ else dol_print_error($db); } +// End of page llxFooter(); $db->close(); diff --git a/htdocs/product/stock/valo.php b/htdocs/product/stock/valo.php index be8ee2d500e..4e3a245060c 100644 --- a/htdocs/product/stock/valo.php +++ b/htdocs/product/stock/valo.php @@ -157,7 +157,6 @@ else dol_print_error($db); } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/product/traduction.php b/htdocs/product/traduction.php index c96e1c0f025..4c344786553 100644 --- a/htdocs/product/traduction.php +++ b/htdocs/product/traduction.php @@ -354,5 +354,6 @@ if ($action == 'add' && ($user->rights->produit->creer || $user->rights->service print '
'; } +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/activity/index.php b/htdocs/projet/activity/index.php index 53818220081..2ed1bb1498f 100644 --- a/htdocs/projet/activity/index.php +++ b/htdocs/projet/activity/index.php @@ -576,7 +576,6 @@ if (empty($conf->global->PROJECT_HIDE_TASKS) && ! empty($conf->global->PROJECT_S print '
'; - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/activity/perday.php b/htdocs/projet/activity/perday.php index 0943d8dd428..f4caef2b5ad 100644 --- a/htdocs/projet/activity/perday.php +++ b/htdocs/projet/activity/perday.php @@ -710,6 +710,6 @@ if ($conf->use_javascript_ajax) print ''; } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/activity/perweek.php b/htdocs/projet/activity/perweek.php index b22ed6ee71a..200851b6307 100644 --- a/htdocs/projet/activity/perweek.php +++ b/htdocs/projet/activity/perweek.php @@ -749,7 +749,6 @@ if ($conf->use_javascript_ajax) print ''; } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/admin/project.php b/htdocs/projet/admin/project.php index 80a13582d4d..f82a71514c4 100644 --- a/htdocs/projet/admin/project.php +++ b/htdocs/projet/admin/project.php @@ -910,5 +910,6 @@ print ''; print ''; +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/admin/project_extrafields.php b/htdocs/projet/admin/project_extrafields.php index d247408079c..8f39a20f762 100644 --- a/htdocs/projet/admin/project_extrafields.php +++ b/htdocs/projet/admin/project_extrafields.php @@ -113,6 +113,6 @@ if ($action == 'edit' && ! empty($attrname)) require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php'; } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/admin/project_task_extrafields.php b/htdocs/projet/admin/project_task_extrafields.php index 32e4af98f89..90729840035 100644 --- a/htdocs/projet/admin/project_task_extrafields.php +++ b/htdocs/projet/admin/project_task_extrafields.php @@ -112,6 +112,6 @@ if ($action == 'edit' && ! empty($attrname)) require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php'; } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php index 56c04614a55..2a5793a3c0e 100644 --- a/htdocs/projet/card.php +++ b/htdocs/projet/card.php @@ -1288,6 +1288,6 @@ else print $langs->trans("RecordNotFound"); } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/comment.php b/htdocs/projet/comment.php index f152d6b4608..7f547feffb3 100644 --- a/htdocs/projet/comment.php +++ b/htdocs/projet/comment.php @@ -183,6 +183,6 @@ print '
'; // Include comment tpl view include DOL_DOCUMENT_ROOT . '/core/tpl/bloc_comment.tpl.php'; - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/contact.php b/htdocs/projet/contact.php index 2f4c265f577..f7edf686eb2 100644 --- a/htdocs/projet/contact.php +++ b/htdocs/projet/contact.php @@ -266,6 +266,6 @@ if ($id > 0 || ! empty($ref)) } } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/document.php b/htdocs/projet/document.php index 8854f928b43..3af813ba698 100644 --- a/htdocs/projet/document.php +++ b/htdocs/projet/document.php @@ -158,6 +158,6 @@ else dol_print_error('','NoRecordFound'); } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php index 79b2be5b009..28cc833eeb2 100644 --- a/htdocs/projet/element.php +++ b/htdocs/projet/element.php @@ -1181,10 +1181,8 @@ if ($conf->use_javascript_ajax) print $comboenhancement; } - - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/ganttview.php b/htdocs/projet/ganttview.php index da418680376..a1ac7c32aaa 100644 --- a/htdocs/projet/ganttview.php +++ b/htdocs/projet/ganttview.php @@ -364,7 +364,6 @@ else print '
'.$langs->trans("NoTasks").'
'; } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index 906cb3783f1..50143057205 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -318,7 +318,6 @@ if (! empty($conf->global->PROJECT_SHOW_PROJECT_LIST_ON_PROJECT_AREA)) print ''; - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/info.php b/htdocs/projet/info.php index 64bc17aa749..31d633e70d1 100644 --- a/htdocs/projet/info.php +++ b/htdocs/projet/info.php @@ -191,6 +191,6 @@ if (!empty($object->id)) show_actions_done($conf,$langs,$db,$object,null,0,$actioncode, '', $filters, $sortfield, $sortorder); } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 779091d069f..9ea8e133102 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -919,7 +919,6 @@ print "\n"; print ''; print "\n"; - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/note.php b/htdocs/projet/note.php index 8a16d3d5e42..96dce3da63f 100644 --- a/htdocs/projet/note.php +++ b/htdocs/projet/note.php @@ -118,6 +118,6 @@ if ($id > 0 || ! empty($ref)) dol_fiche_end(); } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/stats/index.php b/htdocs/projet/stats/index.php index 38e9bc327bc..46c6248ebd3 100644 --- a/htdocs/projet/stats/index.php +++ b/htdocs/projet/stats/index.php @@ -373,6 +373,6 @@ print $stringtoshow; print ''; print '
'; - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index bf2ddf33890..17d245f94bf 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -724,6 +724,6 @@ else if ($id > 0 || ! empty($ref)) } } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/tasks/contact.php b/htdocs/projet/tasks/contact.php index 6ed9af89385..f27ff3393f5 100644 --- a/htdocs/projet/tasks/contact.php +++ b/htdocs/projet/tasks/contact.php @@ -531,7 +531,6 @@ if (is_object($hookmanager)) $reshook=$hookmanager->executeHooks('formContactTpl',$parameters,$object,$action); } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/tasks/document.php b/htdocs/projet/tasks/document.php index 74cbba539b3..4e8e1319aa3 100644 --- a/htdocs/projet/tasks/document.php +++ b/htdocs/projet/tasks/document.php @@ -292,7 +292,6 @@ else exit; } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/projet/tasks/list.php b/htdocs/projet/tasks/list.php index 7a97de16f52..2366ccc738b 100644 --- a/htdocs/projet/tasks/list.php +++ b/htdocs/projet/tasks/list.php @@ -841,5 +841,6 @@ print ''; print ''; +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/tasks/note.php b/htdocs/projet/tasks/note.php index 2fd47827d6a..ebd4210ff6e 100644 --- a/htdocs/projet/tasks/note.php +++ b/htdocs/projet/tasks/note.php @@ -247,6 +247,6 @@ if ($object->id > 0) dol_fiche_end(); } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/tasks/stats/index.php b/htdocs/projet/tasks/stats/index.php index fa9ebcf3b52..68b52339ebb 100644 --- a/htdocs/projet/tasks/stats/index.php +++ b/htdocs/projet/tasks/stats/index.php @@ -212,6 +212,6 @@ print $stringtoshow; print ''; print '
'; - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/tasks/task.php b/htdocs/projet/tasks/task.php index ace9ab21a29..7b4a9d25537 100644 --- a/htdocs/projet/tasks/task.php +++ b/htdocs/projet/tasks/task.php @@ -626,6 +626,6 @@ if ($id > 0 || ! empty($ref)) } } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php index f3271535bcd..4c2e60f05b2 100644 --- a/htdocs/projet/tasks/time.php +++ b/htdocs/projet/tasks/time.php @@ -1153,6 +1153,6 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0) } } - +// End of page llxFooter(); $db->close();