[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Thu, 24 Oct 2002 19:30:40 -0000
sakharuk Thu Oct 24 15:30:40 2002 EDT
Modified files:
/loncom/homework inputtags.pm
Log:
Guy's remark was implemented.
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.68 loncom/homework/inputtags.pm:1.69
--- loncom/homework/inputtags.pm:1.68 Thu Oct 24 15:20:17 2002
+++ loncom/homework/inputtags.pm Thu Oct 24 15:30:39 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.68 2002/10/24 19:20:17 sakharuk Exp $
+# $Id: inputtags.pm,v 1.69 2002/10/24 19:30:39 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -431,7 +431,7 @@
if ( $maxtries eq 'con_lost' ) { $maxtries = '0'; }
if ( $showbutton ) {
if ($target eq 'tex') {
- if ((not $ENV{'request.role'}=~m/^au\./) and (not $ENV{'request.role'}=~m/^ca\./)) {
+ if ($ENV{'request.state'} ne "construct") {
$trystr = ' {\small \textit{Tries} '.$tries.'/'.$maxtries.'} ';
}
} else {