]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from 1.7.
authorvyshane <vyshane>
Fri, 12 Jan 2007 05:05:09 +0000 (05:05 +0000)
committervyshane <vyshane>
Fri, 12 Jan 2007 05:05:09 +0000 (05:05 +0000)
mod/forum/post.php

index 95928d47e9eefb44e80057a1f18ac65320ad9eae..cebc944908695cd1f4b79e9f33bfcdb72891bec6 100644 (file)
                 print_header();
                 notice_yesno(get_string("deletesureplural", "forum", $replycount+1),
                              "post.php?delete=$delete&amp;confirm=$delete",
-                             $_SERVER["HTTP_REFERER"]);
+                             $CFG->wwwroot.'/mod/forum/discuss.php?d='.$post->discussion.'#'.$post->id);
 
                 forum_print_post($post, $course->id, $ownpost=false, $reply=false, $link=false);
                 if (empty($post->edit)) {
                 print_header();
                 notice_yesno(get_string("deletesure", "forum", $replycount),
                              "post.php?delete=$delete&amp;confirm=$delete",
-                             $_SERVER["HTTP_REFERER"]);
+                             $CFG->wwwroot.'/mod/forum/discuss.php?d='.$post->discussion.'#'.$post->id);
                 forum_print_post($post, $forum->course, $ownpost=false, $reply=false, $link=false);
             }