--- loncom/homework/structuretags.pm 2007/07/24 18:03:54 1.385 +++ loncom/homework/structuretags.pm 2007/08/03 23:29:57 1.386 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.385 2007/07/24 18:03:54 albertel Exp $ +# $Id: structuretags.pm,v 1.386 2007/08/03 23:29:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -319,7 +319,7 @@ sub problem_web_to_edit_header { $result.= ' />'.$show_all_foils_text.''. &Apache::loncommon::help_open_topic('Problem_Editor_Testing_Area','Testing Problems'). '
'; - $result.=&mt('Apply style file').' + $result.=&mt('Apply style file: ').' &').'" /> '.&mt('Select').' @@ -1375,8 +1375,7 @@ sub start_part { # duedates. } my $result=''; - my $id= &Apache::lonxml::get_param('id',$parstack,$safeeval); - if ($id =~ /^\s*$/) { $id = $Apache::lonxml::curdepth; } + my $id= &Apache::lonxml::get_id($parstack,$safeeval); $Apache::inputtags::part=$id; push(@Apache::inputtags::partlist,$id); @Apache::inputtags::response=();