2020-11-17 09:47:45 +01:00
|
|
|
<?php echo template::formOpen('newsConfig'); ?>
|
|
|
|
<div class="row">
|
2022-01-20 10:50:40 +01:00
|
|
|
<div class="col1">
|
2020-11-17 09:47:45 +01:00
|
|
|
<?php echo template::button('newsConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),'posts',
|
2022-01-20 10:50:40 +01:00
|
|
|
'value' => template::ico('left')
|
2020-11-17 09:47:45 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-01-20 10:50:40 +01:00
|
|
|
<div class="col1 offset9">
|
2022-01-21 10:58:13 +01:00
|
|
|
<?php echo template::button('newsConfigLayout', [
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/option',
|
|
|
|
'value' => template::ico('cogs'),
|
|
|
|
'help' => 'Options de configuration'
|
2020-11-17 09:47:45 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-01-20 10:37:00 +01:00
|
|
|
<div class="col1">
|
2022-01-21 10:58:13 +01:00
|
|
|
<?php echo template::button('newsConfigAdd', [
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
|
|
|
|
'value' => template::ico('plus'),
|
|
|
|
'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-01-17 19:12:07 +01:00
|
|
|
|
2020-11-17 09:47:45 +01:00
|
|
|
<?php if($module::$news): ?>
|
2021-05-03 22:18:38 +02:00
|
|
|
<?php echo template::table([4, 2, 2, 2, 1, 1], $module::$news, ['Titre', 'Publication', 'Dépublication', 'État', '', '']); ?>
|
2020-11-17 09:47:45 +01:00
|
|
|
<?php echo $module::$pages; ?>
|
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucune news.'); ?>
|
|
|
|
<?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>
|