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

bisitz bisitz@source.lon-capa.org
Tue, 09 Jun 2009 12:56:27 -0000


bisitz		Tue Jun  9 12:56:27 2009 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  Replaced hardcoded font color by appropriate warning style
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.448 loncom/homework/structuretags.pm:1.449
--- loncom/homework/structuretags.pm:1.448	Tue Jun  2 12:37:44 2009
+++ loncom/homework/structuretags.pm	Tue Jun  9 12:56:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.448 2009/06/02 12:37:44 bisitz Exp $
+# $Id: structuretags.pm,v 1.449 2009/06/09 12:56:27 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -680,9 +680,7 @@
     return (<<ENDCHECKOUT);
 <h2>$lt{'resource'}</h2>
     <p>$lt{'id_expln'}</p>
-<font color="red">
-<p>$lt{'warning'}</p>
-</font>
+<p class="LC_warning">$lt{'warning'}</p>
 <form name="checkout" method="post" action="$uri">
 <input type="hidden" name="doescheckout" value="yes" />
 <input type="button" name="checkoutbutton" value="$lt{'checkout'}" onClick="javascript:if (confirm('$lt{'checkout?'}')) { document.checkout.submit(); }" />