[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

raeburn raeburn@source.lon-capa.org
Tue, 19 Jan 2010 15:56:15 -0000


raeburn		Tue Jan 19 15:56:15 2010 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Accommodate Communities.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.930 loncom/interface/loncommon.pm:1.931
--- loncom/interface/loncommon.pm:1.930	Fri Jan  8 00:52:06 2010
+++ loncom/interface/loncommon.pm	Tue Jan 19 15:56:15 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.930 2010/01/08 00:52:06 faziophi Exp $
+# $Id: loncommon.pm,v 1.931 2010/01/19 15:56:15 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -484,8 +484,8 @@
 sub coursebrowser_javascript {
     my ($domainfilter,$sec_element,$formname,$role_element,$crstype) = @_;
     my $wintitle = &mt('Course Browser');
-    if ($crstype ne '') {
-        $wintitle = &mt($crstype);
+    if ($crstype eq 'Community') {
+        $wintitle = &mt('Community Browser');
     }
     my $id_functions = &javascript_index_functions();
     my $output = '