[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface selfenroll.pm

raeburn raeburn at source.lon-capa.org
Thu Aug 4 10:17:39 EDT 2016


raeburn		Thu Aug  4 14:17:39 2016 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	selfenroll.pm 
  Log:
  - For 2.11
    - Backport 1.32. 
  
  
Index: loncom/interface/selfenroll.pm
diff -u loncom/interface/selfenroll.pm:1.27.2.3 loncom/interface/selfenroll.pm:1.27.2.4
--- loncom/interface/selfenroll.pm:1.27.2.3	Sun Apr  6 14:24:40 2014
+++ loncom/interface/selfenroll.pm	Thu Aug  4 14:17:39 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Allow users to self-enroll in a course
 #
-# $Id: selfenroll.pm,v 1.27.2.3 2014/04/06 14:24:40 raeburn Exp $
+# $Id: selfenroll.pm,v 1.27.2.4 2016/08/04 14:17:39 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -221,7 +221,8 @@
     if ($sso_url eq '') {
         $sso_url = $login_path;
     }
-    $missing_formitem = &mt('The link to the requested page could not be followed.')."\\n".&mt('The placeholder for the courseID is absent.');
+    $missing_formitem = &mt('The link to the requested page could not be followed.')."\n".&mt('The placeholder for the courseID is absent.');
+    &js_escape(\$missing_formitem);
     if ($knownuser) {
         if (keys(%curr_role)) {
             $r->print('<h3>'.&mt('Self-enrollment unavailable').'</h3>'.




More information about the LON-CAPA-cvs mailing list