ZwiiCMS/module/gallery/view/config/config.php

45 lines
1.5 KiB
PHP
Raw Normal View History

2020-04-01 13:43:15 +02:00
<?php echo template::formOpen('galleryConfigForm'); ?>
2022-03-28 18:57:06 +02:00
<div class="row">
2022-04-01 14:45:47 +02:00
<div class="col1">
2022-03-28 18:57:06 +02:00
<?php echo template::button('galleryConfigBack', [
2022-04-01 14:45:47 +02:00
'class' => 'buttonGrey',
2024-04-23 17:42:00 +02:00
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0) . '/' . self::$siteContent,
2022-04-01 14:45:47 +02:00
'value' => template::ico('left')
2022-03-28 18:57:06 +02:00
]); ?>
</div>
2022-04-01 14:45:47 +02:00
<div class="col1 offset8">
2022-03-28 18:57:06 +02:00
<?php echo template::button('galleryConfigOption', [
2023-06-20 19:58:29 +02:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/option/galleries/',
2022-03-28 19:09:55 +02:00
'value' => template::ico('sliders')
2022-03-28 18:57:06 +02:00
]); ?>
2020-03-27 15:06:35 +01:00
</div>
2022-03-28 18:57:06 +02:00
<div class="col1">
<?php echo template::button('galleryConfigTheme', [
2023-06-20 19:58:29 +02:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/theme/',
2022-03-28 19:09:55 +02:00
'value' => template::ico('brush')
2022-03-28 18:57:06 +02:00
]); ?>
2020-03-27 15:06:35 +01:00
</div>
2022-03-28 18:57:06 +02:00
<div class="col1">
<?php echo template::button('galleryAdd', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/add/',
2022-04-05 13:46:44 +02:00
'value' => template::ico('plus'),
2022-09-27 08:54:08 +02:00
'class' => 'buttonGreen',
2022-04-05 13:46:44 +02:00
'class' => 'buttonGreen'
2022-03-28 18:57:06 +02:00
]); ?>
</div>
</div>
2020-11-04 09:15:08 +01:00
<?php echo template::formClose(); ?>
2020-04-09 22:56:12 +02:00
<div class="row">
<div class="col12">
2022-03-24 08:18:15 +01:00
<?php if($module::$galleries): ?>
2022-03-30 12:30:27 +02:00
<?php echo template::table([1, 4, 5, 1, 1], $module::$galleries, ['#','Nom', 'Dossier cible', '', ''], ['id' => 'galleryTable'],$module::$galleriesId); ?>
2022-03-24 08:18:15 +01:00
<?php echo template::hidden('galleryConfigFilterResponse'); ?>
<?php else: ?>
2023-01-17 14:21:36 +01:00
<?php echo template::speech('Aucune galerie'); ?>
2022-03-24 08:18:15 +01:00
<?php endif; ?>
2020-04-09 22:56:12 +02:00
</div>
<div class="moduleVersion">Version
2021-02-09 18:04:24 +01:00
<?php echo $module::VERSION; ?>
2018-04-02 08:29:19 +02:00
</div>
2020-04-09 22:56:12 +02:00
</div>