Diff for /loncom/interface/courseprefs.pm between versions 1.16 and 1.17

version 1.16, 2010/01/07 18:21:25 version 1.17, 2010/01/07 18:43:32
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 course settings',                  gens => 'General Settings',
                 idnu => 'Course ID or number',                  idnu => 'ID/Number',
                 desc => 'Course Description',                  desc => 'Title',
                 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 in which the course takes place',                  time => 'Timezone',
                 date => 'Locale used for course calendar',                  date => 'Calendar Locale',
                 coco => 'Course Content',                  coco => 'Course Content',
                 copo => 'Course Policy',                  copo => 'Course Policy',
                 priv => 'Domain Coordinators in course',                  priv => 'Domain Coordinators in course',
Line 164  sub handler { Line 164  sub handler {
                      header => [{col1 => 'Setting',                       header => [{col1 => 'Setting',
                                  col2 => 'Value'}],                                   col2 => 'Value'}],
                      ordered => ['description','courseid','categories',                       ordered => ['description','courseid','categories',
                                  'hidefromcat','cloners','externalsyllabus',                                   'hidefromcat','externalsyllabus',
                                  'url','rolenames'],                                   'url','rolenames','cloners'],
                      itemtext => {                       itemtext => {
                                    description      => $lt{'desc'},                                     description      => $lt{'desc'},
                                    courseid         => $lt{'idnu'},                                     courseid         => $lt{'idnu'},
                                    categories       => $lt{'catg'},                                     categories       => $lt{'catg'},
                                    hidefromcat      => $lt{'excc'},                                     hidefromcat      => $lt{'excc'},
                                    cloners          => $lt{'clon'},                                      cloners          => $lt{'clon'}, 
                                    externalsyllabus => 'URL of Syllabus',                                     externalsyllabus => 'External Syllabus URL',
                                    url              => 'Top Level Map',                                     url              => 'Top Level Map',
                                    rolenames        => $lt{'rept'},                                     rolenames        => $lt{'rept'},
                                  },                                   },
                     },                      },
         'localization' =>          'localization' =>
                     { text => 'Language/TimeZone/Locale',                      { text => 'Language & Time Localization',
                       help => 'Course_Environment',                        help => 'Course_Environment',
                       header => [{col1 => 'Setting',                        header => [{col1 => 'Setting',
                                   col2 => 'Value',}],                                    col2 => 'Value',}],
                       ordered => ['languages','timezone','datelocale'],                        ordered => ['languages','timezone','datelocale'],
                       itemtext => {                        itemtext => {
                                     languages  => 'Languages used',                                      languages  => 'Language(s)',
                                     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'},
Line 213  sub handler { Line 213  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'             => 'No Resource Discussion',                           'plc.roles.denied'             => 'Disable resource discussion',
                          'plc.users.denied'             => 'No Resource Discussion',                           'plc.users.denied'             => 'Disable resource discussion',
                          'pch.roles.denied'             => 'No Chat room use',                           'pch.roles.denied'             => 'Disable chat room',
                          'pch.users.denied'             => 'No Chat room use',                           'pch.users.denied'             => 'Disable chat room',
                          allow_limited_html_in_feedback => 'Allow limited HTML in discussion posts',                           allow_limited_html_in_feedback => 'HTML in discussion',
                          allow_discussion_post_editing  => 'Users can edit/delete own discussion posts',                           allow_discussion_post_editing  => 'Allow users to edit/delete own discussion posts',
                                   },                                    },
                     },                      },
         'classlists' =>          'classlists' =>
Line 244  sub handler { Line 244  sub handler {
                                   },                                    },
                    },                     },
         'appearance' =>          'appearance' =>
                    { text => 'Display of resources ',                     { text => 'Display of Resources ',
                      help => 'Course_Environment',                       help => 'Course_Environment',
                      header => [{col1 => 'Setting',                       header => [{col1 => 'Setting',
                                  col2 => 'Value'}],                                   col2 => 'Value'}],
Line 252  sub handler { Line 252  sub handler {
                                  '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          => 'Visibly Separate Items on Pages',                            pageseparators          => 'Separate items on composite pages',
                           disable_receipt_display => 'Disable display of problem receipts',                            disable_receipt_display => 'Disable problem receipts display',
                           texengine               => 'Force use of a specific math rendering engine',                            texengine               => 'Force 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 267  sub handler { Line 267  sub handler {
                     ordered => ['grading','rndseed',                      ordered => ['grading','rndseed',
                                 'receiptalg','disablesigfigs'],                                  'receiptalg','disablesigfigs'],
                     itemtext => {                      itemtext => {
                         grading        => 'Grading',                          grading        => 'Grading Type',
                         rndseed        => 'Randomization algorithm used',                          rndseed        => 'Randomization algorithm',
                         receiptalg     => 'Receipt algorithm used',                          receiptalg     => 'Receipt algorithm',
                         disablesigfigs => 'Disable checking of Significant Figures',                          disablesigfigs => 'Disable significant figure checks',
                                 },                                  },
   
                   },                    },
         'printouts' =>          'printouts' =>
                   { text => 'Printout generation',                    { text => 'Printouts',
                     help => 'Course_Environment',                      help => 'Course_Environment',
                     header => [{col1 => 'Setting',                      header => [{col1 => 'Setting',
                                 col2 => 'Value',}],                                  col2 => 'Value',}],
Line 1632  sub print_localization { Line 1632  sub print_localization {
     }      }
     my %items = (      my %items = (
         languages => {          languages => {
                         text => &mt($itemtext->{'languages'}).'<br />'.                          text => '<b>'.&mt($itemtext->{'languages'}).'</b><br />'.
                                 &mt("(will override user's preference)"),                                  &mt("(overrides individual user preference)"),
                         input => 'selectbox',                          input => 'selectbox',
                      },                        }, 
         timezone => {          timezone => {
                         text  => &mt($itemtext->{'timezone'}),                          text  => '<b>'.&mt($itemtext->{'timezone'}).'</b>',
                         input => 'selectbox',                          input => 'selectbox',
                     },                      },
         datelocale  => {           datelocale  => { 
                          text => &mt($itemtext->{'datelocale'}),                           text => '<b>'.&mt($itemtext->{'datelocale'}).'</b>',
                          input => 'selectbox',                           input => 'selectbox',
                        },                         },
     );      );
Line 2223  sub print_grading { Line 2223  sub print_grading {
                  },                   },
         'rndseed' => {          'rndseed' => {
                    text => '<b>'.&mt($itemtext->{'rndseed'}).'</b>'.                     text => '<b>'.&mt($itemtext->{'rndseed'}).'</b>'.
                            '<span class="LC_error">'.'<br />'.                             '<span class="LC_warning">'.'<br />'.
                            &mt('Modifying this will make problems have different numbers and answers!').                             &mt('Modifying this will make problems have different numbers and answers!').
                            '</span>',                             '</span>',
                    input => 'selectbox',                     input => 'selectbox',

Removed from v.1.16  
changed lines
  Added in v.1.17


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