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

26 lines
779 B
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<div class="row">
<div class="col2">
<?php echo template::button('newsConfigBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
'ico' => 'left',
'value' => 'Retour'
]); ?>
</div>
<div class="col2 offset8">
<?php echo template::button('newsConfigAdd', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
'ico' => 'plus',
'value' => 'News'
]); ?>
</div>
</div>
<?php if($module::$news): ?>
<?php echo template::table([4, 4, 2, 1, 1], $module::$news, ['Titre', 'Date de publication', 'État', '', '']); ?>
<?php echo $module::$pages; ?>
<?php else: ?>
<?php echo template::speech('Aucune news.'); ?>
2019-02-14 15:17:03 +01:00
<?php endif; ?>
<em>Version du module&nbsp;:&nbsp;
<?php echo $module::NEWS_VERSION; ?>
</em>