[aur-dev] [PATCH] pkg_comments.php: Move delete button to same line as poster info
canyonknight
canyonknight at gmail.com
Wed Oct 10 17:19:40 EDT 2012
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 at falconindy.com>
Signed-off-by: canyonknight <canyonknight at gmail.com>
---
web/template/pkg_comments.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 997b9ca..2ed6420 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">
--
1.7.12.2
More information about the aur-dev
mailing list