--- loncom/homework/structuretags.pm 2009/07/08 18:36:29 1.456 +++ loncom/homework/structuretags.pm 2009/10/06 11:03:30 1.457.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.456 2009/07/08 18:36:29 droeschl Exp $ +# $Id: structuretags.pm,v 1.457.2.1 2009/10/06 11:03:30 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -257,12 +257,11 @@ sub page_start { && ($target eq 'web' || $target eq 'webgrade')) { 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; - } + if ($symb eq '' && !$publicuser) { + $page_start .= '

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

'; + } } if (!defined($found{'body'}) && $env{'request.state'} ne 'construct') { @@ -887,7 +886,7 @@ sub start_problem { $name); } - if ($target eq 'tex' and $env{'request.symb'} =~ m/\.page_/) {$result='';} +#TESTTESTTEST if ($target eq 'tex' and $env{'request.symb'} =~ m/\.page_/) {$result='';} if ($target eq 'analyze') { my $rndseed=&setup_rndseed($safeeval); } if ($target eq 'web' || $target eq 'grade' || $target eq 'answer' || @@ -922,13 +921,14 @@ sub start_problem { value="'.$env{'form.username'}.'" />'; } if ($env{'request.role.adv'}) { - $form_tag_start.= - ' '; } if ($Apache::lonhomework::type eq 'practice') { $form_tag_start.=&practice_problem_header();