From 4854d1203d7722361d19c66844d3603e4f100dfe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 11 Jun 2011 11:04:42 +0000 Subject: [PATCH] Agenda events are cleaner --- htdocs/comm/action/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 39c63002e49..1b6dc499e40 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -936,10 +936,10 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa } // Show title - if ($event->type_code == 'ICALEVENT') print $event->libelle; + if ($event->type_code == 'ICALEVENT') print dol_trunc($event->libelle,$maxnbofchar); else print $event->getNomUrl(0,$maxnbofchar,'cal_event'); - if ($event->type_code == 'ICALEVENT') print '
('.$event->icalname.')'; + if ($event->type_code == 'ICALEVENT') print '
('.dol_trunc($event->icalname,$maxnbofchar).')'; // If action related to company / contact $linerelatedto='';$length=16;