--- loncom/interface/lonmeta.pm 2007/01/22 20:04:46 1.202 +++ loncom/interface/lonmeta.pm 2008/01/24 10:05:13 1.211 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.202 2007/01/22 20:04:46 raeburn Exp $ +# $Id: lonmeta.pm,v 1.211 2008/01/24 10:05:13 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -265,7 +265,7 @@ sub fieldnames { 'correct' => 'Material appears to be correct', 'technical' => 'Resource is technically correct', 'avetries' => 'Average number of tries till solved', - 'stdno' => 'Total number of students who have worked on this problem', + 'stdno' => 'Statistics calculated for number of students', 'difficulty' => 'Degree of difficulty', 'disc' => 'Degree of discrimination', 'dependencies' => 'Resources used by this resource', @@ -638,7 +638,7 @@ sub prettyinput { } $cur_values_stu =~ s/,$//; my @key_order = sort(keys(%meta_options)); - unshift (@key_order,''); + unshift(@key_order,''); $meta_options{''} = 'Not specified'; $meta_options{'select_form_order'} = \@key_order; } else { @@ -804,8 +804,10 @@ sub handler { &present_editable_metadata($r,$uri,'groups'); } elsif ($uri=~m|^/~|) { # Construction space - $r->print(&Apache::loncommon::start_page('Edit Catalog nformation', - undef, + $r->print(&Apache::loncommon::start_page('Edit Catalog Information', + "\n".'', {'domain' => $resdomain,})); &present_editable_metadata($r,$uri); } else { @@ -1024,17 +1026,17 @@ sub print_dynamic_metadata { # # New assessment statistics $r->print('
Course | '. - 'Section(s) | '. - 'Num Students | '. - 'Mean Tries | '. - 'Degree of Difficulty | '. - 'Degree of Discrimination | '. - 'Time of computation | '. + ''.&mt('Course').' | '. + ''.&mt('Section(s)').' | '. + ''.&mt('Num Student').'s | '. + ''.&mt('Mean Tries').' | '. + ''.&mt('Degree of Difficulty').' | '. + ''.&mt('Degree of Discrimination').' | '. + ''.&mt('Time of computation').' | '. '
---|
'. + &mt('Back To Directory').'
'); + } } $r->print('