--- loncom/homework/structuretags.pm 2009/05/11 16:51:22 1.444 +++ loncom/homework/structuretags.pm 2010/01/29 15:37:04 1.444.4.5 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.444 2009/05/11 16:51:22 bisitz Exp $ +# $Id: structuretags.pm,v 1.444.4.5 2010/01/29 15:37:04 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -243,10 +243,10 @@ sub page_start { my ($symb,undef,undef,undef,$publicuser)= &Apache::lonnet::whichuser(); if ($symb eq '' && !$publicuser) { - my $help = &Apache::loncommon::help_open_topic("Ambiguous_Reference"); - $help=&mt("Browsing resource, all submissions are temporary.")."
"; - $page_start .= $help; - } + $page_start .= '

' + .&mt('Browsing resource, all submissions are temporary.') + .'

'; + } } if (!defined($found{'body'}) && $env{'request.state'} ne 'construct') { @@ -418,14 +418,16 @@ sub problem_web_to_edit_header { ''; } - my $show_all_foils_text = - ($Apache::lonhomework::parsing_a_task) ? - &mt(' Show All Instances') - : &mt(' Show All Foils'); + my $show_all_foils_text = + ($Apache::lonhomework::parsing_a_task) ? + &mt('Show All Instances') + : &mt('Show All Foils'); - my $show_all= ''; + $show_all.= ' /> '.$show_all_foils_text + .''; @@ -674,9 +676,7 @@ sub checkout_msg { return (<$lt{'resource'}

$lt{'id_expln'}

- -

$lt{'warning'}

-
+

$lt{'warning'}

@@ -902,14 +902,16 @@ sub start_problem { ''; } - if ($env{'request.role.adv'}) { - $form_tag_start.= - '