ZwiiCMS/module/blog/view/comment/comment.php
Fred 23a1e929a3 Revert "init"
This reverts commit 329f252d82.
2020-07-02 19:38:52 +02:00

16 lines
498 B
PHP

<div class="row">
<div class="col2">
<?php echo template::button('blogCommentBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
'ico' => 'left',
'value' => 'Retour'
]); ?>
</div>
</div>
<?php if($module::$comments): ?>
<?php echo template::table([3, 6, 2, 1], $module::$comments, ['Date', 'Contenu', 'Auteur', '']); ?>
<?php echo $module::$pages; ?>
<?php else: ?>
<?php echo template::speech('Aucun commentaire.'); ?>
<?php endif; ?>