--- loncom/interface/courseprefs.pm 2013/01/09 19:35:42 1.49.2.5 +++ loncom/interface/courseprefs.pm 2012/06/22 20:33:15 1.50 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set configuration settings for a course # -# $Id: courseprefs.pm,v 1.49.2.5 2013/01/09 19:35:42 raeburn Exp $ +# $Id: courseprefs.pm,v 1.50 2012/06/22 20:33:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -465,13 +465,13 @@ sub handler { help => 'Course_Prefs_Printouts', ordered => ['problem_stream_switch','suppress_tries', 'default_paper_size','print_header_format', - 'disableexampointprint'], + 'disableexampointprint','canuse_pdfforms'], itemtext => { problem_stream_switch => 'Allow problems to be split over pages', suppress_tries => 'Suppress number of tries in printing', default_paper_size => 'Default paper type', print_header_format => 'Print header format', - disableexampointprint => 'Disable automatically printing point values on bubblesheet exams', + disableexampointprint => 'Disable automatically printing point values on exams', canuse_pdfforms => 'Users can print problems as PDF forms and upload later for grading', }, }, @@ -549,13 +549,9 @@ sub print_config_box { '
'. - &mt($item->{text}); - if ($item->{'help'}) { - $output .= ' '. - &Apache::loncommon::help_open_topic($item->{'help'}); - } - $output .= ' | '."\n". - '||||
---|---|---|---|---|
'.&mt('font-size').' | '. ''.&mt('font-weight').' | '. ''.&mt('font-style').' | '. - ''.&mt('Other css').' | '. + ''.&mt('Other css').' | '. &Apache::loncommon::end_data_table_row(). &set_discussion_fonts($cdom,$cnum,$item,$settings). &Apache::loncommon::end_data_table(); @@ -3260,7 +3256,7 @@ sub set_discussion_fonts { sub discussion_vote_classes { my $classorder = ['twoplus','oneplus','zero','oneminus','twominus']; - my %classtitles = &Apache::lonlocal::texthash( + my %classtitles = &Apache::lonlocal::texthash( 'twoplus' => 'Two sigma above mean', 'oneplus' => 'One sigma above mean', 'zero' => 'Within one sigma of mean', @@ -3410,11 +3406,12 @@ sub print_grading { input => 'selectbox', options => { standard => &mt('Standard: shows points'), + categories => &mt('Categories: shows points according to categories'), external => &mt('External: shows number of completed parts and totals'), externalnototals => &mt('External: shows only number of completed parts'), spreadsheet => &mt('Spreadsheet: (with link to detailed scores)'), }, - order => ['standard','external','externalnototals','spreadsheet'], + order => ['standard','categories','external','externalnototals','spreadsheet'], }, 'rndseed' => { text => ''.&mt($itemtext->{'rndseed'}).''. @@ -3482,7 +3479,7 @@ sub print_printouts { A6 => &mt('A6').' [105x148 mm]', }, order => ['Letter','Legal','Tabloid','Executive','A2','A3','A4','A5','A6'], - nullval => &mt('None specified'), + nullval => 'None specified', }, print_header_format => { text => ''.&mt($itemtext->{'print_header_format'}).'', @@ -3500,7 +3497,7 @@ sub print_printouts { 0 => &mt('No'), }, order => ['1','0'], - nullval => &mt('None specified - use domain default'), + nullval => 'None specified - use domain default', } ); return &make_item_rows($cdom,\%items,$ordered,$settings,$rowtotal,$crstype);