--- loncom/interface/coursecatalog.pm 2011/10/03 01:35:46 1.58.4.8 +++ 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.8 2011/10/03 01:35:46 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 # @@ -333,14 +333,16 @@ sub cat_header { unless ($env{'form.interface'} eq 'textual') { $onchange = 'this.form.submit()'; } - $r->print('
'. - '
'.&mt('Domain:').''. - &Apache::loncommon::select_dom_form($codedom,'showdom','',1,$onchange)); - if (!$onchange) { - $r->print(' '); + unless ($codedom eq 'relate') { + $r->print(''. + '
'.&mt('Domain:').''. + &Apache::loncommon::select_dom_form($codedom,'showdom','',1,$onchange)); + if (!$onchange) { + $r->print(' '); + } + $r->print('
'); } - $r->print('
'. - '
print(''. ''.$catlinks.'
'); return;