ZwiiCMS/module/news/view/config/config.php

36 lines
1.1 KiB
PHP
Raw Normal View History

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>
<div class="col2 offset6">
<?php echo template::button('newsConfigAdd', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
'ico' => 'plus',
'value' => 'News'
]); ?>
</div>
<div class="col2">
2022-01-17 19:11:05 +01:00
<?php echo template::button('newsConfigLayout', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/layout',
'ico' => 'puzzle',
'value' => 'Mise en page'
]); ?>
2020-11-17 09:47:45 +01:00
</div>
2021-04-05 08:59:24 +02:00
</div>
2022-01-17 19:11:05 +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(); ?>
<div class="moduleVersion">Version
2021-02-09 18:04:24 +01:00
<?php echo $module::VERSION; ?>
2019-02-14 17:54:02 +01:00
</div>