From 2feef13d4b31a9b64c8e706a4d019831e18dd935 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 29 Aug 2003 19:25:31 +0000 Subject: [PATCH] =?UTF-8?q?Suppression=20du=20libelle=20et=20ajout=20du=20?= =?UTF-8?q?d=E9but=20du=20commentaire=20dans=20la=20liste?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/action/index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 940960023ae..32a05f2ea37 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -125,7 +125,7 @@ if ($sortfield == "") $sortfield="a.datea"; } -$sql = "SELECT s.nom as societe, s.idp as socidp,a.id,".$db->pdate("a.datea")." as da, a.datea, c.libelle, u.code, a.fk_contact "; +$sql = "SELECT s.nom as societe, s.idp as socidp,a.id,".$db->pdate("a.datea")." as da, a.datea, c.libelle, u.code, a.fk_contact, a.note "; $sql .= " FROM llx_actioncomm as a, c_actioncomm as c, llx_societe as s, llx_user as u"; $sql .= " WHERE a.fk_soc = s.idp AND c.id=a.fk_action AND a.fk_user_author = u.rowid AND a.percent = 100"; @@ -163,9 +163,9 @@ if ( $db->query($sql) ) print 'Date'; print 'Société'; print 'Action'; - print 'Contact'; - print "Auteur"; - print "\n"; + print 'Contact'; + print "CommentairesAuteur"; + print "\n"; $var=True; while ($i < min($num,$limit)) { $obj = $db->fetch_object( $i); @@ -220,7 +220,7 @@ if ( $db->query($sql) ) /* * */ - print ''.$obj->libelle.''; + print ''.substr($obj->note, 0, 20).' ...'; print "$obj->code\n"; print "\n";