summaryrefslogtreecommitdiff
path: root/includes/view/ShiftCalendarRenderer.php
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2017-01-03 14:12:17 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-03 15:32:59 +0100
commit55141154c083acc2d0397f4c62b4e0be1c7a19fa (patch)
tree7e5e54a19f7df976fa68c42f21f1484112a7c257 /includes/view/ShiftCalendarRenderer.php
parent356b2582f3e6a43ecf2607acad4a7fe0b37f659a (diff)
Replaced " with '
Diffstat (limited to 'includes/view/ShiftCalendarRenderer.php')
-rw-r--r--includes/view/ShiftCalendarRenderer.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/includes/view/ShiftCalendarRenderer.php b/includes/view/ShiftCalendarRenderer.php
index e2a574e6..aad0d643 100644
--- a/includes/view/ShiftCalendarRenderer.php
+++ b/includes/view/ShiftCalendarRenderer.php
@@ -4,7 +4,6 @@ namespace Engelsystem;
class ShiftCalendarRenderer
{
-
/**
* 15m * 60s/m = 900s
*/
@@ -102,7 +101,7 @@ class ShiftCalendarRenderer
if ($shift_added == false) {
$newLane = new ShiftCalendarLane($header, $this->getFirstBlockStartTime(), $this->getBlocksPerSlot());
if (!$newLane->addShift($shift)) {
- engelsystem_error("Unable to add shift to new lane.");
+ engelsystem_error('Unable to add shift to new lane.');
}
$lanes[$room_id][] = $newLane;
}
@@ -161,7 +160,7 @@ class ShiftCalendarRenderer
*/
private function renderShiftLanes()
{
- $html = "";
+ $html = '';
foreach ($this->lanes as $room_lanes) {
foreach ($room_lanes as $lane) {
$html .= $this->renderLane($lane);
@@ -182,7 +181,7 @@ class ShiftCalendarRenderer
global $user;
$shift_renderer = new ShiftCalendarShiftRenderer();
- $html = "";
+ $html = '';
$rendered_until = $this->getFirstBlockStartTime();
foreach ($lane->getShifts() as $shift) {
@@ -248,7 +247,7 @@ class ShiftCalendarRenderer
{
$time_slot = [
div('header', [
- _("Time")
+ _('Time')
])
];
for ($block = 0; $block < $this->getBlocksPerSlot(); $block++) {