Diff for /loncom/interface/lonconfigsettings.pm between versions 1.13 and 1.16

version 1.13, 2010/04/02 21:47:54 version 1.16, 2010/11/19 13:08:47
Line 141  sub print_footer { Line 141  sub print_footer {
     if (($phase eq 'display') || ($phase eq 'process')) {      if (($phase eq 'display') || ($phase eq 'process')) {
         if (ref($actions) eq 'ARRAY') {          if (ref($actions) eq 'ARRAY') {
             foreach my $item (@{$actions}) {              foreach my $item (@{$actions}) {
                 $r->print('<input type="hidden" name="actions" value="'.$item.'" />')."\n";                  $r->print('<input type="hidden" name="actions" value="'.$item.'" />'."\n");
             }              }
         }          }
     }      }
Line 251  sub display_settings { Line 251  sub display_settings {
                 if (grep(/^\Q$item\E$/,@actions)) {                  if (grep(/^\Q$item\E$/,@actions)) {
                     push(@items,$item);                      push(@items,$item);
                     if ($context eq 'domain') {                      if ($context eq 'domain') {
                           if ($item eq 'usersessions') {
                               $r->print('<script type="text/javascript">'."\n".
                                         '// <![CDATA['."\n".
                                         &Apache::loncommon::check_uncheck_jscript()."\n".
                                         '// ]]>'."\n".
                                         '</script>'."\n");
                           }
                         ($output{$item},$rowtotal{$item}) =                          ($output{$item},$rowtotal{$item}) =
                             &Apache::domainprefs::print_config_box($r,$dom,$confname,                              &Apache::domainprefs::print_config_box($r,$dom,$confname,
                                 $phase,$item,$prefs->{$item},$values->{$item});                                  $phase,$item,$prefs->{$item},$values->{$item});
Line 336  sub display_choices { Line 343  sub display_choices {
     if ($numitems%$numcols) {      if ($numitems%$numcols) {
         $maxincol ++;          $maxincol ++;
     }      }
     my $firstthird = $maxincol;      $firstthird = $maxincol;
     my $secondthird = $firstthird + $maxincol;      $secondthird = $firstthird + $maxincol;
     $count = 0;      $count = 0;
     if ((ref($prefs_order) eq 'ARRAY') && (ref($prefs) eq 'HASH')) {      if ((ref($prefs_order) eq 'ARRAY') && (ref($prefs) eq 'HASH')) {
         foreach my $item (@{$prefs_order}) {          foreach my $item (@{$prefs_order}) {

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


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