--- loncom/homework/structuretags.pm 2009/08/12 22:57:14 1.444.4.1 +++ loncom/homework/structuretags.pm 2010/02/10 21:06:07 1.444.4.6 @@ -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.4.1 2009/08/12 22:57:14 raeburn Exp $ +# $Id: structuretags.pm,v 1.444.4.6 2010/02/10 21:06:07 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -243,7 +243,6 @@ sub page_start { my ($symb,undef,undef,undef,$publicuser)= &Apache::lonnet::whichuser(); if ($symb eq '' && !$publicuser) { - if ($symb eq '' && !$publicuser) { $page_start .= '

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

'; @@ -257,7 +256,9 @@ sub page_start { my $form_tag_start; if (!defined($found{'form'})) { $form_tag_start='
'; } @@ -2044,10 +2051,9 @@ sub start_simpleeditbutton { # .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.') # .&Apache::loncommon::help_open_topic('Caching') # .'

'; - $result.=&Apache::lontemplate::start_functionslist() - .&Apache::lontemplate::item_functionslist( - ''.&mt('Edit').'') - .&Apache::lontemplate::end_functionslist(); + $result .= '
'. + ''. + &mt('Edit').'

'; } return $result;