From a8be10b3c6525776a51e49b9109370643e240b3d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 8 Sep 2011 20:02:57 +0000 Subject: [PATCH] Qual: Uniformize code Doxygen --- htdocs/comm/remise.php | 4 ++-- htdocs/compta/stats/casoc.php | 8 ++++---- htdocs/contrat/services.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/htdocs/comm/remise.php b/htdocs/comm/remise.php index d0bddb30d58..1e74cd1c002 100644 --- a/htdocs/comm/remise.php +++ b/htdocs/comm/remise.php @@ -121,9 +121,9 @@ if ($_socid > 0) print ''; print $langs->trans("NoteReason").''; - print ""; + print ''; - print '
'; + print ""; print ""; diff --git a/htdocs/compta/stats/casoc.php b/htdocs/compta/stats/casoc.php index 5b26de3791b..3799b919225 100644 --- a/htdocs/compta/stats/casoc.php +++ b/htdocs/compta/stats/casoc.php @@ -229,7 +229,7 @@ print_liste_field_titre($langs->trans("OtherStatistics"),$_SERVER["PHP_SELF"],"" print "\n"; $var=true; -if (count($amount)) +if (sizeof($amount)) { $arrayforsort=$name; @@ -287,9 +287,9 @@ if (count($amount)) // Other stats print ''; - if ($conf->propal->enabled && $key>0) print ' '.img_picto($langs->trans("ProposalStats"),"stats").' '; - if ($conf->commande->enabled && $key>0) print ' '.img_picto($langs->trans("OrderStats"),"stats").' '; - if ($conf->facture->enabled && $key>0) print ' '.img_picto($langs->trans("InvoiceStats"),"stats").' '; + if ($conf->propal->enabled && $key>0) print ' '.img_picto($langs->trans("ProposalStats"),"stats").' '; + if ($conf->commande->enabled && $key>0) print ' '.img_picto($langs->trans("OrderStats"),"stats").' '; + if ($conf->facture->enabled && $key>0) print ' '.img_picto($langs->trans("InvoiceStats"),"stats").' '; print ''; print "\n"; diff --git a/htdocs/contrat/services.php b/htdocs/contrat/services.php index eab9105745c..2255de19e7a 100644 --- a/htdocs/contrat/services.php +++ b/htdocs/contrat/services.php @@ -166,7 +166,7 @@ if ($resql) $arrayofoperators=array('<'=>'<','>'=>'>'); print $form->selectarray('filter_op1',$arrayofoperators,$_REQUEST['filter_op1'],1); print ' '; - $filter_date1=dol_mktime(0,0,0,$_REQUEST['op1month'],$_REQUEST['op1day'],$_REQUEST['op1year']); + $filter_date1=dol_mktime(0,0,0,$_REQUEST['op1month'],$_REQUEST['op1day'],$_REQUEST['"op1year']); print $form->select_date($filter_date1,'op1',0,0,1); print ''; print '';