Zwii-Modules/agenda/view/config/config.php

31 lines
926 B
PHP
Raw Normal View History

2024-08-16 15:57:50 +02:00
<?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
<?php echo $module::VERSION; ?>
</div>
</div>