diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php
index 78e580a4318..c8b92acd5fc 100644
--- a/htdocs/comm/action/card.php
+++ b/htdocs/comm/action/card.php
@@ -1202,14 +1202,13 @@ if ($id > 0)
// Link to other agenda views
$out='';
- $out.=img_picto($langs->trans("ViewPerUser"),'object_calendarperuser','class="hideonsmartphone pictoactionview"');
+ $out.='
'.img_picto($langs->trans("ViewPerUser"),'object_calendarperuser','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewPerUser").'';
- $out.='
';
- $out.=img_picto($langs->trans("ViewCal"),'object_calendar','class="hideonsmartphone pictoactionview"');
+ $out.=''.img_picto($langs->trans("ViewCal"),'object_calendar','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewCal").'';
- $out.=img_picto($langs->trans("ViewWeek"),'object_calendarweek','class="hideonsmartphone pictoactionview"');
+ $out.=''.img_picto($langs->trans("ViewWeek"),'object_calendarweek','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewWeek").'';
- $out.=img_picto($langs->trans("ViewDay"),'object_calendarday','class="hideonsmartphone pictoactionview"');
+ $out.=''.img_picto($langs->trans("ViewDay"),'object_calendarday','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewDay").'';
$linkback.=$out;
diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php
index 1e54db9d449..68a36844e39 100644
--- a/htdocs/comm/action/document.php
+++ b/htdocs/comm/action/document.php
@@ -128,14 +128,13 @@ if ($object->id > 0)
// Link to other agenda views
$out='';
- $out.=img_picto($langs->trans("ViewPerUser"),'object_calendarperuser','class="hideonsmartphone pictoactionview"');
+ $out.=''.img_picto($langs->trans("ViewPerUser"),'object_calendarperuser','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewPerUser").'';
- $out.='
';
- $out.=img_picto($langs->trans("ViewCal"),'object_calendar','class="hideonsmartphone pictoactionview"');
+ $out.=''.img_picto($langs->trans("ViewCal"),'object_calendar','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewCal").'';
- $out.=img_picto($langs->trans("ViewWeek"),'object_calendarweek','class="hideonsmartphone pictoactionview"');
+ $out.=''.img_picto($langs->trans("ViewWeek"),'object_calendarweek','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewWeek").'';
- $out.=img_picto($langs->trans("ViewDay"),'object_calendarday','class="hideonsmartphone pictoactionview"');
+ $out.=''.img_picto($langs->trans("ViewDay"),'object_calendarday','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewDay").'';
$linkback.=$out;
diff --git a/htdocs/comm/action/info.php b/htdocs/comm/action/info.php
index 7bee5550453..9bcf1d2b9cd 100644
--- a/htdocs/comm/action/info.php
+++ b/htdocs/comm/action/info.php
@@ -51,6 +51,8 @@ $result = restrictedArea($user, 'agenda', $id, 'actioncomm&societe', 'myactions|
* View
*/
+$form=new Form($db);
+
$help_url='EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda';
llxHeader('',$langs->trans("Agenda"),$help_url);
@@ -66,14 +68,13 @@ $linkback.= ''.$langs->trans("B
// Link to other agenda views
$out='';
-$out.=img_picto($langs->trans("ViewPerUser"),'object_calendarperuser','class="hideonsmartphone pictoactionview"');
+$out.=''.img_picto($langs->trans("ViewPerUser"),'object_calendarperuser','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewPerUser").'';
-$out.='
';
-$out.=img_picto($langs->trans("ViewCal"),'object_calendar','class="hideonsmartphone pictoactionview"');
+$out.=''.img_picto($langs->trans("ViewCal"),'object_calendar','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewCal").'';
-$out.=img_picto($langs->trans("ViewWeek"),'object_calendarweek','class="hideonsmartphone pictoactionview"');
+$out.=''.img_picto($langs->trans("ViewWeek"),'object_calendarweek','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewWeek").'';
-$out.=img_picto($langs->trans("ViewDay"),'object_calendarday','class="hideonsmartphone pictoactionview"');
+$out.=''.img_picto($langs->trans("ViewDay"),'object_calendarday','class="hideonsmartphone pictoactionview"');
$out.=''.$langs->trans("ViewDay").'';
$linkback.=$out;
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 8db18e2c748..f33ab83ee29 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -5973,7 +5973,7 @@ class Form
if ($previous_ref || $next_ref || $morehtml)
{
- $ret.='