Diff for /loncom/interface/lonparmset.pm between versions 1.216 and 1.219

version 1.216, 2005/06/06 21:28:55 version 1.219, 2005/06/09 20:35:48
Line 776  sub parmmenu { Line 776  sub parmmenu {
  checkthis('duedate','pscat');   checkthis('duedate','pscat');
   checkthis('opendate','pscat');    checkthis('opendate','pscat');
  checkthis('answerdate','pscat');   checkthis('answerdate','pscat');
  checkthis('interval','pscat');      }
    }  
       function checkdisset() {
    checkthis('discussend','pscat');
     checkthis('discusshide','pscat');
       }
   
       function checkcontdates() {
    checkthis('contentopen','pscat');
     checkthis('contentclose','pscat');
       }
    
   
     function checkvisi() {      function checkvisi() {
  checkthis('hiddenresource','pscat');   checkthis('hiddenresource','pscat');
Line 820  ENDSCRIPT Line 830  ENDSCRIPT
     }      }
     $r->print('      $r->print('
 </tr><tr><td>  </tr><tr><td>
 <a href="javascript:checkall(true, \'pscat\')">Select All</a>  <a href="javascript:checkall(true, \'pscat\')">Select All</a><br />
 <a href="javascript:checkstandard()">Select Standard</a>  <a href="javascript:checkstandard()">Select Common Only</a>
 </td><td>  </td><td>
 <a href="javascript:checkdates()">Select Dates</a>  <a href="javascript:checkdates()">Add Problem Dates</a>
 <a href="javascript:checkvisi()">Select Visibilities</a>  <a href="javascript:checkcontdates()">Add Content Dates</a><br />
 <a href="javascript:checkparts()">Select Part Parameters</a>  <a href="javascript:checkdisset()">Add Discussion Settings</a>
   <a href="javascript:checkvisi()">Add Visibilities</a><br />
   <a href="javascript:checkparts()">Add Part Parameters</a>
 </td><td>  </td><td>
 <a href="javascript:checkall(false, \'pscat\')">Unselect All</a>  <a href="javascript:checkall(false, \'pscat\')">Unselect All</a>
 </td>  </td>
Line 1004  sub standardkeyorder { Line 1016  sub standardkeyorder {
     'parameter_0_ordered' => 15,      'parameter_0_ordered' => 15,
     'parameter_0_tol' => 16,      'parameter_0_tol' => 16,
     'parameter_0_sig' => 17,      'parameter_0_sig' => 17,
     'parameter_0_turnoffunit' => 18);      'parameter_0_turnoffunit' => 18,
               'parameter_0_discussend' => 19,
               'parameter_0_discusshide' => 20);
 }  }
   
 ##################################################  ##################################################
Line 1780  sub crsenv { Line 1794  sub crsenv {
              'anonymous_quiz'               'anonymous_quiz'
                  => '<b>'.&mt('Anonymous quiz/exam').'</b><br />'.                   => '<b>'.&mt('Anonymous quiz/exam').'</b><br />'.
                     ' (<tt><b>'.&mt('yes').'</b> '.&mt('to avoid print students names').' </tt>)',                      ' (<tt><b>'.&mt('yes').'</b> '.&mt('to avoid print students names').' </tt>)',
              'default_enrollment_start_date' => '<b>'.&mt('Default beginning date when enrolling students').'</b>',               'default_enrollment_start_date' => '<b>'.&mt('Default beginning date for student access.').'</b>',
              'default_enrollment_end_date'   => '<b>'.&mt('Default ending date when enrolling students').'</b>',               'default_enrollment_end_date'   => '<b>'.&mt('Default ending date for student access.').'</b>',
              'nothideprivileged'   => '<b>'.&mt('Privileged users that should not be hidden on staff listings').'</b>'.               'nothideprivileged'   => '<b>'.&mt('Privileged users that should not be hidden on staff listings').'</b>'.
                                  '<br />(<tt>user:domain,user:domain,...</tt>)',                                   '<br />(<tt>user:domain,user:domain,...</tt>)',
              'languages' => '<b>'.&mt('Languages used').'</b>',               'languages' => '<b>'.&mt('Languages used').'</b>',
Line 2135  sub listdata { Line 2149  sub listdata {
  $r->print(   $r->print(
   &Apache::lonhtmlcommon::date_setter('overviewform',    &Apache::lonhtmlcommon::date_setter('overviewform',
       $jskey,        $jskey,
       $$resourcedata{$thiskey}).        $$resourcedata{$thiskey},
         '',1).
 '<input type="hidden" name="datepointer_'.$thiskey.'" value="'.$jskey.'" />'  '<input type="hidden" name="datepointer_'.$thiskey.'" value="'.$jskey.'" />'
   );    );
       } elsif ($thistype eq 'string_yesno') {
    $r->print('<label><input type="radio" name="set_'.$thiskey.
     '" value="yes"');
    if ($$resourcedata{$thiskey} eq 'yes') {
       $r->print(' checked="checked"');
    }
                   $r->print(' />'.&mt('Yes').'</label> ');
    $r->print('<label><input type="radio" name="set_'.$thiskey.
     '" value="no"');
    if ($$resourcedata{$thiskey} eq 'no') {
       $r->print(' checked="checked"');
    }
                   $r->print(' />'.&mt('No').'</label>');
     } else {      } else {
  $r->print('<input type="text" name="set_'.$thiskey.'" value="'.   $r->print('<input type="text" name="set_'.$thiskey.'" value="'.
   $$resourcedata{$thiskey}.'">');    $$resourcedata{$thiskey}.'">');

Removed from v.1.216  
changed lines
  Added in v.1.219


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