mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-13 15:08:40 +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;
|
<?php $current = $this->calendar->getDate()->getMonthCalendar(0); $isActiveMonth = false;
|
||||||
for ($i = 0; $i < 6; $i++) : ?>
|
for ($i = 0; $i < 6; $i++) : ?>
|
||||||
<ul class="days">
|
<ul class="days">
|
||||||
<?php for ($j = 0; $j < 7; $j++) :
|
<?php for ($j = 0; $j < 7; $j++) :
|
||||||
$isActiveMonth = ((int) $current[$i*7+$j]->format('d') === 1) ? !$isActiveMonth : $isActiveMonth;
|
$isActiveMonth = ((int) $current[$i*7+$j]->format('d') === 1) ? !$isActiveMonth : $isActiveMonth;
|
||||||
?>
|
?>
|
||||||
<?php if ($isActiveMonth) :?>
|
<?php if ($isActiveMonth) :?>
|
||||||
<li class="day<?= $this->calendar->hasEventOnDate($current[$i*7+$j]) ? ' has-event' : '';?>">
|
<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;
|
<?php $current = $calendar->getDate()->getMonthCalendar(0); $isActiveMonth = false;
|
||||||
for ($i = 0; $i < 6; $i++) : ?>
|
for ($i = 0; $i < 6; $i++) : ?>
|
||||||
<ul class="days">
|
<ul class="days">
|
||||||
<?php for ($j = 0; $j < 7; $j++) :
|
<?php for ($j = 0; $j < 7; $j++) :
|
||||||
$isActiveMonth = ((int) $current[$i*7+$j]->format('d') === 1) ? !$isActiveMonth : $isActiveMonth;
|
$isActiveMonth = ((int) $current[$i*7+$j]->format('d') === 1) ? !$isActiveMonth : $isActiveMonth;
|
||||||
?>
|
?>
|
||||||
<?php if ($isActiveMonth) :?>
|
<?php if ($isActiveMonth) :?>
|
||||||
<li class="day">
|
<li class="day">
|
||||||
|
|
@ -47,7 +47,7 @@ $calendar = $this->getData('calendar');
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php
|
<?php
|
||||||
$events = $calendar->getEventByDate($current[$i*7+$j]);
|
$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 id="event-tag-<?= $this->printHtml($event->getId()); ?>" class="event">
|
||||||
<div class="event-desc"><?= $this->printHtml($event->getName()); ?></div>
|
<div class="event-desc"><?= $this->printHtml($event->getName()); ?></div>
|
||||||
<div class="event-time">2:00pm to 5:00pm</div>
|
<div class="event-time">2:00pm to 5:00pm</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user