Index: openacs-4/packages/forums/lib/message/threads-chunk.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/threads-chunk.tcl,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/forums/lib/message/threads-chunk.tcl 11 Aug 2006 17:18:41 -0000 1.6
+++ openacs-4/packages/forums/lib/message/threads-chunk.tcl 15 Dec 2006 22:45:33 -0000 1.7
@@ -36,16 +36,16 @@
# moderated 2. User is a moderator or adminsitrator
if {([forum::new_questions_allowed_p -forum_id $forum_id] && ($forum(posting_policy) == "open" || $forum(posting_policy) == "moderated")) || [template::util::is_true $permissions(admin_p)] || [template::util::is_true $permissions(moderate_p)] } {
- lappend actions [_ forums.Post_a_New_Message] [export_vars -base "${base_url}message-post" { forum_id }] {}
+ lappend actions [_ forums.Post_a_New_Message] [export_vars -base "${base_url}message-post" { forum_id }] [_ forums.Post_a_New_Message]
}
-if {[template::util::is_true $admin_p]} {
+if { [template::util::is_true $permissions(admin_p)] } {
lappend actions [_ forums.Administer] [export_vars \
- -base "${base_url}admin/forum-edit" {forum_id {return_url [ad_return_url]}}] {}
+ -base "${base_url}admin/forum-edit" {forum_id {return_url [ad_return_url]}}] [_ forums.Administer]
}
if { [template::util::is_true $permissions(moderate_p)] } {
- lappend actions [_ forums.ManageModerate] [export_vars -base "${base_url}moderate/forum" { forum_id }] {}
+ lappend actions [_ forums.ManageModerate] [export_vars -base "${base_url}moderate/forum" { forum_id }] [_ forums.ManageModerate]
}
template::list::create \
@@ -59,7 +59,10 @@
subject {
label "#forums.Subject#"
link_url_col message_url
- display_template {@messages.subject@ @messages.subject@
+ link_html {title "\#forums.goto_thread_subject\#"}
+ display_template {
+ @messages.subject@
+ @messages.subject@
}
}
state_pretty {
@@ -69,6 +72,7 @@
user_name {
label "#forums.Author#"
link_url_col user_url
+ link_html {title "\#forums.show_history_user_name\#"}
}
n_messages {
label "#forums.Replies#"