diff options
author | canyonknight <canyonknight@gmail.com> | 2012-10-10 23:19:40 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-10-11 21:20:01 +0200 |
commit | 8ee6888f1d477d9df97b0ffb36a78136399e9562 (patch) | |
tree | 092557cd4646b1ae5f0f8f014be3884cc81b9700 /web/template | |
parent | 350c9a9579d00a477042f1422279c2e97263afee (diff) | |
download | aur-8ee6888f1d477d9df97b0ffb36a78136399e9562.tar.gz aur-8ee6888f1d477d9df97b0ffb36a78136399e9562.tar.xz |
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>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_comments.php | 4 |
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"> |