Browse Source

Form 2.10 amélioration affichage des données reçues

master
Fred Tempez 1 month ago
parent
commit
992576613b
  1. 2
      module/form/form.php
  2. 9
      module/form/view/data/data.php

2
module/form/form.php

@ -16,7 +16,7 @@
class form extends common {
const VERSION = '2.9';
const VERSION = '2.10';
const REALNAME = 'Formulaire';
const DELETE = true;
const UPDATE = '0.0';

9
module/form/view/data/data.php

@ -18,13 +18,16 @@
<div class="col2">
<?php echo template::button('formDataBack', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/export2csv' . '/' . $_SESSION['csrf'],
'ico' => 'download',
'ico' => 'download',
'value' => 'Export CSV'
]); ?>
</div>
</div>
<?php echo template::table([11, 1], $module::$data, ['Données', '']); ?>
<?php echo $module::$pagination; ?>
<?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; ?>
<div class="moduleVersion">Version n°
<?php echo $module::VERSION; ?>
</div>
Loading…
Cancel
Save