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

raeburn raeburn@source.lon-capa.org
Mon, 07 Dec 2009 01:47:49 -0000


raeburn		Mon Dec  7 01:47:49 2009 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/interface	domainprefs.pm 
  Log:
  - Customization for GCI_3 (same change as 1.102.4.2 and 1.102.4.3).
    - gci and gct provide custom phrases for gci and gcitest domains respectively.
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.123 loncom/interface/domainprefs.pm:1.123.2.1
--- loncom/interface/domainprefs.pm:1.123	Fri Dec  4 14:33:52 2009
+++ loncom/interface/domainprefs.pm	Mon Dec  7 01:47:49 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.123 2009/12/04 14:33:52 jms Exp $
+# $Id: domainprefs.pm,v 1.123.2.1 2009/12/07 01:47:49 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5436,7 +5436,8 @@
             if ($newvalues{$item} ne '') {
                 if ($newvalues{$item} =~ /^(\w+)/) {
                     my $langcode = $1;
-                    if ($langcode ne 'x_chef') {
+                    if (($langcode ne 'gci') && ($langcode ne 'gct') && 
+                        ($langcode ne 'x_chef')) {
                         if (code2language($langcode) eq '') {
                             push(@errors,$item);
                         }