From 4adf43edb2e45a93e3f0ae026df9b91b8c3d7082 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Mon, 13 Jun 2011 08:15:30 +0000 Subject: [PATCH] fix display issue & uniformize code --- htdocs/comm/prospect/index.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/htdocs/comm/prospect/index.php b/htdocs/comm/prospect/index.php index 3c1d84432ca..951ac560f43 100644 --- a/htdocs/comm/prospect/index.php +++ b/htdocs/comm/prospect/index.php @@ -67,7 +67,7 @@ if ($conf->propal->enabled) } /* - * Prospects par status + * Prospects par statut * */ @@ -98,7 +98,8 @@ if ($resql) { $obj = $db->fetch_object($resql); $var=!$var; - print "id."\">"; + print ''; + print ''; print img_action($langs->trans("Show"),$obj->id).' '; print $langs->trans("StatusProspect".$obj->id); print ''.$obj->cc.''; @@ -205,7 +206,8 @@ if ($conf->propal->enabled && $user->rights->propale->lire) { $obj = $db->fetch_object($resql); $var=!$var; - print "propalid."\">"; + print ''; + print ''; print img_object($langs->trans("ShowPropal"),"propal").' '.$obj->ref.''; print ""; @@ -256,13 +258,13 @@ if ($resql) $var=true; print ''; - print ''; + print ''; while ($i < $num) { $obj = $db->fetch_object($resql); $var=!$var; - print "
'.$langs->trans("ProspectToContact").'
'.$langs->trans("ProspectToContact").'
"; + print '
'; $companystatic->id=$obj->socid; $companystatic->name=$obj->name; $companystatic->client=$obj->client; @@ -283,4 +285,4 @@ $db->close(); llxFooter('$Date$ - $Revision$'); -?> +?> \ No newline at end of file