[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm /xml lonxml.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 13 Feb 2003 21:14:35 -0000
albertel Thu Feb 13 16:14:35 2003 EDT
Modified files:
/loncom/homework lonhomework.pm
/loncom/xml lonxml.pm
Log:
- moving global inits to xmlparse, some problems sometimes don't go through the lonproblem handler
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.107 loncom/homework/lonhomework.pm:1.108
--- loncom/homework/lonhomework.pm:1.107 Mon Jan 27 19:13:37 2003
+++ loncom/homework/lonhomework.pm Thu Feb 13 16:14:35 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Homework handler
#
-# $Id: lonhomework.pm,v 1.107 2003/01/28 00:13:37 albertel Exp $
+# $Id: lonhomework.pm,v 1.108 2003/02/13 21:14:35 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -448,9 +448,6 @@
my %mystyle;
my $result = '';
- &Apache::inputtags::initialize_inputtags();
- &Apache::outputtags::initialize_outputtags();
- &Apache::edit::initialize_edit();
if ($target eq 'analyze') { %Apache::lonhomework::anaylze=(); }
if ($target eq 'answer') { &showhash(%Apache::lonhomework::history); }
if ($target eq 'web') {&Apache::lonhomework::showhashsubset(\%ENV,'^form');}
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.231 loncom/xml/lonxml.pm:1.232
--- loncom/xml/lonxml.pm:1.231 Wed Feb 12 17:45:01 2003
+++ loncom/xml/lonxml.pm Thu Feb 13 16:14:35 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.231 2003/02/12 22:45:01 albertel Exp $
+# $Id: lonxml.pm,v 1.232 2003/02/13 21:14:35 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -603,6 +603,9 @@
my ($request,$target,$content_file_string,$safeinit,%style_for_target) = @_;
&setup_globals($request,$target);
+ &Apache::inputtags::initialize_inputtags();
+ &Apache::outputtags::initialize_outputtags();
+ &Apache::edit::initialize_edit();
#
# do we have a course style file?
#