[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /homework inputtags.pm
From:       albertel <lon-capa-cvs () mail ! lon-capa ! org>
Date:       2005-03-31 21:34:34
Message-ID: cvsalbertel1112304874 () cvsserver
[Download RAW message or body]

albertel		Thu Mar 31 16:34:34 2005 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  - adding a missing &mt();
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.162 loncom/homework/inputtags.pm:1.163
--- loncom/homework/inputtags.pm:1.162	Thu Mar 31 16:32:52 2005
+++ loncom/homework/inputtags.pm	Thu Mar 31 16:34:34 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.162 2005/03/31 21:32:52 albertel Exp $
+# $Id: inputtags.pm,v 1.163 2005/03/31 21:34:34 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -836,10 +836,9 @@
 	}
 	if ($Apache::lonhomework::history{"resource.$id.afterduedate"}) {
 	    #last submissions was after due date
-	    if ($target eq 'tex') {
-		$latemessage=' The last submission was after the Due Date ';
-	    } else {
-		$latemessage="<td bgcolor=\"#ffaaaa\">The last submission was after the Due Date</td>";
+	    $latemessage=&mt(' The last submission was after the Due Date ');;
+	    if ($target eq 'web') {
+		$latemessage='<td bgcolor="#ffaaaa">'.$latemessage.'</td>';
 	    }
 	}
     }



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic