Diff for /loncom/interface/lonconfigsettings.pm between versions 1.5 and 1.6

version 1.5, 2009/05/17 00:54:38 version 1.6, 2009/08/23 17:21:22
Line 49  sub print_header { Line 49  sub print_header {
     my $alert = &mt('You must select at least one functionality type to display.');      my $alert = &mt('You must select at least one functionality type to display.');
     my $js = '      my $js = '
 <script type="text/javascript">  <script type="text/javascript">
   // <![CDATA[
   
 function changePage(formname,newphase) {  function changePage(formname,newphase) {
     formname.phase.value = newphase;      formname.phase.value = newphase;
     numchecked = 0;      numchecked = 0;
Line 81  function changePage(formname,newphase) { Line 83  function changePage(formname,newphase) {
         $js .= &color_pick_js()."\n";          $js .= &color_pick_js()."\n";
     }      }
     $js .= &Apache::loncommon::viewport_size_js().'      $js .= &Apache::loncommon::viewport_size_js().'
   
   // ]]>
 </script>  </script>
 ';  ';
     if ($jscript) {      if ($jscript) {
Line 305  sub display_choices { Line 309  sub display_choices {
     &print_header($r,$phase,$context);      &print_header($r,$phase,$context);
     $r->print('<h3>'.&mt('Settings to display/modify').'</h3>');      $r->print('<h3>'.&mt('Settings to display/modify').'</h3>');
     $r->print('<script type="text/javascript">'."\n".      $r->print('<script type="text/javascript">'."\n".
                 '// <![CDATA['."\n".
               &Apache::loncommon::check_uncheck_jscript()."\n".                &Apache::loncommon::check_uncheck_jscript()."\n".
                 '// ]]>'."\n".
               '</script>'."\n".'<p><input type="button" value="'.&mt('check all').'" '.                '</script>'."\n".'<p><input type="button" value="'.&mt('check all').'" '.
               'onclick="javascript:checkAll(document.pickactions.actions)"'.                'onclick="javascript:checkAll(document.pickactions.actions)"'.
               ' />'.('&nbsp;'x2).                ' />'.('&nbsp;'x2).

Removed from v.1.5  
changed lines
  Added in v.1.6


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