X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/bc4dbfc54e744764e2be7ff3606ccd9a0e86ae08..489e7846289d4fb66eb4b9fab0fed4af719b98ee:/selfforum-cgi/user/fo_view.pl diff --git a/selfforum-cgi/user/fo_view.pl b/selfforum-cgi/user/fo_view.pl index 8da8f6d..cd29709 100644 --- a/selfforum-cgi/user/fo_view.pl +++ b/selfforum-cgi/user/fo_view.pl @@ -1,10 +1,10 @@ -#!/usr/bin/perl -wT +#!/usr/bin/perl -w ################################################################################ # # # File: user/fo_view.pl # # # -# Authors: André Malo , 2001-03-31 # +# Authors: André Malo , 2001-04-01 # # # # Description: display the forum main file or a single posting # # # @@ -25,8 +25,8 @@ use CGI::Carp qw(fatalsToBrowser); use Conf; use Conf::Admin; -use autouse 'Template::Forum' => qw(print_forum_as_HTML($$$)); -use autouse 'Template::Posting' => qw(print_posting_as_HTML($$$)); +use Template::Forum; +use Template::Posting; use CGI qw(param header); @@ -54,7 +54,7 @@ if (defined ($tid) and defined ($mid)) { thread => $tid, posting => $mid, adminDefault => $adminDefault, - messages => $show_posting -> {messages}, + messages => $conf -> {template} -> {messages}, form => $show_posting -> {form}, cgi => $cgi, tree => $tree @@ -76,4 +76,4 @@ else { # # -### end of fo_view.pl ########################################################## +### end of fo_view.pl ########################################################## \ No newline at end of file