[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 22 Dec 2004 22:08:17 -0000
albertel Wed Dec 22 17:08:17 2004 EDT
Modified files:
/loncom/homework lonhomework.pm
Log:
- typos,, sigh
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.190 loncom/homework/lonhomework.pm:1.191
--- loncom/homework/lonhomework.pm:1.190 Wed Dec 22 17:05:40 2004
+++ loncom/homework/lonhomework.pm Wed Dec 22 17:08:17 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Homework handler
#
-# $Id: lonhomework.pm,v 1.190 2004/12/22 22:05:40 albertel Exp $
+# $Id: lonhomework.pm,v 1.191 2004/12/22 22:08:17 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -116,7 +116,7 @@
return ('web','answer');
}
} elsif ( $ENV{'form.problemmode'} eq &mt('Edit') ||
- $ENV{'form.problemmode'} ee 'Edit') {
+ $ENV{'form.problemmode'} eq 'Edit') {
if ( $ENV{'form.submitted'} eq 'edit' ) {
if ( $ENV{'form.submit'} eq &mt('Submit Changes and View') ) {
return ('modified','web','answer');
@@ -849,7 +849,7 @@
$ENV{'form.problemmode'}='View';
&renderpage($request,$file);
} elsif ($ENV{'form.problemmode'} eq &mt('EditXML') ||
- $ENV{'form.problemmode'} eq 'EditXML' {
+ $ENV{'form.problemmode'} eq 'EditXML') {
&editxmlmode($request,$file);
} elsif ($ENV{'form.problemmode'} eq &mt('Calculate answers')) {
&analyze($request,$file);