[LON-CAPA-cvs] cvs: loncom /interface createaccount.pm

raeburn raeburn at source.lon-capa.org
Sun Mar 30 19:44:50 EDT 2014


raeburn		Sun Mar 30 23:44:50 2014 EDT

  Modified files:              
    /loncom/interface	createaccount.pm 
  Log:
  - satisfy w3c validation
  - keep tags out of title attribute in <li> tag in breadcrumbs
  
  
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.61 loncom/interface/createaccount.pm:1.62
--- loncom/interface/createaccount.pm:1.61	Mon Mar  3 17:11:41 2014
+++ loncom/interface/createaccount.pm	Sun Mar 30 23:44:50 2014
@@ -4,7 +4,7 @@
 # kerberos, or SSO) or an e-mail address. Requests to use an e-mail address as
 # username may be processed automatically, or may be queued for approval.
 #
-# $Id: createaccount.pm,v 1.61 2014/03/03 17:11:41 raeburn Exp $
+# $Id: createaccount.pm,v 1.62 2014/03/30 23:44:50 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -328,7 +328,7 @@
     }
     my $last_crumb;
     if ($desc ne '') {
-        $last_crumb = &mt('Self-enroll in [_1]',"<span class='LC_cusr_emph'>$desc</span>");
+        $last_crumb = &mt("Self-enroll in [_1]","'$desc'");
     } else {
         $last_crumb = &mt('Self-enroll');
     }
@@ -1597,7 +1597,7 @@
 sub catreturn_js {
     return  <<"ENDSCRIPT";
 <script type="text/javascript">
-
+// <![CDATA[
 function ToSelfenroll(formname) {
     var formidx = getFormByName(formname);
     if (formidx > -1) {
@@ -1645,7 +1645,7 @@
     }
     return -1;
 }
-
+// ]]>
 </script>
 ENDSCRIPT
 




More information about the LON-CAPA-cvs mailing list