[LON-CAPA-cvs] cvs: loncom(GCI_2) /interface domainprefs.pm
raeburn
raeburn@source.lon-capa.org
Fri, 02 Oct 2009 16:36:10 -0000
raeburn Fri Oct 2 16:36:10 2009 EDT
Modified files: (Branch: GCI_2)
/loncom/interface domainprefs.pm
Log:
- Customization for GCI.
- gci and gct provide custom phrases for gci and gcitest domains respectively.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.102.4.2 loncom/interface/domainprefs.pm:1.102.4.3
--- loncom/interface/domainprefs.pm:1.102.4.2 Wed Sep 23 02:41:24 2009
+++ loncom/interface/domainprefs.pm Fri Oct 2 16:36:09 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.102.4.2 2009/09/23 02:41:24 gci Exp $
+# $Id: domainprefs.pm,v 1.102.4.3 2009/10/02 16:36:09 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5012,7 +5012,8 @@
if ($newvalues{$item} ne '') {
if ($newvalues{$item} =~ /^(\w+)/) {
my $langcode = $1;
- if ($langcode ne 'gci' && $langcode ne 'x_chef') {
+ if (($langcode ne 'gci') && ($langcode ne 'gct') &&
+ ($langcode ne 'x_chef')) {
if (code2language($langcode) eq '') {
push(@errors,$item);
}