ZwiiCMS/module/form/view/data/data.php

33 lines
1.0 KiB
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<div class="row">
<div class="col2">
<?php echo template::button('formDataBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
'ico' => 'left',
'value' => 'Retour'
]); ?>
</div>
<div class="col2 offset6">
<?php echo template::button('formDataDeleteAll', [
'class' => 'formDataDeleteAll buttonRed',
'href' => helper::baseUrl() . $this->getUrl(0) . '/deleteall' . '/' . $_SESSION['csrf'],
'ico' => 'cancel',
'value' => 'Tout effacer'
]); ?>
</div>
<div class="col2">
<?php echo template::button('formDataBack', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/export2csv' . '/' . $_SESSION['csrf'],
'ico' => 'download',
'value' => 'Export CSV'
]); ?>
</div>
2018-04-02 08:29:19 +02:00
</div>
<?php if($module::$data): ?>
<?php echo template::table([11, 1], $module::$data, ['Données', '']); ?>
<?php else: ?>
<?php echo template::speech('Aucune donnée'); ?>
<?php endif; ?>
2019-11-27 14:31:26 +01:00
<div class="moduleVersion">Version
2021-02-09 18:04:24 +01:00
<?php echo $module::VERSION; ?>
2019-11-27 14:31:26 +01:00
</div>