mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkg_comments.php: Move delete button to same line as poster info
The delete button is currently on a separate line. Change some logic to allow for the button to be on the same line as poster info. Reported-by: Dave Reisner <d@falconindy.com> Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
350c9a9579
commit
8ee6888f1d
1 changed files with 3 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue