summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/template/pkg_comments.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 997b9caa..2ed6420d 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -22,9 +22,11 @@ $pkgname = $row['Name'];
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
<input type="image" src="/images/x.png" alt="<?= __('Delete comment') ?>" name="submit" value="1" />
</fieldset>
+ <?= __('Comment by %s', $row['UserName']) ?>
</form>
- <?php endif; ?>
+ <?php else: ?>
<?= __('Comment by %s', $row['UserName']) ?>
+ <?php endif; ?>
</h4>
<p class="timestamp"><?= gmdate('Y-m-d H:i', $row['CommentTS']) ?></p>
<div class="article-content">