Diff for /loncom/interface/courseprefs.pm between versions 1.127 and 1.129

version 1.127, 2023/09/24 03:31:18 version 1.129, 2024/01/24 17:20:58
Line 3285  sub store_ltitools { Line 3285  sub store_ltitools {
                             }                              }
                         }                          }
                     }                      }
                     $output .= '<li>'.&mt('Configurable in course:');                      $output .= '<li>';
                       if ($context eq 'domain') {
                           $output .= &mt('Configurable in course');
                       } else {
                           $output .= &mt('Configurable for each instance of tool in course');
                       }
                       $output .= ':';
                     my @possconfig = ('label','title','target','linktext','explanation','append');                      my @possconfig = ('label','title','target','linktext','explanation','append');
                     my $numconfig = 0;                      my $numconfig = 0;
                     if (ref($changes->{$itemid}{'crsconf'}) eq 'HASH') {                      if (ref($changes->{$itemid}{'crsconf'}) eq 'HASH') {
Line 6709  sub print_ltitools { Line 6715  sub print_ltitools {
                     %courseconfig = %{$settings->{$item}->{'crsconf'}};                      %courseconfig = %{$settings->{$item}->{'crsconf'}};
                 }                  }
             }              }
             $datatable .= '<fieldset><legend>'.&mt('Configurable in course').'</legend><span class="LC_nobreak">';              $datatable .= '<fieldset><legend>';
               if ($context eq 'domain') {
                   $datatable .= &mt('Configurable in course');
               } else {
                   $datatable .= &mt('Configurable for each instance of tool in course');
               }
               $datatable .= '</legend><span class="LC_nobreak">';
             foreach my $item ('label','title','target','linktext','explanation','append') {              foreach my $item ('label','title','target','linktext','explanation','append') {
                 my $checked;                  my $checked;
                 if ($courseconfig{$item}) {                  if ($courseconfig{$item}) {
Line 6867  sub print_ltitools { Line 6879  sub print_ltitools {
         $datatable .= '</select></td>';          $datatable .= '</select></td>';
     }      }
     $datatable .= '</tr></table></fieldset>'.      $datatable .= '</tr></table></fieldset>'.
                   '<fieldset><legend>'.&mt('Configurable in course').'</legend><span class="LC_nobreak">';                    '<fieldset><legend>';
       if ($context eq 'domain') {
           $datatable .= &mt('Configurable in course');
       } else {
           $datatable .= &mt('Configurable for each instance of tool in course');
       }
       $datatable .= '</legend><span class="LC_nobreak">';
     foreach my $item ('label','title','target','linktext','explanation','append') {      foreach my $item ('label','title','target','linktext','explanation','append') {
         $datatable .= '<label>'.          $datatable .= '<label>'.
                       '<input type="checkbox" name="ltitools_add_courseconfig" value="'.$item.'" checked="checked" />'.                        '<input type="checkbox" name="ltitools_add_courseconfig" value="'.$item.'" checked="checked" />'.
Line 7201  sub menuitems_categories { Line 7219  sub menuitems_categories {
                        shown => ['top','inline','foot','main'],                         shown => ['top','inline','foot','main'],
                        text  => ['name','role','crs','disc','fdbk'],                         text  => ['name','role','crs','disc','fdbk'],
                        links => ['pers','logo','menu','comm','roles','help','logout'],                         links => ['pers','logo','menu','comm','roles','help','logout'],
                        list => ['about','prefs','port','wish','anno','rss'],                         list => ['about','prefs','port','wish','anno','rss','srch','brse'],
                        inline => ['cont','grades','chat','people','groups','resv','syll','feeds'],                         inline => ['cont','grades','chat','people','groups','resv','syll','feeds'],
                      );                       );
     return (\@order,\%categories);      return (\@order,\%categories);
Line 7241  sub menuitems_fields { Line 7259  sub menuitems_fields {
                wish => 'Stored Links',                 wish => 'Stored Links',
                anno => 'Calendar',                 anno => 'Calendar',
                rss => 'RSS Feeds',                 rss => 'RSS Feeds',
                  srch => 'Search Library',
                  brse => 'Browse Library',
                cont => 'Contents',                 cont => 'Contents',
                grades => 'Grades',                 grades => 'Grades',
                chat => 'Chat',                 chat => 'Chat',

Removed from v.1.127  
changed lines
  Added in v.1.129


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