1.7.04 Gestion des espaces divisions non fermées
This commit is contained in:
parent
65a121cb0a
commit
3502d78632
@ -1,4 +1,4 @@
|
|||||||
# ZwiiCampus 1.7.03
|
# ZwiiCampus 1.7.04
|
||||||
|
|
||||||
ZwiiCampus (Learning Management System) est logiciel auteur destiné à mettre en ligne des tutoriels. Il dispose de plusieurs modalités d'ouverture et d'accès des contenus. Basé sur la version 13 du CMS Zwii, la structure logicielle est solide, le framework de Zwii est éprouvé.
|
ZwiiCampus (Learning Management System) est logiciel auteur destiné à mettre en ligne des tutoriels. Il dispose de plusieurs modalités d'ouverture et d'accès des contenus. Basé sur la version 13 du CMS Zwii, la structure logicielle est solide, le framework de Zwii est éprouvé.
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ class common
|
|||||||
const ACCESS_TIMER = 1800;
|
const ACCESS_TIMER = 1800;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '1.7.03';
|
const ZWII_VERSION = '1.7.04';
|
||||||
|
|
||||||
// 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/';
|
||||||
|
@ -106,4 +106,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php echo template::formClose(); ?>
|
</div>
|
||||||
|
<?php echo template::formClose(); ?>
|
@ -8,7 +8,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row textAlignCenter">
|
<div class="row textAlignCenter">
|
||||||
|
|
||||||
<?php if ($this->getUser('permission', 'course', 'delete') === true): ?>
|
<?php if ($this->getUser('permission', 'course', 'delete') === true): ?>
|
||||||
<div class="col2 ">
|
<div class="col2 ">
|
||||||
<?php echo template::button('courseManageDelete' . $this->getUrl(2), [
|
<?php echo template::button('courseManageDelete' . $this->getUrl(2), [
|
||||||
@ -58,111 +57,112 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h4>
|
<h4>
|
||||||
<?php echo helper::translate('Paramètres'); ?>
|
<?php echo helper::translate('Paramètres'); ?>
|
||||||
</h4>
|
</h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col7">
|
<div class="col7">
|
||||||
<?php echo template::text('courseManageShortTitle', [
|
<?php echo template::text('courseManageShortTitle', [
|
||||||
'label' => 'Titre',
|
'label' => 'Titre',
|
||||||
'value' => $this->getdata(['course', $this->getUrl(2), 'title']),
|
'value' => $this->getdata(['course', $this->getUrl(2), 'title']),
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
|
||||||
<div class="col5">
|
|
||||||
<?php echo template::text('courseManageAuthor', [
|
|
||||||
'label' => 'text',
|
|
||||||
'value' => $this->signature( $this->getdata(['course', $this->getUrl(2), 'author']) ),
|
|
||||||
'readonly' => true,
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="col5">
|
||||||
<div class="col6">
|
<?php echo template::text('courseManageAuthor', [
|
||||||
<?php echo template::text('courseManageHomePageId', [
|
'label' => 'text',
|
||||||
'label' => 'Page d\'accueil',
|
'value' => $this->signature($this->getdata(['course', $this->getUrl(2), 'author'])),
|
||||||
'value' => $module::$pagesList[$this->getdata(['course', $this->getUrl(2), 'homePageId'])]['shortTitle'],
|
'readonly' => true,
|
||||||
'readonly' => true,
|
]); ?>
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
<div class="col6">
|
|
||||||
<?php echo template::text('courseManageCategorie', [
|
|
||||||
'label' => 'Catégorie',
|
|
||||||
'value' => $module::$courseCategories[$this->getdata(['course', $this->getUrl(2), 'category'])],
|
|
||||||
'readonly' => true,
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col12">
|
<div class="row">
|
||||||
<?php echo template::textarea('courseManageDescription', [
|
<div class="col6">
|
||||||
'label' => 'Description',
|
<?php echo template::text('courseManageHomePageId', [
|
||||||
'value' => $this->getdata(['course', $this->getUrl(2), 'description']),
|
'label' => 'Page d\'accueil',
|
||||||
'readonly' => true,
|
'value' => $module::$pagesList[$this->getdata(['course', $this->getUrl(2), 'homePageId'])]['shortTitle'],
|
||||||
]); ?>
|
'readonly' => true,
|
||||||
</div>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="col6">
|
||||||
<div class="col4">
|
<?php echo template::text('courseManageCategorie', [
|
||||||
<?php echo template::text('courseManageAccess', [
|
'label' => 'Catégorie',
|
||||||
'label' => 'Disponibilité',
|
'value' => $module::$courseCategories[$this->getdata(['course', $this->getUrl(2), 'category'])],
|
||||||
'value' =>$module::$courseAccess [$this->getdata(['course', $this->getUrl(2), 'access'])],
|
'readonly' => true,
|
||||||
'readonly' => true,
|
]); ?>
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
<div class="col4">
|
|
||||||
<?php echo template::date('courseOpeningDate', [
|
|
||||||
'type' => 'datetime-local',
|
|
||||||
'label' => 'Ouverture',
|
|
||||||
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'openingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'openingDate']) / 60) * 60,
|
|
||||||
'readonly' => true,
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
<div class="col4">
|
|
||||||
<?php echo template::date('courseClosingDate', [
|
|
||||||
'type' => 'datetime-local',
|
|
||||||
'label' => 'Fermeture',
|
|
||||||
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'closingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'closingDate']) / 60) * 60,
|
|
||||||
'readonly' => true,
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col4">
|
<div class="row">
|
||||||
<?php echo template::text('courseManageEnrolment', [
|
<div class="col12">
|
||||||
'label' => 'Participation',
|
<?php echo template::textarea('courseManageDescription', [
|
||||||
'value' => $module::$courseEnrolment[$this->getdata(['course', $this->getUrl(2), 'enrolment'])],
|
'label' => 'Description',
|
||||||
'readonly' => true,
|
'value' => $this->getdata(['course', $this->getUrl(2), 'description']),
|
||||||
]); ?>
|
'readonly' => true,
|
||||||
</div>
|
]); ?>
|
||||||
<div class="col4">
|
|
||||||
<?php echo template::text('courseManageEnrolmentKey', [
|
|
||||||
'label' => 'Clé',
|
|
||||||
'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']),
|
|
||||||
'readonly' => true,
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col4">
|
<div class="row">
|
||||||
<?php echo template::checkbox('courseManageEnrolmentLimit', true, 'Date de fin d\'inscription', [
|
<div class="col4">
|
||||||
'checked' => $this->getdata(['course', $this->getUrl(2), 'limitEnrolment']),
|
<?php echo template::text('courseManageAccess', [
|
||||||
'help' => 'Ne s\'applique pas à l\'inscription anonyme',
|
'label' => 'Disponibilité',
|
||||||
'disabled' => true,
|
'value' => $module::$courseAccess[$this->getdata(['course', $this->getUrl(2), 'access'])],
|
||||||
]); ?>
|
'readonly' => true,
|
||||||
</div>
|
]); ?>
|
||||||
<div class="col4">
|
</div>
|
||||||
<?php echo template::date('courseManageEnrolmentLimitDate', [
|
<div class="col4">
|
||||||
'type' => 'datetime-local',
|
<?php echo template::date('courseOpeningDate', [
|
||||||
'label' => 'Fermeture',
|
'type' => 'datetime-local',
|
||||||
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate']) / 60) * 60,
|
'label' => 'Ouverture',
|
||||||
'readonly' => true,
|
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'openingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'openingDate']) / 60) * 60,
|
||||||
]); ?>
|
'readonly' => true,
|
||||||
</div>
|
]); ?>
|
||||||
|
</div>
|
||||||
|
<div class="col4">
|
||||||
|
<?php echo template::date('courseClosingDate', [
|
||||||
|
'type' => 'datetime-local',
|
||||||
|
'label' => 'Fermeture',
|
||||||
|
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'closingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'closingDate']) / 60) * 60,
|
||||||
|
'readonly' => true,
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col4">
|
||||||
|
<?php echo template::text('courseManageEnrolment', [
|
||||||
|
'label' => 'Participation',
|
||||||
|
'value' => $module::$courseEnrolment[$this->getdata(['course', $this->getUrl(2), 'enrolment'])],
|
||||||
|
'readonly' => true,
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
<div class="col4">
|
||||||
|
<?php echo template::text('courseManageEnrolmentKey', [
|
||||||
|
'label' => 'Clé',
|
||||||
|
'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']),
|
||||||
|
'readonly' => true,
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col4">
|
||||||
|
<?php echo template::checkbox('courseManageEnrolmentLimit', true, 'Date de fin d\'inscription', [
|
||||||
|
'checked' => $this->getdata(['course', $this->getUrl(2), 'limitEnrolment']),
|
||||||
|
'help' => 'Ne s\'applique pas à l\'inscription anonyme',
|
||||||
|
'disabled' => true,
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
<div class="col4">
|
||||||
|
<?php echo template::date('courseManageEnrolmentLimitDate', [
|
||||||
|
'type' => 'datetime-local',
|
||||||
|
'label' => 'Fermeture',
|
||||||
|
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate']) / 60) * 60,
|
||||||
|
'readonly' => true,
|
||||||
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user