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

raeburn raeburn at source.lon-capa.org
Thu Aug 4 13:53:13 EDT 2016


raeburn		Thu Aug  4 17:53:13 2016 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	domainprefs.pm 
  Log:
  - For 2.11
    - Backport 1.265
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.160.6.65 loncom/interface/domainprefs.pm:1.160.6.66
--- loncom/interface/domainprefs.pm:1.160.6.65	Mon Jun 15 20:18:35 2015
+++ loncom/interface/domainprefs.pm	Thu Aug  4 17:53:12 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.160.6.65 2015/06/15 20:18:35 raeburn Exp $
+# $Id: domainprefs.pm,v 1.160.6.66 2016/08/04 17:53:12 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5466,7 +5466,10 @@
     }
     my $instcode_reserved = &mt('The name: [_1] is a reserved category.','"instcode"');
     my $communities_reserved = &mt('The name: [_1] is a reserved category.','"communities"');
-    my $choose_again = '\\n'.&mt('Please use a different name for the new top level category.'); 
+    my $choose_again = "\n".&mt('Please use a different name for the new top level category.'); 
+    &js_escape(\$instcode_reserved);
+    &js_escape(\$communities_reserved);
+    &js_escape(\$choose_again);
     $output = <<"ENDSCRIPT";
 <script type="text/javascript">
 // <![CDATA[




More information about the LON-CAPA-cvs mailing list