mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-01-26 06:28:41 +00:00
Remove space from end of line
This commit is contained in:
parent
2aae0f0b27
commit
40f2fb1ae7
|
|
@ -18,8 +18,8 @@
|
|||
<?php $current = $this->calendar->getDate()->getMonthCalendar(0); $isActiveMonth = false;
|
||||
for ($i = 0; $i < 6; $i++) : ?>
|
||||
<ul class="days">
|
||||
<?php for ($j = 0; $j < 7; $j++) :
|
||||
$isActiveMonth = ((int) $current[$i*7+$j]->format('d') === 1) ? !$isActiveMonth : $isActiveMonth;
|
||||
<?php for ($j = 0; $j < 7; $j++) :
|
||||
$isActiveMonth = ((int) $current[$i*7+$j]->format('d') === 1) ? !$isActiveMonth : $isActiveMonth;
|
||||
?>
|
||||
<?php if ($isActiveMonth) :?>
|
||||
<li class="day<?= $this->calendar->hasEventOnDate($current[$i*7+$j]) ? ' has-event' : '';?>">
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ $calendar = $this->getData('calendar');
|
|||
<?php $current = $calendar->getDate()->getMonthCalendar(0); $isActiveMonth = false;
|
||||
for ($i = 0; $i < 6; $i++) : ?>
|
||||
<ul class="days">
|
||||
<?php for ($j = 0; $j < 7; $j++) :
|
||||
$isActiveMonth = ((int) $current[$i*7+$j]->format('d') === 1) ? !$isActiveMonth : $isActiveMonth;
|
||||
<?php for ($j = 0; $j < 7; $j++) :
|
||||
$isActiveMonth = ((int) $current[$i*7+$j]->format('d') === 1) ? !$isActiveMonth : $isActiveMonth;
|
||||
?>
|
||||
<?php if ($isActiveMonth) :?>
|
||||
<li class="day">
|
||||
|
|
@ -47,7 +47,7 @@ $calendar = $this->getData('calendar');
|
|||
<?php endif; ?>
|
||||
<?php
|
||||
$events = $calendar->getEventByDate($current[$i*7+$j]);
|
||||
foreach ($events as $event) : ?>
|
||||
foreach ($events as $event) : ?>
|
||||
<div id="event-tag-<?= $this->printHtml($event->getId()); ?>" class="event">
|
||||
<div class="event-desc"><?= $this->printHtml($event->getName()); ?></div>
|
||||
<div class="event-time">2:00pm to 5:00pm</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user