Minor- Flint fixes

pull/2547/head
Julio 8 years ago
parent 75578636ff
commit 3f4bf3bd63
  1. 2
      main/inc/lib/agenda.lib.php
  2. 6
      plugin/customcertificate/src/print_certificate.php

@ -542,7 +542,7 @@ class Agenda
$endDateInLocalFixed = new DateTime($endDateFixed, new DateTimeZone($timeZone));
$newEndDate = $endDateInLocalFixed->format('Y-m-d H:i:s');
}
$list[] = ['start' => $newStartDate, 'end' => $newEndDate, 'i' => $startDateInLocal->format('I')];
$list[] = ['start' => $newStartDate, 'end' => $newEndDate, 'i' => $startDateInLocal->format('I')];
$counter++;
// just in case stop if more than $loopMax

@ -156,9 +156,9 @@ foreach ($userList as $userInfo) {
"
border="0">';
$htmlText .= '<tr>';
$htmlText .= '<td style="width:'.intval($workSpace/3).'mm" class="logo">'.$logoLeft.'</td>';
$htmlText .= '<td style="width:'.intval($workSpace/3).'mm; text-align:center;" class="logo">'.$logoCenter.'</td>';
$htmlText .= '<td style="width:'.intval($workSpace/3).'mm; text-align:right;" class="logo">'.$logoRight.'</td>';
$htmlText .= '<td style="width:'.intval($workSpace / 3).'mm" class="logo">'.$logoLeft.'</td>';
$htmlText .= '<td style="width:'.intval($workSpace / 3).'mm; text-align:center;" class="logo">'.$logoCenter.'</td>';
$htmlText .= '<td style="width:'.intval($workSpace / 3).'mm; text-align:right;" class="logo">'.$logoRight.'</td>';
$htmlText .= '</tr>';
$htmlText .= '</table>';

Loading…
Cancel
Save