--- loncom/interface/lonmeta.pm 2006/08/08 21:32:36 1.166 +++ loncom/interface/lonmeta.pm 2006/08/10 21:14:10 1.167 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.166 2006/08/08 21:32:36 banghart Exp $ +# $Id: lonmeta.pm,v 1.167 2006/08/10 21:14:10 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -365,14 +365,20 @@ sub pre_select_course { $r->print('

'.&mt('If you would like to associate this resource ([_1]) with a current or previous course, please select one from the list below, otherwise select, \'None\'',''.$res_uri.'').'

'); $output = &select_course(); $r->print($output.'
'); + &mt('Associate Resource With Selected Course').'" />'); $r->print(''); my ($port_path,$group) = &get_port_path_and_group($uri); - $r->print('

'. + my $group_input; + if ($group) { + $group_input = '' + } else { + $group_input = ""; + } + $r->print('

'. ''. - ''. - ''. + $group_input. + ''. '
'); return;