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

raeburn raeburn@source.lon-capa.org
Sat, 11 Sep 2010 21:36:00 -0000


raeburn		Sat Sep 11 21:36:00 2010 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/interface	lonmodifycourse.pm 
  Log:
  - Customization for GCI_3.
    - Changes in 1.56 excluded from version for GCI_3.
  
  
Index: loncom/interface/lonmodifycourse.pm
diff -u loncom/interface/lonmodifycourse.pm:1.57 loncom/interface/lonmodifycourse.pm:1.57.2.1
--- loncom/interface/lonmodifycourse.pm:1.57	Tue Aug 24 13:51:52 2010
+++ loncom/interface/lonmodifycourse.pm	Sat Sep 11 21:36:00 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # handler for DC-only modifiable course settings
 #
-# $Id: lonmodifycourse.pm,v 1.57 2010/08/24 13:51:52 raeburn Exp $
+# $Id: lonmodifycourse.pm,v 1.57.2.1 2010/09/11 21:36:00 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -149,7 +149,7 @@
                       'instcodefilter','ownerfilter',
                       'coursefilter'];
     my $filter = {};
-    my ($numtitles,$cctitle,$dctitle,@codetitles);
+    my ($numtitles,$cctitle,$dctitle);
     my $ccrole = 'cc';
     if ($type eq 'Community') {
         $ccrole = 'co';
@@ -163,8 +163,7 @@
         $r->print('<h3>'.&mt('Search for a course in the [_1] domain',$domdesc).'</h3>');
     }   
     $r->print(&Apache::lonpickcourse::build_filters($filterlist,$type,
-                             undef,undef,$filter,$action,\$numtitles,'modifycourse',
-                             undef,undef,undef,\@codetitles));
+                             undef,undef,$filter,$action,\$numtitles,'modifycourse'));
     if ($type eq 'Community') {
         $r->print(&mt('Actions available after searching for a community:').'<ul>'.
                   '<li>'.&mt('Enter the community with the role of [_1]',$cctitle).'</li>'."\n".
@@ -193,16 +192,14 @@
     my %filter;
     my $action = '/adm/modifycourse';
     my $dctitle = &Apache::lonnet::plaintext('dc');
-    my ($numtitles,@codetitles);
+    my $numtitles;
     $r->print(&Apache::lonpickcourse::js_changer());
     $r->print(&mt('Revise your search criteria for this domain').' ('.$domdesc.').<br />');
     $r->print(&Apache::lonpickcourse::build_filters($filterlist,$type,
-                                       undef,undef,\%filter,$action,\$numtitles,
-                                       undef,undef,undef,undef,\@codetitles));
+                                       undef,undef,\%filter,$action,\$numtitles));
     $filter{'domainfilter'} = $dom;
     my %courses = &Apache::lonpickcourse::search_courses($r,$type,0,
-                                                         \%filter,$numtitles,undef,
-                                                         undef,undef,\@codetitles);
+                                                         \%filter,$numtitles));
     &Apache::lonpickcourse::display_matched_courses($r,$type,0,$action,undef,undef,undef,
                                                     %courses);
     return;