show al categories
This commit is contained in:
parent
b92944e8e3
commit
42a228a689
@ -1,7 +1,10 @@
|
|||||||
<?php $startRow = 0; ?>
|
<?php $startRow = 0; ?>
|
||||||
<?php foreach ($this->getData(['course']) as $courseId => $courseValue): ?>
|
<?php foreach ($this->getData(['course']) as $courseId => $courseValue): ?>
|
||||||
<!-- Filtre de catégorie -->
|
<!-- 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 continue; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($startRow === 0): ?>
|
<?php if ($startRow === 0): ?>
|
||||||
@ -63,9 +66,13 @@
|
|||||||
<?php echo $module::$coursesEnrolment[$courseValue['enrolment']]; ?>
|
<?php echo $module::$coursesEnrolment[$courseValue['enrolment']]; ?>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<?php if ($this->getData(['course', $courseId, 'limitEnrolment']) === true ):?>
|
<?php if ($this->getData(['course', $courseId, 'limitEnrolment']) === true): ?>
|
||||||
|
<p>
|
||||||
|
<span class="workshopEnrolmentLimit">
|
||||||
<?php echo $this->getData(['module', $this->getUrl(0), 'caption', 'enrolmentLimit']); ?>
|
<?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); ?>
|
<?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; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<!-- Lien accès au contenu-->
|
<!-- Lien accès au contenu-->
|
||||||
|
Loading…
Reference in New Issue
Block a user