Skip to content

Commit

Permalink
FIX: Code Syntax PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed May 19, 2023
1 parent 16506f4 commit e463c94
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions Template/comment/show.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@
<?php endif ?>

<small class="comment-date"><?= t('Created at:') ?>&nbsp;
<kbd class="comment-created"><?= $this->dt->datetime($comment['date_creation']) ?><abbr title="<?= t('Local Time') ?>"><?= t('LT') ?></abbr></kbd>
<kbd class="comment-created">
<?= $this->dt->datetime($comment['date_creation']) ?><abbr title="<?= t('Local Time') ?>"><?= t('LT') ?></abbr>
</kbd>
</small>
<small class="comment-date updated-comment"><?= t('Updated at:') ?>&nbsp;
<kbd class="comment-updated"><?= $this->dt->datetime($comment['date_modification']) ?><abbr title="<?= t('Local Time') ?>"><?= t('LT') ?></abbr></kbd>
<kbd class="comment-updated">
<?= $this->dt->datetime($comment['date_modification']) ?><abbr title="<?= t('Local Time') ?>"><?= t('LT') ?></abbr>
</kbd>
</small>
<small class="comment-date comment-id">
<i class="fa fa-comment-o fa-fw"></i> <?= t('ID: ') ?> <kbd class="comment-created"><?= $this->text->e($comment['id']) ?></kbd>
</small>
<small class="comment-date comment-id"><i class="fa fa-comment-o fa-fw"></i> <?= t('ID: ') ?> <kbd class="comment-created"><?= $this->text->e($comment['id']) ?></kbd></small>
</div>

<div class="comment-content">
Expand Down
2 changes: 1 addition & 1 deletion Template/task_comments/show.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<details class="accordion-section" <?= empty($comments) ? '' : 'open' ?>>
<summary class="accordion-title acc-comments-title">
<h3 style="margin: 0; display: inline;"><?= t('Comments') ?>
<?php if (! empty($comments)): ?>
<?php if (!empty($comments)): ?>
<span class="">(<?= count($comments) ?>)</span>
<?php endif ?>
</h3>
Expand Down

0 comments on commit e463c94

Please sign in to comment.