Tadashi Okoshi
slash****@users*****
2005年 12月 17日 (土) 03:10:13 JST
Index: affelio/index.cgi
diff -u affelio/index.cgi:1.24 affelio/index.cgi:1.25
--- affelio/index.cgi:1.24 Sat Dec 17 01:10:22 2005
+++ affelio/index.cgi Sat Dec 17 03:10:13 2005
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# $Id: index.cgi,v 1.24 2005/12/16 16:10:22 slash5234 Exp $
+# $Id: index.cgi,v 1.25 2005/12/16 18:10:13 slash5234 Exp $
use strict;
@@ -263,15 +263,13 @@
try{
$tmpl = new HTML::Template( filename => $TMPL_FILE,
die_on_bad_params => 0);
+ $tmpl->param(%output_data);
}catch Error with{
my $e = shift;
error($q, "Affelio: error in HTML::Template init.\n" . $e);
};
-foreach my $data_key (keys(%output_data)) {
- debug_print("index.cgi: $data_key = $output_data{$data_key}");
- $tmpl->param($data_key => $output_data{$data_key});
-}
+
###########################################################################
#Output