forked from ZwiiCMS-Team/ZwiiCampus
91 lines
3.4 KiB
PHP
91 lines
3.4 KiB
PHP
<?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">
|
|
<div class="col12">
|
|
<?php echo template::text('courseAddTitle', [
|
|
'label' => 'Titre'
|
|
]); ?>
|
|
</div>
|
|
</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'
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col6">
|
|
<?php echo template::select('courseaDDHomePageId', helper::arrayColumn($module::$pagesList, 'title', 'SORT_ASC'), [
|
|
'label' => 'Accueil du cours',
|
|
]); ?>
|
|
</div>
|
|
<div class="col6">
|
|
<?php echo template::select('courseaDDCategories', $module::$courseCategories, [
|
|
'label' => 'Catégorie',
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<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">
|
|
<?php echo template::date('courseOpeningDate', [
|
|
'type' => 'datetime-local',
|
|
'label' => 'Ouverture',
|
|
]); ?>
|
|
</div>
|
|
<div class="col4">
|
|
<?php echo template::date('courseClosingDate', [
|
|
'type' => 'datetime-local',
|
|
'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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php echo template::formClose(); ?>
|