mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-01 01:08:43 +00:00
Fix for spacing
This commit is contained in:
parent
fcc3aa845b
commit
ca77ab69a6
|
|
@ -16,9 +16,9 @@
|
|||
<li><?= $this->getHtml('Saturday', 'Calendar'); ?>
|
||||
</ul>
|
||||
<?php $current = $this->calendar->getDate()->getMonthCalendar(0); $isActiveMonth = false;
|
||||
for($i = 0; $i < 6; $i++) : ?>
|
||||
for ($i = 0; $i < 6; $i++) : ?>
|
||||
<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;
|
||||
?>
|
||||
<?php if ($isActiveMonth) :?>
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ $calendar = $this->getData('calendar');
|
|||
<li><?= $this->getHtml('Saturday'); ?>
|
||||
</ul>
|
||||
<?php $current = $calendar->getDate()->getMonthCalendar(0); $isActiveMonth = false;
|
||||
for($i = 0; $i < 6; $i++) : ?>
|
||||
for ($i = 0; $i < 6; $i++) : ?>
|
||||
<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;
|
||||
?>
|
||||
<?php if ($isActiveMonth) :?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user