--- loncom/interface/coursecatalog.pm 2010/08/14 02:00:27 1.58.4.2 +++ loncom/interface/coursecatalog.pm 2012/02/14 00:29:50 1.58.4.8.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for displaying the course catalog interface # -# $Id: coursecatalog.pm,v 1.58.4.2 2010/08/14 02:00:27 raeburn Exp $ +# $Id: coursecatalog.pm,v 1.58.4.8.2.1 2012/02/14 00:29:50 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -89,10 +89,6 @@ sub handler { \%idx,\@jsarray,$subcats); my ($numtitles,@codetitles); if ($env{'form.coursenum'} ne '' && &user_is_known()) { - if ($env{'form.currcat_0'} eq 'instcode::0') { - $numtitles = &instcode_course_selector($r,$codedom,$formname,$domdesc, - undef,undef,\@codetitles); - } &course_details($r,$codedom,$formname,$domdesc,\@trails,\%allitems,\@codetitles); } else { my ($catlinks,$has_subcats,$selitem) = &category_breadcrumbs($codedom,@cats); @@ -288,7 +284,6 @@ sub instcode_course_selector { $r->print(''."\n". ''."\n". ''."\n". - ''."\n". ''. ''. - '
'.&mt('Domain:').' | '. - &Apache::loncommon::select_dom_form($codedom,'showdom','',1,$onchange)); - if (!$onchange) { - $r->print(' '); + unless ($codedom eq 'relate') { + $r->print(''); } - $r->print(' |