2020-11-17 09:47:45 +01:00
|
|
|
<?php echo template::formOpen('newsConfig'); ?>
|
|
|
|
<div class="row">
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col1">
|
2020-11-17 09:47:45 +01:00
|
|
|
<?php echo template::button('newsConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2024-04-23 17:42:00 +02:00
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0) . '/' . self::$siteContent,
|
2022-02-18 12:43:48 +01:00
|
|
|
'value' => template::ico('left')
|
2020-11-17 09:47:45 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col1 offset9">
|
|
|
|
<?php echo template::button('newsConfigLayout', [
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/option',
|
|
|
|
'value' => template::ico('sliders'),
|
|
|
|
'help' => 'Options de configuration'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1">
|
2022-01-21 10:58:13 +01:00
|
|
|
<?php echo template::button('newsConfigAdd', [
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
|
2022-02-18 12:43:48 +01:00
|
|
|
'value' => template::ico('plus'),
|
2022-09-27 08:54:08 +02:00
|
|
|
'class' => 'buttonGreen',
|
2022-02-18 12:43:48 +01:00
|
|
|
'help' => 'Rédiger une news'
|
2022-01-17 19:12:07 +01:00
|
|
|
]); ?>
|
2020-11-17 09:47:45 +01:00
|
|
|
</div>
|
2021-04-05 08:59:24 +02:00
|
|
|
</div>
|
2022-02-18 12:43:48 +01:00
|
|
|
|
2020-11-17 09:47:45 +01:00
|
|
|
<?php if($module::$news): ?>
|
2023-02-14 08:47:02 +01:00
|
|
|
<?php echo template::table([4, 2, 2, 2, 1, 1], $module::$news, ['Titre', 'Publication', 'Fin de publication', 'État', '', '']); ?>
|
2020-11-17 09:47:45 +01:00
|
|
|
<?php echo $module::$pages; ?>
|
|
|
|
<?php else: ?>
|
2023-01-19 13:28:50 +01:00
|
|
|
<?php echo template::speech('Aucun article'); ?>
|
2020-11-17 09:47:45 +01:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php echo template::formClose(); ?>
|
2019-11-26 19:09:12 +01:00
|
|
|
<div class="moduleVersion">Version n°
|
2021-02-09 18:04:24 +01:00
|
|
|
<?php echo $module::VERSION; ?>
|
2019-02-14 17:54:02 +01:00
|
|
|
</div>
|