forked from ZwiiCMS-Team/ZwiiCampus
show al categories
This commit is contained in:
parent
b92944e8e3
commit
42a228a689
@ -1,7 +1,10 @@
|
||||
<?php $startRow = 0; ?>
|
||||
<?php foreach ($this->getData(['course']) as $courseId => $courseValue): ?>
|
||||
<!-- Filtre de catégorie -->
|
||||
<?php if ($courseValue['category'] !== $this->getData(['module', $this->getUrl(0), 'config', 'category'])): ?>
|
||||
<?php if (
|
||||
$this->getData(['module', $this->getUrl(0), 'config', 'category']) !== 'all' &&
|
||||
$courseValue['category'] !== $this->getData(['module', $this->getUrl(0), 'config', 'category'])
|
||||
): ?>
|
||||
<?php continue; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($startRow === 0): ?>
|
||||
@ -64,8 +67,12 @@
|
||||
</span>
|
||||
</p>
|
||||
<?php if ($this->getData(['course', $courseId, 'limitEnrolment']) === true): ?>
|
||||
<p>
|
||||
<span class="workshopEnrolmentLimit">
|
||||
<?php echo $this->getData(['module', $this->getUrl(0), 'caption', 'enrolmentLimit']); ?>
|
||||
<?php echo helper::dateUTF8(' %d %B %Y', $this->getData(['course', $courseId, 'limitEnrolmentDate']), self::$i18nUI) . helper::translate(' à ') . helper::dateUTF8('%H:%M', $this->getData(['course', $courseId, 'limitEnrolmentDate']), self::$i18nUI); ?>
|
||||
</span>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<!-- Lien accès au contenu-->
|
||||
|
Loading…
Reference in New Issue
Block a user