From 90a5f6c7efffc37568a1f4f26410e6616cf96199 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Jul 2014 01:02:30 +0200 Subject: [PATCH] Qual: Remove end php tag. --- htdocs/admin/commande.php | 1 - htdocs/admin/menus/other.php | 1 - htdocs/admin/stock.php | 7 +- htdocs/admin/system/database.php | 7 +- htdocs/admin/system/dbtable.php | 2 +- htdocs/admin/system/dolibarr.php | 1 - htdocs/admin/system/index.php | 1 - htdocs/admin/tools/eaccelerator.php | 1 - htdocs/admin/tools/purge.php | 2 +- htdocs/admin/tools/update.php | 2 +- htdocs/admin/translation.php | 1 - htdocs/admin/workflow.php | 1 - htdocs/cashdesk/affIndex.php | 1 - htdocs/cashdesk/facturation.php | 2 - htdocs/cashdesk/include/keypad.php | 1 - htdocs/categories/viewcat.php | 2 +- htdocs/comm/action/class/actioncomm.class.php | 7 +- htdocs/comm/fiche.php | 10 +-- htdocs/commande/customer.php | 8 +-- htdocs/compta/facture/apercu.php | 1 - htdocs/compta/localtax/quadri_detail.php | 67 +++++++++---------- htdocs/core/boxes/box_factures.php | 1 - htdocs/core/boxes/box_project.php | 18 ++--- htdocs/core/boxes/box_task.php | 19 +++--- htdocs/core/class/dolprintipp.class.php | 1 - htdocs/core/lib/holiday.lib.php | 2 - htdocs/core/lib/product.lib.php | 2 - htdocs/core/lib/trip.lib.php | 4 +- htdocs/core/lib/usergroups.lib.php | 1 - htdocs/core/login/functions_empty.php | 2 - htdocs/core/login/functions_forceuser.php | 2 - htdocs/core/login/functions_http.php | 2 - htdocs/core/login/functions_ldap.php | 2 - htdocs/core/login/functions_openid.php | 2 - htdocs/core/menus/standard/auguria.lib.php | 1 - .../core/modules/propale/modules_propale.php | 1 - htdocs/fichinter/document.php | 1 - htdocs/holiday/define_holiday.php | 1 - 38 files changed, 75 insertions(+), 113 deletions(-) diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php index 6736f9d22799d..1d05efa8e995d 100644 --- a/htdocs/admin/commande.php +++ b/htdocs/admin/commande.php @@ -534,4 +534,3 @@ llxFooter(); $db->close(); -?> diff --git a/htdocs/admin/menus/other.php b/htdocs/admin/menus/other.php index 0ec3119c097a6..36733add335a9 100644 --- a/htdocs/admin/menus/other.php +++ b/htdocs/admin/menus/other.php @@ -143,4 +143,3 @@ llxFooter(); $db->close(); -?> \ No newline at end of file diff --git a/htdocs/admin/stock.php b/htdocs/admin/stock.php index 9b80662c180fe..d0582a9163077 100644 --- a/htdocs/admin/stock.php +++ b/htdocs/admin/stock.php @@ -77,7 +77,7 @@ if($action == 'STOCK_USE_VIRTUAL_STOCK') { $res = dolibarr_set_const($db, "STOCK_USE_VIRTUAL_STOCK", GETPOST('STOCK_USE_VIRTUAL_STOCK','alpha'),'chaine',0,'',$conf->entity); } - + if($action == 'STOCK_MUST_BE_ENOUGH_FOR_INVOICE') { $res = dolibarr_set_const($db, "STOCK_MUST_BE_ENOUGH_FOR_INVOICE", GETPOST('STOCK_MUST_BE_ENOUGH_FOR_INVOICE','alpha'),'chaine',0,'',$conf->entity); } @@ -329,7 +329,6 @@ print ''; } -$db->close(); - llxFooter(); -?> + +$db->close(); diff --git a/htdocs/admin/system/database.php b/htdocs/admin/system/database.php index f32122df7b96a..d9833a13d0115 100644 --- a/htdocs/admin/system/database.php +++ b/htdocs/admin/system/database.php @@ -81,7 +81,7 @@ print ''.$langs->trans("Parameters").''; print ''.$langs->trans("Value").''; print ''."\n"; - + // arraytest is an array of test to do $arraytest=array(); if (preg_match('/mysql/i',$db->type)) @@ -91,7 +91,7 @@ 'collation_database'=>array('var'=>'dolibarr_main_db_collation','valifempty'=>'utf8_general_ci') ); } - + $listtouse=array(); if ($listname == 'listofvars') $listtouse=$listofvars; if ($listname == 'listofstatus') $listtouse=$listofstatus; @@ -124,4 +124,5 @@ } llxFooter(); -?> \ No newline at end of file + +$db->close(); diff --git a/htdocs/admin/system/dbtable.php b/htdocs/admin/system/dbtable.php index fe182c2e73e3a..3102248bc0a60 100644 --- a/htdocs/admin/system/dbtable.php +++ b/htdocs/admin/system/dbtable.php @@ -129,5 +129,5 @@ } llxFooter(); + $db->close(); -?> \ No newline at end of file diff --git a/htdocs/admin/system/dolibarr.php b/htdocs/admin/system/dolibarr.php index 8be469006ff16..fe9bde59cec3d 100644 --- a/htdocs/admin/system/dolibarr.php +++ b/htdocs/admin/system/dolibarr.php @@ -379,4 +379,3 @@ llxFooter(); $db->close(); -?> diff --git a/htdocs/admin/system/index.php b/htdocs/admin/system/index.php index 640d5138362ad..70464aa157801 100644 --- a/htdocs/admin/system/index.php +++ b/htdocs/admin/system/index.php @@ -119,4 +119,3 @@ $db->close(); -?> diff --git a/htdocs/admin/tools/eaccelerator.php b/htdocs/admin/tools/eaccelerator.php index a3f046f45100a..8f82f33d03949 100644 --- a/htdocs/admin/tools/eaccelerator.php +++ b/htdocs/admin/tools/eaccelerator.php @@ -350,4 +350,3 @@ function create_key_table($list) llxFooter(); $db->close(); -?> diff --git a/htdocs/admin/tools/purge.php b/htdocs/admin/tools/purge.php index cac0bce888cd8..4f3f14302fd69 100644 --- a/htdocs/admin/tools/purge.php +++ b/htdocs/admin/tools/purge.php @@ -165,5 +165,5 @@ llxFooter(); + $db->close(); -?> \ No newline at end of file diff --git a/htdocs/admin/tools/update.php b/htdocs/admin/tools/update.php index 29e4c96b6c329..d58e7444e7110 100644 --- a/htdocs/admin/tools/update.php +++ b/htdocs/admin/tools/update.php @@ -173,5 +173,5 @@ } llxFooter(); + $db->close(); -?> \ No newline at end of file diff --git a/htdocs/admin/translation.php b/htdocs/admin/translation.php index 8e5370a957e2e..66bc4fb22ba49 100644 --- a/htdocs/admin/translation.php +++ b/htdocs/admin/translation.php @@ -69,4 +69,3 @@ llxFooter(); $db->close(); -?> diff --git a/htdocs/admin/workflow.php b/htdocs/admin/workflow.php index cea1690b8185f..bbf2ce751ba8c 100644 --- a/htdocs/admin/workflow.php +++ b/htdocs/admin/workflow.php @@ -146,4 +146,3 @@ llxFooter(); $db->close(); -?> diff --git a/htdocs/cashdesk/affIndex.php b/htdocs/cashdesk/affIndex.php index 39f290c9b0427..6ac2915a9d176 100644 --- a/htdocs/cashdesk/affIndex.php +++ b/htdocs/cashdesk/affIndex.php @@ -76,4 +76,3 @@ print ''."\n"; print ''."\n"; -?> diff --git a/htdocs/cashdesk/facturation.php b/htdocs/cashdesk/facturation.php index 2f3da75d97708..95f3583fe9406 100644 --- a/htdocs/cashdesk/facturation.php +++ b/htdocs/cashdesk/facturation.php @@ -191,5 +191,3 @@ // Affichage des templates require ('tpl/facturation1.tpl.php'); - -?> diff --git a/htdocs/cashdesk/include/keypad.php b/htdocs/cashdesk/include/keypad.php index cc56a2d119297..798c30c92fbb7 100644 --- a/htdocs/cashdesk/include/keypad.php +++ b/htdocs/cashdesk/include/keypad.php @@ -50,4 +50,3 @@ function genkeypad($keypadname, $formname) $sz.=''; return $sz; } -?> diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index bec834e1ff97a..d0a4d2751dfad 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -519,5 +519,5 @@ llxFooter(); + $db->close(); -?> \ No newline at end of file diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index dc29f687223c3..18bef50369dc9 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -229,7 +229,7 @@ function add($user,$notrigger=0) { // Call trigger $result=$this->call_trigger('ACTION_CREATE',$user); - if ($result < 0) { $error++; } + if ($result < 0) { $error++; } // End call triggers } @@ -387,7 +387,7 @@ function delete($notrigger=0) { // Call trigger $result=$this->call_trigger('ACTION_DELETE',$user); - if ($result < 0) { $error++; } + if ($result < 0) { $error++; } // End call triggers } @@ -492,7 +492,7 @@ function update($user,$notrigger=0) { // Call trigger $result=$this->call_trigger('ACTION_MODIFY',$user); - if ($result < 0) { $error++; } + if ($result < 0) { $error++; } // End call triggers } @@ -1054,4 +1054,3 @@ function initAsSpecimen() } -?> diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 0f2888fc1a3ed..bd2bf9630ea18 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -309,7 +309,7 @@ print yn($object->localtax2_assuj); print ''; } - + // TVA Intra print ''.$langs->trans('VATIntra').''; @@ -819,11 +819,11 @@ /* * Barre d'actions */ - + $parameters = array(); $reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been - - + + print '
'; if (! empty($conf->propal->enabled) && $user->rights->propal->creer) @@ -930,5 +930,5 @@ // End of page llxFooter(); + $db->close(); -?> diff --git a/htdocs/commande/customer.php b/htdocs/commande/customer.php index 373775a0da09a..29812903d12b1 100644 --- a/htdocs/commande/customer.php +++ b/htdocs/commande/customer.php @@ -156,7 +156,7 @@ print ""; print ''; - + $result=''; $lien=$lienfin=''; $lien = ''; @@ -164,7 +164,7 @@ $name=$obj->nom; $result.=($lien.img_object($langs->trans("ShowCompany").': '.$name,'company').$lienfin); $result.=$lien.(dol_trunc($name,$maxlen)).$lienfin; - + print $result; print ''; print ''.$obj->town.' '; @@ -185,7 +185,7 @@ dol_print_error($db); } +llxFooter(); + $db->close(); -llxFooter(); -?> diff --git a/htdocs/compta/facture/apercu.php b/htdocs/compta/facture/apercu.php index e166270848924..856640e306e41 100644 --- a/htdocs/compta/facture/apercu.php +++ b/htdocs/compta/facture/apercu.php @@ -420,4 +420,3 @@ $db->close(); llxFooter(); -?> diff --git a/htdocs/compta/localtax/quadri_detail.php b/htdocs/compta/localtax/quadri_detail.php index 5989159dcd8e5..b1b4aad7722eb 100644 --- a/htdocs/compta/localtax/quadri_detail.php +++ b/htdocs/compta/localtax/quadri_detail.php @@ -315,7 +315,7 @@ if ($modetax == 0) $span+=2; //print ''..')'; - + if($conf->global->$calc ==0 || $conf->global->$calc == 2){ // Customers invoices print ''; @@ -329,20 +329,20 @@ print ''.$langs->trans("BI").''; print ''.$vatcust.''; print ''; - - + + $LT=0; $sameLT=false; foreach(array_keys($x_coll) as $rate) { $subtot_coll_total_ht = 0; $subtot_coll_vat = 0; - + if (is_array($x_both[$rate]['coll']['detail'])) { // VAT Rate $var=true; - + if($rate!=0){ print ""; //print ''.$langs->trans("Rate").': '.vatrate($rate).'%'; @@ -359,13 +359,13 @@ // was not saved. if (! empty($fields['ddate_start'])) $type=1; if (! empty($fields['ddate_end'])) $type=1; - + $var=!$var; print ''; - + // Ref print ''.$fields['link'].''; - + // Description print ''; if ($fields['pid']) @@ -387,12 +387,12 @@ else $fields['descr']=$langs->transnoentitiesnoconv($reg[1]); } print $text.' '.dol_trunc(dol_string_nohtmltag($fields['descr']),16); - + // Show range print_date_range($fields['ddate_start'],$fields['ddate_end']); } print ''; - + // Total HT if ($modetax == 0) { @@ -406,7 +406,7 @@ } print ''; } - + // Payment $ratiopaymentinvoice=1; if ($modetax == 0) @@ -429,14 +429,14 @@ } print ''; } - + // Total collected print ''; $temp_ht=$fields['totalht']; if ($type == 1) $temp_ht=$fields['totalht']*$ratiopaymentinvoice; print price(price2num($temp_ht,'MT')); print ''; - + // Localtax print ''; $temp_vat= $local==1?$fields['localtax1']:$fields['localtax2']; @@ -444,7 +444,7 @@ //print price($fields['vat']); print ''; print ''; - + $subtot_coll_total_ht += $temp_ht; $subtot_coll_vat += $temp_vat; $x_coll_sum += $temp_vat; @@ -466,7 +466,7 @@ print ''; } } - + if (count($x_coll) == 0) // Show a total ine if nothing shown { print ''; @@ -481,13 +481,13 @@ print ''.price(price2num(0,'MT')).''; print ''; } - + // Blank line print ' '; print ''; $diff=$x_coll_sum; } - + if($conf->global->$calc ==0 || $conf->global->$calc == 1){ echo ''; //print table headers for this quadri - expenses now @@ -503,12 +503,12 @@ print ''; print ''; print ''."\n"; - + foreach(array_keys($x_paye) as $rate) { $subtot_paye_total_ht = 0; $subtot_paye_vat = 0; - + if(is_array($x_both[$rate]['paye']['detail'])) { $var=true; @@ -526,13 +526,13 @@ // was not saved. if (! empty($fields['ddate_start'])) $type=1; if (! empty($fields['ddate_end'])) $type=1; - + $var=!$var; print ''; - + // Ref print ''; - + // Description print ''; - + // Total HT if ($modetax == 0) { @@ -567,7 +567,7 @@ } print ''; } - + // Payment $ratiopaymentinvoice=1; if ($modetax == 0) @@ -590,22 +590,22 @@ } print ''; } - + // VAT paid print ''; - + // Localtax print ''; print ''; - + $subtot_paye_total_ht += $temp_ht; $subtot_paye_vat += $temp_vat; $x_paye_sum += $temp_vat; @@ -627,7 +627,7 @@ print ''; } } - + if (count($x_paye) == 0) // Show a total ine if nothing shown { print ''; @@ -642,11 +642,11 @@ print ''; print ''; } - + print '
'.$langs->trans("BI").''.$vatsup.'
'.$fields['link'].''; if ($fields['pid']) @@ -548,12 +548,12 @@ if ($type) $text = img_object($langs->trans('Service'),'service'); else $text = img_object($langs->trans('Product'),'product'); print $text.' '.dol_trunc(dol_string_nohtmltag($fields['descr']),16); - + // Show range print_date_range($fields['ddate_start'],$fields['ddate_end']); } print ''; $temp_ht=$fields['totalht']; if ($type == 1) $temp_ht=$fields['totalht']*$ratiopaymentinvoice; print price(price2num($temp_ht,'MT')); print ''; $temp_vat= $local==1?$fields['localtax1']:$fields['localtax2']; - print price(price2num($temp_vat,'MT')); + print price(price2num($temp_vat,'MT')); //print price($fields['vat']); print '
'.price(price2num(0,'MT')).'
'; $diff=$x_paye_sum; } - + if($conf->global->$calc ==0){$diff=$x_coll_sum - $x_paye_sum;} echo ''; // Total to pay @@ -659,11 +659,10 @@ print "\n"; echo '
'; - + $i++; } $db->close(); llxFooter(); -?> diff --git a/htdocs/core/boxes/box_factures.php b/htdocs/core/boxes/box_factures.php index 23ab2df85569b..2e8f94e29ff1e 100644 --- a/htdocs/core/boxes/box_factures.php +++ b/htdocs/core/boxes/box_factures.php @@ -158,4 +158,3 @@ function showBox($head = null, $contents = null) } } -?> \ No newline at end of file diff --git a/htdocs/core/boxes/box_project.php b/htdocs/core/boxes/box_project.php index 5155c92b2517a..fab476c0c95b3 100644 --- a/htdocs/core/boxes/box_project.php +++ b/htdocs/core/boxes/box_project.php @@ -57,16 +57,16 @@ function box_project() function loadBox($max=5) { global $conf, $user, $langs, $db; - + $this->max=$max; - + $totalMnt = 0; $totalnb = 0; $totalnbTask=0; include_once(DOL_DOCUMENT_ROOT."/projet/class/project.class.php"); require_once(DOL_DOCUMENT_ROOT."/core/lib/project.lib.php"); $projectstatic=new Project($db); - + $textHead = $langs->trans("Projet"); @@ -75,7 +75,7 @@ function loadBox($max=5) // list the summary of the orders if ($user->rights->projet->lire) { - + $sql = "SELECT p.rowid, p.ref, p.title, p.fk_statut "; $sql.= " FROM (".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."projet as p"; $sql.= ")"; @@ -97,7 +97,7 @@ function loadBox($max=5) $objp = $db->fetch_object($result); $projectstatic->fetch($objp->rowid); - + $this->info_box_contents[$i][1] = array('td' => 'align="left"', 'text' =>$projectstatic->getNomUrl(1) ); @@ -105,7 +105,7 @@ function loadBox($max=5) $this->info_box_contents[$i][2] = array('td' => 'align="left"', 'text' => $objp->title ); - + $sql ="SELECT count(*) as nb, sum(progress) as totprogress"; $sql.=" FROM ".MAIN_DB_PREFIX."projet_task as pt, ".MAIN_DB_PREFIX."projet as p"; $sql.=" WHERE pt.fk_projet = p.rowid"; @@ -137,8 +137,8 @@ function loadBox($max=5) $this->info_box_contents[$i][0] = array('tr' => 'class="liste_total"', 'td' => 'colspan=2 align="left" ', 'text' => $langs->trans("Total")." ".$textHead); $this->info_box_contents[$i][1] = array('td' => 'align="right" ', 'text' => number_format($num, 0, ',', ' ')." ".$langs->trans("Projects")); $this->info_box_contents[$i][2] = array('td' => 'align="right" ', 'text' => number_format($totalnbTask, 0, ',', ' ')." ".$langs->trans("Tasks")); - $this->info_box_contents[$i][4] = array('td' => 'colspan=2', 'text' => ""); - + $this->info_box_contents[$i][4] = array('td' => 'colspan=2', 'text' => ""); + } /** @@ -153,4 +153,4 @@ function showBox($head = null, $contents = null) parent::showBox($this->info_box_head, $this->info_box_contents); } } -?> + diff --git a/htdocs/core/boxes/box_task.php b/htdocs/core/boxes/box_task.php index 20a0871bc7e42..3f2e5f05c16ac 100644 --- a/htdocs/core/boxes/box_task.php +++ b/htdocs/core/boxes/box_task.php @@ -51,7 +51,7 @@ function box_task() $langs->load("projects"); $this->boxlabel="Tasks"; } - + /** * Load data for box to show them later * @@ -61,23 +61,23 @@ function box_task() function loadBox($max=5) { global $conf, $user, $langs, $db; - + $this->max=$max; - + $totalMnt = 0; $totalnb = 0; $totalDuree=0; include_once(DOL_DOCUMENT_ROOT."/projet/class/task.class.php"); $taskstatic=new Task($db); - - + + $textHead = $langs->trans("Tasks")." ".date("Y"); $this->info_box_head = array('text' => $textHead, 'limit'=> dol_strlen($textHead)); // list the summary of the orders if ($user->rights->projet->lire) { - + $sql = "SELECT pt.fk_statut, count(pt.rowid) as nb, sum(ptt.task_duration) as durationtot, sum(pt.planned_workload) as plannedtot"; $sql.= " FROM ".MAIN_DB_PREFIX."projet_task as pt, ".MAIN_DB_PREFIX."projet_task_time as ptt"; $sql.= " WHERE DATE_FORMAT(pt.datec,'%Y') = ".date("Y")." "; @@ -110,7 +110,7 @@ function loadBox($max=5) $totalplannedtot += $objp->plannedtot; $this->info_box_contents[$i][4] = array('td' => 'align="right"', 'text' => ConvertSecondToTime($objp->durationtot,'all',25200,5)); $totaldurationtot += $objp->durationtot; - + $this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"', 'text' => $taskstatic->LibStatut($objp->fk_statut,3)); $i++; @@ -124,8 +124,8 @@ function loadBox($max=5) $this->info_box_contents[$i][1] = array('td' => 'align="right" ', 'text' => number_format($totalnb, 0, ',', ' ')." ".$langs->trans("Tasks")); $this->info_box_contents[$i][2] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totalplannedtot,'all',25200,5)); $this->info_box_contents[$i][3] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totaldurationtot,'all',25200,5)); - $this->info_box_contents[$i][4] = array('td' => 'colspan=2', 'text' => ""); - + $this->info_box_contents[$i][4] = array('td' => 'colspan=2', 'text' => ""); + } /** @@ -140,4 +140,3 @@ function showBox($head = null, $contents = null) parent::showBox($this->info_box_head, $this->info_box_contents); } } -?> diff --git a/htdocs/core/class/dolprintipp.class.php b/htdocs/core/class/dolprintipp.class.php index 768741d93684d..942ee3da3c3b9 100644 --- a/htdocs/core/class/dolprintipp.class.php +++ b/htdocs/core/class/dolprintipp.class.php @@ -201,4 +201,3 @@ function get_printer_detail($uri) return $ipp->printer_attributes; } } -?> diff --git a/htdocs/core/lib/holiday.lib.php b/htdocs/core/lib/holiday.lib.php index dd299ab5c2c57..209ca16f5857f 100644 --- a/htdocs/core/lib/holiday.lib.php +++ b/htdocs/core/lib/holiday.lib.php @@ -49,5 +49,3 @@ function holiday_prepare_head($object) return $head; } - -?> diff --git a/htdocs/core/lib/product.lib.php b/htdocs/core/lib/product.lib.php index e8c86b37db973..a252b361dcf2d 100644 --- a/htdocs/core/lib/product.lib.php +++ b/htdocs/core/lib/product.lib.php @@ -357,5 +357,3 @@ function measuring_units_string($unit,$measuring_style='') return $measuring_units[$unit]; } - -?> diff --git a/htdocs/core/lib/trip.lib.php b/htdocs/core/lib/trip.lib.php index 60794497554be..7d58e9e01b12f 100644 --- a/htdocs/core/lib/trip.lib.php +++ b/htdocs/core/lib/trip.lib.php @@ -54,10 +54,8 @@ function trip_prepare_head($object) $head[$h][1] = $langs->trans("Info"); $head[$h][2] = 'info'; $h++; - + complete_head_from_modules($conf,$langs,$object,$head,$h,'trip','remove'); return $head; } - -?> \ No newline at end of file diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index d6097b6f5a1a5..75a78627f52b5 100644 --- a/htdocs/core/lib/usergroups.lib.php +++ b/htdocs/core/lib/usergroups.lib.php @@ -342,4 +342,3 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print ''; } -?> diff --git a/htdocs/core/login/functions_empty.php b/htdocs/core/login/functions_empty.php index c96a5023d4df3..e4379ee2c3a3f 100644 --- a/htdocs/core/login/functions_empty.php +++ b/htdocs/core/login/functions_empty.php @@ -39,5 +39,3 @@ function check_user_password_empty($usertotest,$passwordtotest,$entitytotest) return $login; } - -?> \ No newline at end of file diff --git a/htdocs/core/login/functions_forceuser.php b/htdocs/core/login/functions_forceuser.php index e74a253550a4d..c990c0bd45eb5 100644 --- a/htdocs/core/login/functions_forceuser.php +++ b/htdocs/core/login/functions_forceuser.php @@ -47,5 +47,3 @@ function check_user_password_forceuser($usertotest,$passwordtotest,$entitytotest return $login; } - -?> \ No newline at end of file diff --git a/htdocs/core/login/functions_http.php b/htdocs/core/login/functions_http.php index b224b27f15b9d..9d03913d2bc99 100644 --- a/htdocs/core/login/functions_http.php +++ b/htdocs/core/login/functions_http.php @@ -44,5 +44,3 @@ function check_user_password_http($usertotest,$passwordtotest,$entitytotest) return $login; } - -?> \ No newline at end of file diff --git a/htdocs/core/login/functions_ldap.php b/htdocs/core/login/functions_ldap.php index 403530ac80b96..88a5f55de19df 100644 --- a/htdocs/core/login/functions_ldap.php +++ b/htdocs/core/login/functions_ldap.php @@ -227,5 +227,3 @@ function check_user_password_ldap($usertotest,$passwordtotest,$entitytotest) return $login; } - -?> diff --git a/htdocs/core/login/functions_openid.php b/htdocs/core/login/functions_openid.php index 3abb69be4f27e..83543c43dd569 100644 --- a/htdocs/core/login/functions_openid.php +++ b/htdocs/core/login/functions_openid.php @@ -112,5 +112,3 @@ function check_user_password_openid($usertotest,$passwordtotest,$entitytotest) return $login; } - -?> \ No newline at end of file diff --git a/htdocs/core/menus/standard/auguria.lib.php b/htdocs/core/menus/standard/auguria.lib.php index 837403828eed8..bf5de3c6a9126 100644 --- a/htdocs/core/menus/standard/auguria.lib.php +++ b/htdocs/core/menus/standard/auguria.lib.php @@ -431,4 +431,3 @@ function dol_auguria_showmenu($type_user, &$menuentry, &$listofmodulesforexterna return 1; } -?> diff --git a/htdocs/core/modules/propale/modules_propale.php b/htdocs/core/modules/propale/modules_propale.php index ed2673a1e709c..13b933b6ccfbb 100644 --- a/htdocs/core/modules/propale/modules_propale.php +++ b/htdocs/core/modules/propale/modules_propale.php @@ -254,4 +254,3 @@ function propale_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0, } } -?> diff --git a/htdocs/fichinter/document.php b/htdocs/fichinter/document.php index 54728df36d91e..1e90f2985c74b 100644 --- a/htdocs/fichinter/document.php +++ b/htdocs/fichinter/document.php @@ -134,4 +134,3 @@ llxFooter(); $db->close(); -?> diff --git a/htdocs/holiday/define_holiday.php b/htdocs/holiday/define_holiday.php index 9427a8615907d..0ac67b6657915 100644 --- a/htdocs/holiday/define_holiday.php +++ b/htdocs/holiday/define_holiday.php @@ -190,4 +190,3 @@ llxFooter(); $db->close(); -?>