diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index b5197c30361..a9a80c854e8 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -1862,24 +1862,34 @@ if ($id > 0) { $linkback = ''; // Link to other agenda views - $linkback .= img_picto($langs->trans("BackToList"), 'object_list', 'class="hideonsmartphone pictoactionview"'); - $linkback .= ''.$langs->trans("BackToList").''; + $linkback .= ''; + $linkback .= img_picto($langs->trans("BackToList"), 'object_list', 'class="pictoactionview pictofixedwidth"'); + $linkback .= ''.$langs->trans("BackToList").''; + $linkback .= ''; $linkback .= ''; $linkback .= '
  • '; - $linkback .= img_picto($langs->trans("ViewCal"), 'object_calendar', 'class="hideonsmartphone pictoactionview"'); - $linkback .= ''.$langs->trans("ViewCal").''; + $linkback .= ''; + $linkback .= img_picto($langs->trans("ViewCal"), 'object_calendar', 'class="pictoactionview pictofixedwidth"'); + $linkback .= ''.$langs->trans("ViewCal").''; + $linkback .= ''; $linkback .= '
  • '; $linkback .= '
  • '; - $linkback .= img_picto($langs->trans("ViewWeek"), 'object_calendarweek', 'class="hideonsmartphone pictoactionview"'); - $linkback .= ''.$langs->trans("ViewWeek").''; + $linkback .= ''; + $linkback .= img_picto($langs->trans("ViewWeek"), 'object_calendarweek', 'class="pictoactionview pictofixedwidth"'); + $linkback .= ''.$langs->trans("ViewWeek").''; + $linkback .= ''; $linkback .= '
  • '; $linkback .= '
  • '; - $linkback .= img_picto($langs->trans("ViewDay"), 'object_calendarday', 'class="hideonsmartphone pictoactionview"'); - $linkback .= ''.$langs->trans("ViewDay").''; + $linkback .= ''; + $linkback .= img_picto($langs->trans("ViewDay"), 'object_calendarday', 'class="pictoactionview pictofixedwidth"'); + $linkback .= ''.$langs->trans("ViewDay").''; + $linkback .= ''; $linkback .= '
  • '; $linkback .= '
  • '; - $linkback .= img_picto($langs->trans("ViewPerUser"), 'object_calendarperuser', 'class="hideonsmartphone pictoactionview"'); - $linkback .= ''.$langs->trans("ViewPerUser").''; + $linkback .= ''; + $linkback .= img_picto($langs->trans("ViewPerUser"), 'object_calendarperuser', 'class="pictoactionview pictofixedwidth"'); + $linkback .= ''.$langs->trans("ViewPerUser").''; + $linkback .= ''; //$linkback.=$out; diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 0f829132cb7..b139b222fa2 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -459,7 +459,7 @@ if ($mode == 'show_day') { $nav .= $form->selectDate($dateselect, 'dateselect', 0, 0, 1, '', 1, 0); //$nav .= ' '; -$nav .= ''; +$nav .= ''; // Must be after the nav definition $paramnodate = $param; @@ -581,7 +581,7 @@ if (!empty($conf->use_javascript_ajax)) { // If javascript on $s .= '
    '.$langs->trans("LocalAgenda").'  
    '; // Holiday calendar - $s .= '
     
    '; + $s .= '
     
    '; // External calendars if (is_array($showextcals) && count($showextcals) > 0) { @@ -612,12 +612,12 @@ if (!empty($conf->use_javascript_ajax)) { // If javascript on $default = ''; } - $s .= '
     
    '; + $s .= '
     
    '; } } // Birthdays - $s .= '
     
    '; + $s .= '
     
    '; // Calendars from hooks $parameters = array(); $object = null; diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php index c52b57e305f..2bde3f3174a 100644 --- a/htdocs/contrat/card.php +++ b/htdocs/contrat/card.php @@ -1537,11 +1537,11 @@ if ($action == 'create') { // Margin if (!empty($conf->margin->enabled) && !empty($conf->global->MARGIN_SHOW_ON_CONTRACT)) { - print ''.price($objp->pa_ht).''; + print ''.price($objp->pa_ht).''; } // Icon move, update et delete (statut contrat 0=brouillon,1=valide,2=ferme) - print ''; + print ''; if ($user->rights->contrat->creer && count($arrayothercontracts) && ($object->statut >= 0)) { print ''; print '';