[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 04 Nov 2005 15:34:33 -0000


albertel		Fri Nov  4 10:34:33 2005 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - BT have Instances not foils
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.314 loncom/homework/structuretags.pm:1.315
--- loncom/homework/structuretags.pm:1.314	Thu Nov  3 17:10:23 2005
+++ loncom/homework/structuretags.pm	Fri Nov  4 10:34:32 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.314 2005/11/03 22:10:23 albertel Exp $
+# $Id: structuretags.pm,v 1.315 2005/11/04 15:34:32 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -257,8 +257,13 @@
 	       $rndseed.'"
            onchange="javascript:document.lonhomework.changerandseed.click()" /></nobr>
              <label><input type="checkbox" name="showallfoils" ';
+    my $show_all_foils_text = 
+	($Apache::lonhomework::parsing_a_task) ?
+	&mt('&nbsp;Show&nbsp;All&nbsp;Instances')
+	: &mt('&nbsp;Show&nbsp;All&nbsp;Foils');
+
     if (defined($env{'form.showallfoils'})) { $result.='checked="on"'; }
-    $result.= ' />'.&mt('&nbsp;Show&nbsp;All&nbsp;Foils').
+    $result.= ' />'.$show_all_foils_text.
 	&Apache::loncommon::help_open_topic('Problem_Editor_Testing_Area','Testing Problems').
 	'</label><hr />';
     if (!$Apache::lonhomework::parsing_a_task) {