--- loncom/xml/lonxml.pm 2006/10/04 19:50:43 1.415.2.1
+++ loncom/xml/lonxml.pm 2006/09/14 21:52:36 1.416
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.415.2.1 2006/10/04 19:50:43 albertel Exp $
+# $Id: lonxml.pm,v 1.416 2006/09/14 21:52:36 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1014,7 +1014,7 @@ sub store_counter {
}
sub remember_problem_counter {
- &Apache::lonnet::transfer_profile_to_env(undef,undef,1);
+ &Apache::lonnet::transfer_profile_to_env();
$state = $env{'form.counter'};
}
@@ -1025,7 +1025,7 @@ sub store_counter {
}
sub get_problem_counter {
if ($Apache::lonxml::counter_changed) { &store_counter() }
- &Apache::lonnet::transfer_profile_to_env(undef,undef,1);
+ &Apache::lonnet::transfer_profile_to_env();
return $env{'form.counter'};
}
}
@@ -1329,6 +1329,7 @@ $cleanbut
BUTTONS
$buttons.=&Apache::lonhtmlcommon::spelllink('xmledit','filecont');
+ $buttons.=&Apache::lonhtmlcommon::htmlareaselectactive('filecont');
my $editfooter=(<
@@ -1540,7 +1541,7 @@ sub error {
$errormsg=&mt("An error occured while processing this resource. The author has been notified.");
}
my $host=$Apache::lonnet::perlvar{'lonHostID'};
- my $msg = join('
',(@_,"The occured on host $host"));
+ my $msg = join('
',(@_,"The error occurred on host $host"));
#notify author
&Apache::lonmsg::author_res_msg($env{'request.filename'},$msg);
#notify course