[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /interface lonrequestcourse.pm

raeburn raeburn at source.lon-capa.org
Thu Aug 22 20:47:58 EDT 2013


raeburn		Fri Aug 23 00:47:58 2013 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom/interface	lonrequestcourse.pm 
  Log:
  - For 2.10
   - Backport 1.67. (bug 6660). 
  
  
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.63 loncom/interface/lonrequestcourse.pm:1.63.6.1
--- loncom/interface/lonrequestcourse.pm:1.63	Sun Mar  6 21:17:15 2011
+++ loncom/interface/lonrequestcourse.pm	Fri Aug 23 00:47:57 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Request a course
 #
-# $Id: lonrequestcourse.pm,v 1.63 2011/03/06 21:17:15 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.63.6.1 2013/08/23 00:47:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -712,7 +712,8 @@
         official => 'You are not permitted to request creation of an official course in this domain.',
         unofficial => 'You are not permitted to request creation of an unofficial course in this domain.',
         community => 'You are not permitted to request creation of a community this domain.',
-        all => 'You must choose a specific course type when making a new course request.\\n\"All types\" is not allowed.',
+        all => 'You must choose a specific course type when making a new course request.',
+        allt => '"All types" is not allowed.',
     ); 
     $js .= <<END;
     if (crschoice == 'official') {
@@ -734,7 +735,7 @@
                 }
             } else {
                 if (actionchoice == 'new') {
-                    alert("$lt{'all'}");
+                    alert('$lt{'all'}'+'\\n'+'$lt{'allt'}');
                     return false;
                 }               
             }




More information about the LON-CAPA-cvs mailing list