From f3154566a49274f4373d1abae028ff1c28dfd064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 5 Nov 2019 19:03:28 +0100 Subject: [PATCH] Update index.php --- htdocs/contrat/index.php | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/htdocs/contrat/index.php b/htdocs/contrat/index.php index 9d96ca7be5e..e08a33e78ba 100644 --- a/htdocs/contrat/index.php +++ b/htdocs/contrat/index.php @@ -85,12 +85,13 @@ if (! empty($conf->global->MAIN_SEARCH_FORM_ON_HOME_AREAS)) // This is usele { print '
'; print ''; - print ''; + print '
'; + print '
'; print ''; print ''; print ''; print ''; - print "
'.$langs->trans("Search").'
'.$langs->trans("Contract").':
\n"; + print "\n"; print "
"; } } @@ -183,7 +184,7 @@ else dol_print_error($db); } - +print '
'; print ''; print ''."\n"; $listofstatus=array(0,4,4,5); $bool=false; @@ -232,7 +233,7 @@ foreach($listofstatus as $status) //if ($totalinprocess != $total) //print ''; print ''; -print "
'.$langs->trans("Statistics").' - '.$langs->trans("Services").'
'.$langs->trans("Total").' ('.$langs->trans("ServicesRunning").')'.$totalinprocess.'
'.$langs->trans("Total").''.$total.'

"; +print "

"; // Draft contracts @@ -255,6 +256,7 @@ if (! empty($conf->contrat->enabled) && $user->rights->contrat->lire) { $num = $db->num_rows($resql); + print '
'; print ''; print ''; print ''; @@ -290,7 +292,7 @@ if (! empty($conf->contrat->enabled) && $user->rights->contrat->lire) { print ''; } - print "
'.$langs->trans("DraftContracts").($num?' '.$num.'':'').'
'.$langs->trans("NoContracts").'

"; + print "

"; $db->free($resql); } else @@ -333,6 +335,7 @@ if ($result) $num = $db->num_rows($result); $i = 0; + print '
'; print ''; print ''; @@ -368,7 +371,7 @@ if ($result) } $db->free($result); - print "
'.$langs->trans("LastContracts", 5).'
"; + print "
"; } else { @@ -400,6 +403,7 @@ if ($resql) $num = $db->num_rows($resql); $i = 0; + print '
'; print ''; print ''; @@ -446,7 +450,7 @@ if ($resql) } $db->free(); - print "
'.$langs->trans("LastModifiedServices", $max).'
"; + print "
"; } else { @@ -479,6 +483,7 @@ if ($resql) $num = $db->num_rows($resql); $i = 0; + print '
'; print ''; print ''; @@ -524,7 +529,7 @@ if ($resql) } $db->free(); - print "
'.$langs->trans("NotActivatedServices").' '.$num.'
"; + print "
"; } else { @@ -558,6 +563,7 @@ if ($resql) $num = $db->num_rows($resql); $i = 0; + print '
'; print ''; print ''; @@ -603,7 +609,7 @@ if ($resql) } $db->free(); - print "
'.$langs->trans("ListOfExpiredServices").' '.$num.'
"; + print "
"; } else {