This commit is contained in:
Fred Tempez 2024-01-21 11:05:05 +01:00
parent 7d23918617
commit 3885fbc475

View File

@ -119,16 +119,14 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col4"> <div class="col6">
<div class="col4">
<?php echo template::select('courseManageEnrolment', $module::$courseEnrolment, [ <?php echo template::select('courseManageEnrolment', $module::$courseEnrolment, [
'label' => 'Participation', 'label' => 'Participation',
'selected' => $this->getdata(['course', $this->getUrl(2), 'enrolment']), 'selected' => $this->getdata(['course', $this->getUrl(2), 'enrolment']),
'disabled' => true, 'disabled' => true,
]); ?> ]); ?>
</div>
</div> </div>
<div class="col4"> <div class="col6">
<?php echo template::text('courseManageEnrolmentKey', [ <?php echo template::text('courseManageEnrolmentKey', [
'label' => 'Clé', 'label' => 'Clé',
'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']), 'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']),
@ -137,14 +135,14 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col4"> <div class="col6">
<?php echo template::checkbox('courseManageEnrolmentLimit', true, 'Date de fin d\'inscription', [ <?php echo template::checkbox('courseManageEnrolmentLimit', true, 'Date de fin d\'inscription', [
'checked' => $this->getdata(['course', $this->getUrl(2), 'limitEnrolment']), 'checked' => $this->getdata(['course', $this->getUrl(2), 'limitEnrolment']),
'help' => 'Ne s\'applique pas à l\'inscription anonyme', 'help' => 'Ne s\'applique pas à l\'inscription anonyme',
'disabled' => true, 'disabled' => true,
]); ?> ]); ?>
</div> </div>
<div class="col4"> <div class="col6">
<?php echo template::date('courseManageEnrolmentLimitDate', [ <?php echo template::date('courseManageEnrolmentLimitDate', [
'type' => 'datetime-local', 'type' => 'datetime-local',
'label' => 'Fermeture', 'label' => 'Fermeture',