forked from ZwiiCMS-Team/ZwiiCampus
1.10.03 Workshop Tri des espaces par titre
This commit is contained in:
parent
a7a2424d93
commit
b0814d50dc
@ -51,7 +51,7 @@ class common
|
||||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '1.10.02';
|
||||
const ZWII_VERSION = '1.10.03';
|
||||
|
||||
// URL autoupdate
|
||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?php $startRow = 0; ?>
|
||||
<?php foreach ($this->getData(['course']) as $courseId => $courseValue): ?>
|
||||
<?php $c = $this->getData(['course']);?>
|
||||
<?php $titles = array_column($c, 'title'); ?>
|
||||
<?php array_multisort($titles, SORT_ASC, $c); ?>
|
||||
<?php foreach ($c as $courseId => $courseValue): ?>
|
||||
<!-- Filtre de catégorie -->
|
||||
<?php if (
|
||||
$this->getData(['module', $this->getUrl(0), 'config', 'category']) !== 'all' &&
|
||||
|
@ -153,13 +153,6 @@ class workshop extends common
|
||||
'view' => 'index'
|
||||
]);
|
||||
|
||||
|
||||
// Valeurs en sortie
|
||||
$this->addOutput([
|
||||
'showBarEditButton' => true,
|
||||
'showPageContent' => true,
|
||||
'view' => 'index',
|
||||
]);
|
||||
}
|
||||
|
||||
// Initialise avec des valeurs par défaut
|
||||
|
Loading…
Reference in New Issue
Block a user