Zwii-Modules/geolocation/view/config/config.php
2024-08-16 15:57:50 +02:00

31 lines
942 B
PHP

<?php echo template::formOpen('locationConfigForm'); ?>
<div class="row">
<div class="col1">
<?php echo template::button('locationConfigBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
'value' => template::ico('left')
]); ?>
</div>
-->
<div class="col1 offset10">
<?php echo template::button('locationAdd', [
'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::$locations): ?>
<?php echo template::table([4, 3, 3, 1, 1], $module::$locations, ['Nom', 'Latitude', 'Longitude', '', '']); ?>
<?php else: ?>
<?php echo template::speech('Aucune localisation'); ?>
<?php endif; ?>
</div>
<div class="moduleVersion">Version n°
<?php echo $module::VERSION; ?>
</div>
</div>