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">
2022-02-18 12:43:48 +01:00
<div class="col1">
2018-04-02 08:29:19 +02:00
<?php echo template::button('formDataBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
2022-02-18 12:43:48 +01:00
'value' => template::ico('left')
2018-04-02 08:29:19 +02:00
]); ?>
</div>
2022-02-18 12:43:48 +01:00
<div class="col1 offset9">
<?php echo template::button('formDataDeleteAll', [
'class' => 'formDataDeleteAll buttonRed',
2023-06-19 19:46:00 +02:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/deleteall',
'value' => template::ico('trash'),
2022-02-18 12:43:48 +01:00
'help' => 'Effacer toutes les données'
]); ?>
</div>
2022-02-18 12:43:48 +01:00
<div class="col1">
<?php echo template::button('formDataBack', [
2023-06-19 19:46:00 +02:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/export2csv',
2022-02-18 12:43:48 +01:00
'value' => template::ico('download'),
'help' => 'Exporter toutes les données'
]); ?>
</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 echo $module::$pages; ?>
<?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>