forked from ZwiiCMS-Team/ZwiiCampus
v69 category filter
This commit is contained in:
parent
550f2a6e42
commit
8f7ff82637
@ -50,7 +50,7 @@ class common
|
|||||||
const ACCESS_TIMER = 1800;
|
const ACCESS_TIMER = 1800;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '1.0.68';
|
const ZWII_VERSION = '1.0.69';
|
||||||
|
|
||||||
// URL autoupdate
|
// URL autoupdate
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';
|
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
<?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 -->
|
||||||
|
<?php if ($courseValue['category'] !== $this->getData(['module', $this->getUrl(0), 'config', 'category'])):?>
|
||||||
|
<?php continue; ?>
|
||||||
|
<?php endif; ?>
|
||||||
<?php if ($startRow === 0): ?>
|
<?php if ($startRow === 0): ?>
|
||||||
<div class="row workshopRowContainer">
|
<div class="row workshopRowContainer">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user