From 6c071f95c9acbe25da46da4248559d537aa4194f Mon Sep 17 00:00:00 2001 From: shish Date: Wed, 16 May 2007 20:51:48 +0000 Subject: [PATCH] confirm when deleting comments git-svn-id: file:///home/shish/svn/shimmie2/trunk@99 7f39781d-f577-437e-ae19-be835c7a54ca --- ext/comment/main.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/comment/main.php b/ext/comment/main.php index a0950383..361fef14 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -40,7 +40,9 @@ class Comment { // {{{ $h_userlink = "$h_name"; $h_dellink = $user->is_admin() ? - "
($h_poster_ip, Del)" : ""; + "
($h_poster_ip, comment)."');\" ". + "href='".make_link("comment/delete/$i_comment_id/$i_image_id")."'>Del)" : ""; $h_imagelink = $trim ? ">>>\n" : ""; return "

$h_userlink: $h_comment $h_imagelink $h_dellink

"; }