diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index 30eeb2ffe8e..1e54db9d449 100644 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -124,7 +124,7 @@ if ($object->id > 0) dol_fiche_head($head, 'documents', $langs->trans("Action"), -1, 'action'); $linkback = img_picto($langs->trans("BackToList"),'object_list','class="hideonsmartphone pictoactionview"'); - $linkback.= ''.$langs->trans("BackToList").''; + $linkback.= ''.$langs->trans("BackToList").''; // Link to other agenda views $out=''; @@ -137,7 +137,7 @@ if ($object->id > 0) $out.=''.$langs->trans("ViewWeek").''; $out.=img_picto($langs->trans("ViewDay"),'object_calendarday','class="hideonsmartphone pictoactionview"'); $out.=''.$langs->trans("ViewDay").''; - + $linkback.=$out; $morehtmlref='
'; @@ -161,13 +161,13 @@ if ($object->id > 0) } } $morehtmlref.='
'; - + dol_banner_tab($object, 'id', $linkback, ($user->societe_id?0:1), 'id', 'ref', $morehtmlref); - + print '
'; - + print '
'; - + // Affichage fiche action en mode visu print ''; @@ -228,7 +228,7 @@ if ($object->id > 0) print '
'; print $form->select_dolusers_forevent('view', 'assignedtouser', 1, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth300'); print '
'; - if (in_array($user->id,array_keys($listofuserid))) + if (in_array($user->id,array_keys($listofuserid))) { print '
'; print $langs->trans("MyAvailability").': '.(($object->userassigned[$user->id]['transparency'] > 0)?$langs->trans("Busy"):$langs->trans("Available")); // We show nothing if event is assigned to nobody @@ -237,7 +237,7 @@ if ($object->id > 0) print ' '; print '
'; - + print ''; // Construit liste des fichiers @@ -255,7 +255,7 @@ if ($object->id > 0) print '
'; print '
'; - + dol_fiche_end();