2020-11-17 09:47:45 +01:00
|
|
|
<?php echo template::formOpen('newsConfig'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('newsConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),'posts',
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-01-20 10:37:00 +01:00
|
|
|
<div class="col1 offset8">
|
2020-11-17 09:47:45 +01:00
|
|
|
<?php echo template::button('newsConfigAdd', [
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
|
2022-01-20 10:37:00 +01:00
|
|
|
'value' => template::ico('plus')
|
2020-11-17 09:47:45 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-01-20 10:37:00 +01:00
|
|
|
<div class="col1">
|
2022-01-17 19:12:07 +01:00
|
|
|
<?php echo template::button('newsConfigLayout', [
|
2022-01-20 10:37:00 +01:00
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/option',
|
|
|
|
'value' => template::ico('brush')
|
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>
|