Index: openacs-4/packages/forums/tcl/messages-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/messages-procs.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/forums/tcl/messages-procs.tcl 18 Nov 2002 18:01:07 -0000 1.13 +++ openacs-4/packages/forums/tcl/messages-procs.tcl 30 Nov 2002 17:35:17 -0000 1.14 @@ -77,7 +77,6 @@ append new_content "Forum: $message(forum_name)
\n" append new_content "Thread: $message(root_subject)
\n" append new_content "Author: $message(user_name)
\n" - append new_content "Posted: $message(posting_date)
" append new_content "\n
\n" append new_content $message(content) append new_content "

-------------------
" @@ -87,25 +86,24 @@ set html_version $new_content set text_version "" - append text_version " -Forum: $message(forum_name) -Thread: $message(root_message_id) -Author: $message(user_name) ($message(user_email)) -Posted: $message(posting_date) ----------------------------------- -[ad_html_to_text $message(content)] ---------------------------------- -To post a reply to this email or view this message go to: -${url}message-view?message_id=$message(root_message_id) + + append text_version "Forum: $message(forum_name) +Thread: $message(root_subject) +Author: $message(user_name) ($message(user_email))\n\n" -To view Forum $message(forum_name) go to: -${url}forum-view?forum_id=$message(forum_id) -To email the author($message(user_name)) privately: -mailto:$message(user_email) + if { $message(html_p) } { + append text_version [ad_html_to_text $message(content)] + } else { + append text_version [wrap_string $message(content)] + } + append text_version "\n\n-- +To post a reply to this email or view this message go to: +${url}message-view?message_id=$message(root_message_id) " + set new_content $text_version - ns_log notice "requesting a notification with subject $message(forum_name) $message(subject)" + ns_log debug "forums: requesting a notification forum $message(forum_name) subject $message(subject)" # Do the notification for the forum