[LON-CAPA-cvs] cvs: loncom(GCI_1) /localize lonlocal.pm
raeburn
raeburn@source.lon-capa.org
Mon, 14 Sep 2009 22:34:41 -0000
raeburn Mon Sep 14 22:34:41 2009 EDT
Modified files: (Branch: GCI_1)
/loncom/localize lonlocal.pm
Log:
- Customization for GCI_1.
Index: loncom/localize/lonlocal.pm
diff -u loncom/localize/lonlocal.pm:1.50.4.1 loncom/localize/lonlocal.pm:1.50.4.2
--- loncom/localize/lonlocal.pm:1.50.4.1 Mon Sep 14 22:32:09 2009
+++ loncom/localize/lonlocal.pm Mon Sep 14 22:34:41 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Localization routines
#
-# $Id: lonlocal.pm,v 1.50.4.1 2009/09/14 22:32:09 raeburn Exp $
+# $Id: lonlocal.pm,v 1.50.4.2 2009/09/14 22:34:41 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -234,6 +234,7 @@
}
sub preferred_languages {
+ return ('gci');
my @languages=();
if (($Apache::lonnet::env{'request.role.adv'}) && ($Apache::lonnet::env{'form.languages'})) {
@languages=(@languages,split(/\s*(\,|\;|\:)\s*/,$Apache::lonnet::env{'form.languages'}));