Diff for /loncom/interface/courseprefs.pm between versions 1.19 and 1.20

version 1.19, 2010/01/08 00:04:04 version 1.20, 2010/01/08 21:07:49
Line 115  sub handler { Line 115  sub handler {
         %lt = (          %lt = (
                 conf => 'Course Configuration',                  conf => 'Course Configuration',
                 edit => 'Edit Course Configuration',                  edit => 'Edit Course Configuration',
                 gens => 'General Settings',                  gens => 'General course settings',
                 idnu => 'ID/Number',                  idnu => 'Course ID or number',
                 desc => 'Title',                  desc => 'Course Description',
                 catg => 'Categorize course',                  catg => 'Categorize course',
                 excc => 'Exclude from course catalog',                  excc => 'Exclude from course catalog',
                 clon => 'Users allowed to clone course',                  clon => 'Users allowed to clone course',
                 rept => 'Replacement titles for standard course roles',                  rept => 'Replacement titles for standard course roles',
                 time => 'Timezone',                  time => 'Timezone in which the course takes place',
                 date => 'Calendar Locale',                  date => 'Locale used for course calendar',
                 coco => 'Course Content',                  coco => 'Course Content',
                 copo => 'Course Policy',                  copo => 'Course Policy',
                 priv => 'Domain Coordinators in course',                  priv => 'Domain Coordinators in course',
Line 170  sub handler { Line 170  sub handler {
                                    categories       => $lt{'catg'},                                     categories       => $lt{'catg'},
                                    hidefromcat      => $lt{'excc'},                                     hidefromcat      => $lt{'excc'},
                                    cloners          => $lt{'clon'},                                      cloners          => $lt{'clon'}, 
                                    externalsyllabus => 'External Syllabus URL',                                     externalsyllabus => 'URL of Syllabus',
                                    url              => 'Top Level Map',                                     url              => 'Top Level Map',
                                    rolenames        => $lt{'rept'},                                     rolenames        => $lt{'rept'},
                                  },                                   },
Line 180  sub handler { Line 180  sub handler {
                       help => 'Course_Environment',                        help => 'Course_Environment',
                       ordered => ['languages','timezone','datelocale'],                        ordered => ['languages','timezone','datelocale'],
                       itemtext => {                        itemtext => {
                                     languages  => 'Language(s)',                                      languages  => 'Languages used',
                                     timezone   => $lt{'time'},                                       timezone   => $lt{'time'}, 
                                     datelocale => $lt{'date'},                                      datelocale => $lt{'date'},
                                   },                                    },
                     },                      },
         'feedback' =>          'feedback' =>
                     { text => 'Feedback Messages',                      { text => 'Feedback messages',
                       help => 'Course_Environment',                        help => 'Course_Environment',
                       header => [{col1 => 'Questions about:',                        header => [{col1 => 'Questions about:',
                                   col2 => 'Recipients'},                                    col2 => 'Recipients'}],
                                  {col1 => 'Questions about:',  
                                   col2 => 'Custom Text'}],  
                       ordered => ['question.email','comment.email','policy.email'],                        ordered => ['question.email','comment.email','policy.email'],
                       itemtext => {                        itemtext => {
                                      'question.email' => 'Resource Content',                                       'question.email' => 'Resource Content',
Line 207  sub handler { Line 205  sub handler {
                                   'allow_limited_html_in_feedback',                                    'allow_limited_html_in_feedback',
                                   'allow_discussion_post_editing'],                                    'allow_discussion_post_editing'],
                       itemtext => {                        itemtext => {
                          'plc.roles.denied'             => 'Disable resource discussion',                           'plc.roles.denied'             => 'No Resource Discussion',
                          'plc.users.denied'             => 'Disable resource discussion',                           'plc.users.denied'             => 'No Resource Discussion',
                          'pch.roles.denied'             => 'Disable chat room',                           'pch.roles.denied'             => 'No Chat room use',
                          'pch.users.denied'             => 'Disable chat room',                           'pch.users.denied'             => 'No Chat room use',
                          allow_limited_html_in_feedback => 'HTML in discussion',                           allow_limited_html_in_feedback => 'Allow limited HTML in discussion',
                          allow_discussion_post_editing  => 'Allow users to edit/delete own discussion posts',                           allow_discussion_post_editing  => 'Users can edit/delete own discussion posts',
                                   },                                    },
                     },                      },
         'classlists' =>          'classlists' =>
Line 238  sub handler { Line 236  sub handler {
                                   },                                    },
                    },                     },
         'appearance' =>          'appearance' =>
                    { text => 'Display of Resources ',                     { text => 'Display of resources ',
                      help => 'Course_Environment',                       help => 'Course_Environment',
                      ordered => ['default_xml_style','pageseparators',                       ordered => ['default_xml_style','pageseparators',
                                  'disable_receipt_display','texengine',                                   'disable_receipt_display','texengine',
                                  'tthoptions'],                                   'tthoptions'],
                       itemtext => {                        itemtext => {
                           default_xml_style       => 'Default XML style file',                            default_xml_style       => 'Default XML style file',
                           pageseparators          => 'Separate items on composite pages',                            pageseparators          => 'Visibly Separate Items on Pages',
                           disable_receipt_display => 'Disable problem receipts display',                            disable_receipt_display => 'Disable display of problem receipts',
                           texengine               => 'Force specific math rendering engine',                            texengine               => 'Force use of a specific math rendering engine',
                           tthoptions              => 'Default set of options to pass to tth/m when converting TeX',                            tthoptions              => 'Default set of options to pass to tth/m when converting TeX',
                                   },                                    },
                   },                    },
Line 257  sub handler { Line 255  sub handler {
                     ordered => ['grading','rndseed',                      ordered => ['grading','rndseed',
                                 'receiptalg','disablesigfigs'],                                  'receiptalg','disablesigfigs'],
                     itemtext => {                      itemtext => {
                         grading        => 'Grading Type',                          grading        => 'Grading',
                         rndseed        => 'Randomization algorithm',                          rndseed        => 'Randomization algorithm used',
                         receiptalg     => 'Receipt algorithm',                          receiptalg     => 'Receipt algorithm used',
                         disablesigfigs => 'Disable significant figure checks',                          disablesigfigs => 'Disable checking of Significant Figures',
                                 },                                  },
   
                   },                    },
         'printouts' =>          'printouts' =>
                   { text => 'Printouts',                    { text => 'Printout generation',
                     help => 'Course_Environment',                      help => 'Course_Environment',
                     ordered => ['problem_stream_switch','suppress_tries',                      ordered => ['problem_stream_switch','suppress_tries',
                                 'default_paper_size','print_header_format',                                  'default_paper_size','print_header_format',
Line 1762  sub print_feedback { Line 1760  sub print_feedback {
   
     foreach my $item (@{$ordered}) {      foreach my $item (@{$ordered}) {
         $count ++;          $count ++;
         $datatable .= &item_table_row_start($items{$item}{text},$count);          if ($position eq 'top') {
           $datatable .= &item_table_row_start($items{$item}{text},$count);
           } else {
           $datatable .= &item_table_row_start($items{$item}{text}."<br/>(Custom text)",$count, "advanced");
           }
         if ($position eq 'top') {          if ($position eq 'top') {
             my $includeempty = 0;              my $includeempty = 0;
             $datatable .= &user_table($cdom,$item,\@sections,              $datatable .= &user_table($cdom,$item,\@sections,
Line 1818  sub user_table { Line 1820  sub user_table {
         if ($num) {          if ($num) {
             $output .= '<tr>'.              $output .= '<tr>'.
                        '<td align="left"><i>';                         '<td align="left"><i>';
             if ($num > 1) {              if ($num == 1) {
                 $output .= $lt->{'currone'};                  $output .= $lt->{'currone'};
             } else {              } else {
                 $output .= $lt->{'currmult'};                  $output .= $lt->{'curmult'};
             }              }
             $output .= '</i><br />'.              $output .= '</i><br />'.
                           '<table>'.$currusers.'</table></td>'.                            '<table>'.$currusers.'</table></td>'.

Removed from v.1.19  
changed lines
  Added in v.1.20


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>