Skip to content

Commit

Permalink
FIX: Code Syntax - show.php
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed May 19, 2023
1 parent e37564c commit 6cbcc00
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Template/comment/show.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<div class="comment <?= isset($preview) ? 'comment-preview' : '' ?>" id="comment-<?= $comment['id'] ?>">

<div class="comment-title">
<?php if (! empty($comment['username'])): ?>
<strong class="comment-username"><?= $this->text->e($comment['name'] ?: $comment['username']) ?></strong>
<?php if (!empty($comment['username'])): ?>
<strong class="comment-username"><?= $this->text->e($comment['name'] ? : $comment['username']) ?></strong>
<?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>
Expand All @@ -19,7 +17,6 @@
<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">
<div class="markdown">
<?= $this->text->markdown($comment['comment'], isset($is_public) && $is_public) ?>
Expand Down

0 comments on commit 6cbcc00

Please sign in to comment.