fix template::ico

This commit is contained in:
Fred Tempez 2022-09-02 18:14:42 +02:00
parent 95dab7b7ab
commit 20521c57da
4 changed files with 5 additions and 5 deletions

View File

@ -70,7 +70,7 @@
<div class="col12" id="comment">
<h3>
<?php
echo template::ico('comment', 'right');
echo template::ico('comment', ['margin' => 'right']);
if ($module::$nbCommentsApproved > 0) {
echo $module::$nbCommentsApproved . ' commentaire' . ($module::$nbCommentsApproved > 1 ? 's' : '');
} else {

View File

@ -73,7 +73,7 @@
<p>Cet article ne reçoit pas de commentaire.</p>
<?php else: ?>
<p>
<?php echo template::ico('comment', 'right'); ?>
<?php echo template::ico('comment', ['margin' => 'right']); ?>
<?php
if ($module::$comments[$articleId] > 0) {
echo '<a href="'. helper::baseUrl() . $this->getUrl(0) . '/' . $articleId .'">';

View File

@ -70,7 +70,7 @@
<div class="col12" id="comment">
<h3>
<?php
echo template::ico('comment', 'right');
echo template::ico('comment', ['margin' => 'right']);
if ($module::$nbCommentsApproved > 0) {
echo $module::$nbCommentsApproved . ' Réponse' . ($module::$nbCommentsApproved > 1 ? 's' : '');
} else {

View File

@ -73,7 +73,7 @@
<p>Cet sujet ne reçoit pas de Réponse.</p>
<?php else: ?>
<p>
<?php echo template::ico('comment', 'right'); ?>
<?php echo template::ico('comment', ['margin' => 'right']); ?>
<?php
if ($module::$comments[$sujetId] > 0) {
echo '<a href="'. helper::baseUrl() . $this->getUrl(0) . '/' . $sujetId .'">';
@ -121,7 +121,7 @@
<?php echo count($sujet['comment']); ?>
<?php endif; ?>
</a>
<?php echo template::ico('comment', 'left'); ?>
<?php echo template::ico('comment', ['margin' => 'left']); ?>
</div>
<div class="blogDate">
<?php echo template::ico('calendar-empty'); ?>