From 001010d5e304de57fc26d773bf712dde6d863349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 7 Nov 2019 12:43:33 +0100 Subject: [PATCH] fix phpcs --- htdocs/contrat/index.php | 6 +++--- htdocs/fourn/commande/index.php | 2 +- htdocs/opensurvey/list.php | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/htdocs/contrat/index.php b/htdocs/contrat/index.php index 7432ca1cd47..4196b604bec 100644 --- a/htdocs/contrat/index.php +++ b/htdocs/contrat/index.php @@ -85,8 +85,8 @@ if (! empty($conf->global->MAIN_SEARCH_FORM_ON_HOME_AREAS)) // This is usele { print '
'; print ''; - - print '
'; + + print '
'; print ''; print ''; print ''; @@ -257,7 +257,7 @@ if (! empty($conf->contrat->enabled) && $user->rights->contrat->lire) { $num = $db->num_rows($resql); - print '
'; + print '
'; print '
'.$langs->trans("Search").'
'; print ''; print ''; diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index dfd37e1579a..f872207221d 100644 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -226,7 +226,7 @@ if (! empty($conf->fournisseur->enabled)) $resql=$db->query($sql); if ($resql) { - print '
'; + print '
'; print '
'.$langs->trans("DraftContracts").($num?' '.$num.'':'').'
'; print ''; print ''; diff --git a/htdocs/opensurvey/list.php b/htdocs/opensurvey/list.php index 5001d118e61..b772cef3705 100644 --- a/htdocs/opensurvey/list.php +++ b/htdocs/opensurvey/list.php @@ -375,11 +375,11 @@ while ($i < min($num, $limit)) print $opensurvey_static->getNomUrl(1); print ''; if (! $i) $totalarray['nbfield']++; - + // Title print ''; if (! $i) $totalarray['nbfield']++; - + // Type print ''; if (! $i) $totalarray['nbfield']++; - + print ''; if (! $i) $totalarray['nbfield']++; - + // Nb of voters print''."\n"; if (! $i) $totalarray['nbfield']++; - + print ''; if (! $i) $totalarray['nbfield']++; - + print''."\n"; if (! $i) $totalarray['nbfield']++; - + // Extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php'; // Fields from hook @@ -432,7 +432,7 @@ while ($i < min($num, $limit)) } print ''; if (! $i) $totalarray['nbfield']++; - + print ''."\n"; $i++; } @@ -476,7 +476,7 @@ if (in_array('builddoc', $arrayofmassactions) && ($nbtotalofrecords === '' || $n $filedir=$diroutputmassaction; $genallowed=$permissiontoread; $delallowed=$permissiontoadd; - + print $formfile->showdocuments('massfilesarea_mymodule', '', $filedir, $urlsource, 0, $delallowed, '', 1, 1, 0, 48, 1, $param, $title, '', '', '', null, $hidegeneratedfilelistifempty); }
'.$langs->trans("DraftOrders").'
'.dol_htmlentities($obj->titre).''; $type=($obj->format=='A')?'classic':'date'; @@ -387,7 +387,7 @@ while ($i < min($num, $limit)) print ' '.$langs->trans($type=='classic'?"TypeClassic":"TypeDate"); print ''; // Author if ($obj->fk_user_creat) { @@ -403,19 +403,19 @@ while ($i < min($num, $limit)) } print ''.$nbuser.''.dol_print_date($db->jdate($obj->date_fin), 'day'); if ($db->jdate($obj->date_fin) < $now && $obj->status == Opensurveysondage::STATUS_VALIDATED) { print img_warning($langs->trans("Expired")); } print ''.$opensurvey_static->getLibStatut(5).'