2023-09-08 22:09:25 +02:00
|
|
|
<?php echo template::formOpen('courseAddForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('courseAddBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'course',
|
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset9">
|
|
|
|
<?php echo template::submit('courseAddSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Paramètres'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
2023-09-10 09:59:54 +02:00
|
|
|
<div class="col12">
|
2023-09-08 22:09:25 +02:00
|
|
|
<?php echo template::text('courseAddTitle', [
|
|
|
|
'label' => 'Titre'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-09-10 09:59:54 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col7">
|
|
|
|
<?php echo template::text('courseAddShortTitle', [
|
|
|
|
'label' => 'Titre court'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col5">
|
|
|
|
<?php echo template::select('courseAddAuthor', $module::$courseTeachers, [
|
|
|
|
'label' => 'Auteur'
|
2023-09-08 22:09:25 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-29 04:28:17 +02:00
|
|
|
<div class="row">
|
2023-09-30 13:35:20 +02:00
|
|
|
<div class="col6">
|
2023-10-27 21:40:53 +02:00
|
|
|
<?php echo template::select('courseAddTheme', $module::$courses, [
|
|
|
|
'label' => 'Copier le thème depuis',
|
2023-09-30 13:35:20 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2023-10-28 23:18:07 +02:00
|
|
|
<?php echo template::select('courseAddCategorie', $module::$courseCategories, [
|
2023-09-29 04:28:17 +02:00
|
|
|
'label' => 'Catégorie',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-08 22:09:25 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::textarea('courseAddDescription', [
|
|
|
|
'label' => 'Description'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('courseAddAccess', $module::$courseAccess, [
|
|
|
|
'label' => 'Accès'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-10-27 21:40:53 +02:00
|
|
|
<?php echo template::date('courseAddOpeningDate', [
|
2023-09-12 22:16:25 +02:00
|
|
|
'type' => 'datetime-local',
|
2023-09-08 22:09:25 +02:00
|
|
|
'label' => 'Ouverture',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-10-27 21:40:53 +02:00
|
|
|
<?php echo template::date('courseAddClosingDate', [
|
2023-09-12 22:16:25 +02:00
|
|
|
'type' => 'datetime-local',
|
2023-09-08 22:09:25 +02:00
|
|
|
'label' => 'Fermeture',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('courseAddEnrolment', $module::$courseEnrolment, [
|
|
|
|
'label' => 'Inscription'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('courseAddEnrolmentKey', [
|
|
|
|
'label' => 'Clé'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-09-10 09:59:54 +02:00
|
|
|
</div>
|
2023-09-08 22:09:25 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-10 09:59:54 +02:00
|
|
|
<?php echo template::formClose(); ?>
|