openacs-4/.../forums/www/message-view.tcl (+1 -3)
92 92 set thread_url [export_vars -base forum-view { { forum_id $message(forum_id) } }]
93 93
94 94 set dynamic_script "
95 95   <!--
96 96   collapse_symbol = '<img src=\"/resources/forums/Collapse16.gif\" width=\"16\" height=\"16\" ALT=\"collapse message\" border=\"0\" title=\"collapse message\">';
97 97   expand_symbol = '<img src=\"/resources/forums/Expand16.gif\" width=\"16\" height=\"16\" ALT=\"expand message\" border=\"0\" title=\"expand message\">';
98 98   loading_symbol = '<img src=\"/resources/forums/dyn_wait.gif\" width=\"12\" height=\"16\" ALT=\"x\" border=\"0\">';
99 99   loading_message = 'Loading...';
100 100   rootdir = 'messages-get';
101 101   sid = '$message(root_message_id)';
102 102   //-->
103 103 "
104 104
105 105 if {$forum(presentation_type) eq "flat"} {
106 106     set display_mode flat
107 107 }
108 108
109 109 # stylesheets
110 110 set lang [ad_conn language]
111 111 template::head::add_css -href /resources/forums/forums.css -media all -lang $lang
112   template::head::add_css -alternate -href /resources/forums/flat.css -media all -lang $lang -title "flat"
113   template::head::add_css -alternate -href /resources/forums/flat-collapse.css -media all -lang $lang -title "flat-collapse"
114 112 template::head::add_css -alternate -href /resources/forums/collapse.css -media all -lang $lang -title "collapse"
115 113 template::head::add_css -alternate -href /resources/forums/expand.css -media all -lang $lang -title "expand"
116 114 template::head::add_css -alternate -href /resources/forums/print.css -media print -lang $lang
117 115  
118 116 # js scripts
119 117 template::head::add_script -type "text/javascript" -src "/resources/forums/forums.js"
120 118 template::head::add_script -type "text/javascript" -src "/resources/forums/dynamic-comments.js"
121 119 template::head::add_script -type "text/javascript" -script $dynamic_script
122 120
123 121 set page_title "#forums.Thread_title#"