ZwiiCMS/module/blog/view/comment/comment.php

26 lines
666 B
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<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>
2020-07-02 19:35:51 +02:00
2018-04-02 08:29:19 +02:00
<?php if($module::$comments): ?>
2020-07-02 19:35:51 +02:00
<div class="col6 offset2">
<?php echo $module::$messageComments; ?>
</div>
<div class="col2">
<?php echo $module::$commentsDelete; ?>
</div>
</div>
2018-04-02 08:29:19 +02:00
<?php echo template::table([3, 6, 2, 1], $module::$comments, ['Date', 'Contenu', 'Auteur', '']); ?>
2020-07-02 19:35:51 +02:00
<?php echo $module::$pages.'<br/>'; ?>
2018-04-02 08:29:19 +02:00
<?php else: ?>
2020-07-02 19:35:51 +02:00
</div>
2018-04-02 08:29:19 +02:00
<?php echo template::speech('Aucun commentaire.'); ?>
2020-07-02 19:35:51 +02:00
<?php endif; ?>