fixed bug #2994 (extraneous comment delete buttons mapping to wrong comments)

This commit is contained in:
pjmattal 2005-08-02 05:05:19 +00:00
parent a4d583179c
commit 702abe64bc

View file

@ -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 . "&nbsp;&nbsp;"; print $durl . "&nbsp;&nbsp;";
}
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>"));