mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fixed bug #2994 (extraneous comment delete buttons mapping to wrong comments)
This commit is contained in:
parent
a4d583179c
commit
702abe64bc
1 changed files with 2 additions and 1 deletions
|
@ -481,8 +481,9 @@ function package_details($id=0, $SID="") {
|
||||||
$durl.= "&comment_id=".$carr["ID"]."&ID=".$row["ID"];
|
$durl.= "&comment_id=".$carr["ID"]."&ID=".$row["ID"];
|
||||||
$durl.= "'><img src='/images/x.png' border='0'";
|
$durl.= "'><img src='/images/x.png' border='0'";
|
||||||
$durl.= " alt=\"".__("Delete comment")."\"></a>";
|
$durl.= " alt=\"".__("Delete comment")."\"></a>";
|
||||||
}
|
|
||||||
print $durl . " ";
|
print $durl . " ";
|
||||||
|
}
|
||||||
print __("Comment by: %h%s%h on %h%s%h",
|
print __("Comment by: %h%s%h on %h%s%h",
|
||||||
array("<b>",$carr["UserName"],"</b>",
|
array("<b>",$carr["UserName"],"</b>",
|
||||||
"<i>",date("Ymd [H:i:s]",$carr["CommentTS"]),"</i>"));
|
"<i>",date("Ymd [H:i:s]",$carr["CommentTS"]),"</i>"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue