--- loncom/interface/loncourserespicker.pm 2012/03/31 12:02:21 1.1 +++ loncom/interface/loncourserespicker.pm 2013/01/03 21:06:38 1.3 @@ -1,6 +1,6 @@ # The LearningOnline Network # -# $Id: loncourserespicker.pm,v 1.1 2012/03/31 12:02:21 raeburn Exp $ +# $Id: loncourserespicker.pm,v 1.3 2013/01/03 21:06:38 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -148,6 +148,7 @@ use Apache::lonnet; use Apache::loncommon; use Apache::lonhtmlcommon; use Apache::lonnavmaps; +use Apache::londocs; use Apache::lonlocal; use LONCAPA qw(:DEFAULT :match); @@ -218,10 +219,10 @@ sub create_picker { ' onclick="javascript:checkAll(document.'.$formname.'.discussion)" />'. '  '. - ''; + ''; } + $display .= ''; } - my $curRes; my $lastcontainer = $startcount; $display .= &Apache::loncommon::start_data_table() .&Apache::loncommon::start_data_table_header_row(); @@ -356,13 +357,16 @@ sub create_picker { 'add_entries' => { onload => 'javascript:recurseFolders();' }, }; } - my $output = &Apache::loncommon::start_page($title,$scripttag,$args); + $output = &Apache::loncommon::start_page($title,$scripttag,$args); if ($context eq 'imsexport') { - $output .= &Apache::lonhtmlcommon::breadcrumbs('IMS Export'); + $output .= &Apache::lonhtmlcommon::breadcrumbs('IMS Export'). + &Apache::londocs::startContentScreen('tools'); } $output .= $display; if ($context eq 'examblock') { $output .= &Apache::loncommon::end_page(); + } elsif ($context eq 'imsexport') { + $output .= &Apache::londocs::endContentScreen(); } return $output; }