31 lines
926 B
PHP
31 lines
926 B
PHP
|
<?php echo template::formOpen('agendaConfigForm'); ?>
|
||
|
<div class="row">
|
||
|
<div class="col1">
|
||
|
<?php echo template::button('agendaConfigBack', [
|
||
|
'class' => 'buttonGrey',
|
||
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
||
|
'value' => template::ico('left')
|
||
|
]); ?>
|
||
|
</div>
|
||
|
-->
|
||
|
<div class="col1 offset10">
|
||
|
<?php echo template::button('agendaAdd', [
|
||
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/add/',
|
||
|
'value' => template::ico('plus'),
|
||
|
'class' => 'buttonGreen'
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php echo template::formClose(); ?>
|
||
|
<div class="row">
|
||
|
<div class="col12">
|
||
|
<?php if ($module::$agendas): ?>
|
||
|
<?php echo template::table([6, 3, 3, 1, 1], $module::$agendas, ['Titre', 'Date', 'Horaire', '', '']); ?>
|
||
|
<?php else: ?>
|
||
|
<?php echo template::speech('Aucun événement'); ?>
|
||
|
<?php endif; ?>
|
||
|
</div>
|
||
|
<div class="moduleVersion">Version n°
|
||
|
<?php echo $module::VERSION; ?>
|
||
|
</div>
|
||
|
</div>
|