ZwiiCMS/module/blog/view/config/config.php

32 lines
998 B
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<div class="row">
<div class="col2">
<?php echo template::button('blogConfigBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
'ico' => 'left',
'value' => 'Retour'
]); ?>
</div>
<div class="col3 offset5">
<?php echo template::button('blogConfigComment', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/comment',
'value' => 'Gérer les commentaires'
]); ?>
</div>
<div class="col2">
<?php echo template::button('blogConfigAdd', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
'ico' => 'plus',
'value' => 'Article'
]); ?>
</div>
</div>
<?php if($module::$articles): ?>
<?php echo template::table([4, 4, 2, 1, 1], $module::$articles, ['Titre', 'Date de publication', 'État', '', '']); ?>
<?php echo $module::$pages; ?>
<?php else: ?>
<?php echo template::speech('Aucun article.'); ?>
2019-02-14 15:17:03 +01:00
<?php endif; ?>
2019-02-14 17:54:02 +01:00
<div class="moduleVersion">Module version
2019-02-14 15:17:03 +01:00
<?php echo $module::BLOG_VERSION; ?>
2019-02-14 17:54:02 +01:00
</div>