Index: openacs-4/packages/forums/lib/forums/admin-forums-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/forums/admin-forums-chunk.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/forums/lib/forums/admin-forums-chunk.tcl 15 Sep 2017 06:58:16 -0000 1.7 +++ openacs-4/packages/forums/lib/forums/admin-forums-chunk.tcl 7 Apr 2018 19:07:31 -0000 1.8 @@ -68,7 +68,7 @@ set disable_url [export_vars -base "forum-disable" { forum_id }] } -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template } Index: openacs-4/packages/forums/lib/forums/forums-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/forums/forums-chunk.tcl,v diff -u -r1.21 -r1.22 --- openacs-4/packages/forums/lib/forums/forums-chunk.tcl 16 Nov 2017 12:40:08 -0000 1.21 +++ openacs-4/packages/forums/lib/forums/forums-chunk.tcl 7 Apr 2018 19:07:31 -0000 1.22 @@ -99,7 +99,7 @@ set statistic "[_ forums.Statistics]" } -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template } Index: openacs-4/packages/forums/lib/forums/forums-history-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/forums/forums-history-chunk.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/forums/lib/forums/forums-history-chunk.tcl 11 Oct 2017 10:14:23 -0000 1.8 +++ openacs-4/packages/forums/lib/forums/forums-history-chunk.tcl 7 Apr 2018 19:07:31 -0000 1.9 @@ -43,7 +43,7 @@ db_multirow persons select_users_wrote_post {} -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template } Index: openacs-4/packages/forums/lib/message/delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/delete.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/forums/lib/message/delete.tcl 7 Aug 2017 23:48:11 -0000 1.5 +++ openacs-4/packages/forums/lib/message/delete.tcl 7 Apr 2018 19:07:31 -0000 1.6 @@ -26,7 +26,7 @@ set confirm_url [export_vars -base "message-delete" {message_id return_url {confirm_p 1}}] -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template } Index: openacs-4/packages/forums/lib/message/messages-table.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/messages-table.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/forums/lib/message/messages-table.tcl 7 Aug 2017 23:48:11 -0000 1.5 +++ openacs-4/packages/forums/lib/message/messages-table.tcl 7 Apr 2018 19:07:31 -0000 1.6 @@ -28,7 +28,7 @@ } } -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template } Index: openacs-4/packages/forums/lib/message/pending-list-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/pending-list-chunk.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/forums/lib/message/pending-list-chunk.tcl 7 Aug 2017 23:48:11 -0000 1.3 +++ openacs-4/packages/forums/lib/message/pending-list-chunk.tcl 7 Apr 2018 19:07:31 -0000 1.4 @@ -11,7 +11,7 @@ # Get the threads that need approval db_multirow pending_threads select_pending_threads {} -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template } 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.25 -r1.26 --- openacs-4/packages/forums/lib/message/threads-chunk.tcl 16 Nov 2017 12:40:08 -0000 1.25 +++ openacs-4/packages/forums/lib/message/threads-chunk.tcl 7 Apr 2018 19:07:31 -0000 1.26 @@ -183,7 +183,7 @@ } } -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template } Index: openacs-4/packages/forums/lib/search/search-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/search/search-chunk.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/forums/lib/search/search-chunk.tcl 7 Aug 2017 23:48:11 -0000 1.10 +++ openacs-4/packages/forums/lib/search/search-chunk.tcl 7 Apr 2018 19:07:31 -0000 1.11 @@ -61,7 +61,7 @@ set messages:rowcount 0 } - if {([info exists alt_template] && $alt_template ne "")} { + if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template } } Index: openacs-4/packages/forums/www/moderate/move-thread-thread.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/moderate/move-thread-thread.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/forums/www/moderate/move-thread-thread.tcl 27 Sep 2017 11:07:52 -0000 1.8 +++ openacs-4/packages/forums/www/moderate/move-thread-thread.tcl 7 Apr 2018 19:07:31 -0000 1.9 @@ -20,9 +20,13 @@ forum::security::require_moderate_forum -forum_id $message(forum_id) #form to confirm -ad_form -name confirmed_move -mode {display} -actions [list [list [_ forums.Yes] yes] [list No no] ] -export { msg_id return_url selected_message} -html {enctype multipart/form-data} -form { - {data:text(hidden) {value 0}} -} +ad_form \ + -name confirmed_move -mode {display} \ + -actions [list [list [_ forums.Yes] yes] [list No no] ] -export { + msg_id return_url selected_message + } -html {enctype multipart/form-data} -form { + {data:text(hidden) {value 0}} + } #get the clicked button set action [template::form::get_action confirmed_move] @@ -86,7 +90,7 @@ } set url_vars [export_vars {msg_id return_url selected_message}] -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template }