--- rat/lonratedt.pm 2009/06/09 15:01:28 1.97 +++ rat/lonratedt.pm 2009/12/04 11:13:58 1.98 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.97 2009/06/09 15:01:28 bisitz Exp $ +# $Id: lonratedt.pm,v 1.98 2009/12/04 11:13:58 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -78,15 +78,25 @@ sub buttons { my $adv=shift; my $output='
'; if ($adv==1) { - $output.=''. - &Apache::loncommon::help_open_topic('Sequence_Advanced_Editor_Creation'); + $output.= + '' + .&Apache::loncommon::help_open_topic( + 'Sequence_Advanced_Editor_Creation'); } else { unless ($adv==2) { - $output.=''. - &Apache::loncommon::help_open_topic('Sequence_Simple_Editor_Creation'); + $output.= + '' + .&Apache::loncommon::help_open_topic( + 'Sequence_Simple_Editor_Creation') + .' '; } - $output.=''. - &Apache::loncommon::help_open_topic('Sequence_Advanced_Editor_Creation'); + $output.= + '' + .&Apache::loncommon::help_open_topic( + 'Sequence_Advanced_Editor_Creation'); } return $output.'
'; } @@ -556,8 +566,8 @@ ENDJS title => 'Simple Editor', href => '',}); + # Breadcrumbs are included by &start_page my $start_page = &Apache::loncommon::start_page('Construction Space',$js) - .&Apache::lonhtmlcommon::breadcrumbs('') .&Apache::loncommon::head_subbox( &Apache::loncommon::CSTR_pageheader() .&buttons(2)); @@ -673,8 +683,8 @@ sub viewmap { title => 'Resource Assembly Tool', href => '',}); + # Breadcrumbs are included by &start_page $r->print(&Apache::loncommon::start_page('Edit Content of a Map') - .&Apache::lonhtmlcommon::breadcrumbs('') .&Apache::loncommon::head_subbox( &Apache::loncommon::CSTR_pageheader() .&buttons($adv))