Minor: Format code

pull/4113/head
Angel Fernando Quiroz Campos 4 years ago
parent 4ecabee926
commit aa82a95923
  1. 6
      main/inc/lib/agenda.lib.php
  2. 2
      main/inc/lib/tracking.lib.php

@ -1359,9 +1359,9 @@ class Agenda
} }
} }
if (api_get_configuration_value('personal_calendar_show_sessions_occupation')) { if (api_get_configuration_value('personal_calendar_show_sessions_occupation')) {
$this->loadSessionsAsEvents($start, $end); $this->loadSessionsAsEvents($start, $end);
} }
break; break;
} }

@ -555,7 +555,7 @@ class Tracking
$timeCatRow = '<td></td>'; $timeCatRow = '<td></td>';
} }
$catTitle = $categories[$catId]['title']; $catTitle = $categories[$catId]['title'];
$catScoreDisplay = ($catWeight > 0)? round(($catScore * 100) / $catWeight).'% ('.$catScore.'/'.$catWeight.')':''; $catScoreDisplay = ($catWeight > 0) ? round(($catScore * 100) / $catWeight).'% ('.$catScore.'/'.$catWeight.')' : '';
$output .= "<tr>"; $output .= "<tr>";
$output .= ' $output .= '
<td style="width:35%">&mdash;&mdash; '.$catTitle.'</td> <td style="width:35%">&mdash;&mdash; '.$catTitle.'</td>

Loading…
Cancel
Save