Diff for /loncom/interface/domainprefs.pm between versions 1.219 and 1.223

version 1.219, 2013/12/29 03:32:17 version 1.223, 2014/01/08 17:18:11
Line 95  institutional affiliation in the domain Line 95  institutional affiliation in the domain
 but is now also used to manage availability of user tools:   but is now also used to manage availability of user tools: 
 i.e., blogs, aboutme page, and portfolios, and the course request tool,  i.e., blogs, aboutme page, and portfolios, and the course request tool,
 used by course owners to request creation of a course, and to display/store  used by course owners to request creation of a course, and to display/store
 default quota sizes for authoring spaces.  default quota sizes for Authoring Spaces.
   
 Outputs: 1  Outputs: 1
   
Line 334  sub handler { Line 334  sub handler {
                               col2 => ''}],                                col2 => ''}],
                  },                   },
         'requestauthor' =>          'requestauthor' =>
                  {text => 'Request authoring space',                   {text => 'Request Authoring Space',
                   help => 'Domain_Configuration_Request_Author',                    help => 'Domain_Configuration_Request_Author',
                   header => [{col1 => 'User affiliation',                    header => [{col1 => 'User affiliation',
                               col2 => 'Availability/Processing of requests',},                                col2 => 'Availability/Processing of requests',},
Line 420  sub handler { Line 420  sub handler {
     if ($phase eq 'process') {      if ($phase eq 'process') {
         my $result = &Apache::lonconfigsettings::make_changes($r,$dom,$phase,$context,\@prefs_order,          my $result = &Apache::lonconfigsettings::make_changes($r,$dom,$phase,$context,\@prefs_order,
                                                               \%prefs,\%domconfig,$confname,\@roles);                                                                \%prefs,\%domconfig,$confname,\@roles);
         if (ref($result) eq 'HASH') {          if ((ref($result) eq 'HASH') && (keys(%{$result}))) { 
             $r->rflush();              $r->rflush();
             &devalidate_remote_domconfs($dom,$result);              &devalidate_remote_domconfs($dom,$result);
         }          }
Line 2002  sub print_requestmail { Line 2002  sub print_requestmail {
     if ($action eq 'requestcourses') {      if ($action eq 'requestcourses') {
         $text = &mt('Receive notification of course requests requiring approval');          $text = &mt('Receive notification of course requests requiring approval');
     } else {      } else {
         $text = &mt('Receive notification of authoring space requests requiring approval')          $text = &mt('Receive notification of Authoring Space requests requiring approval')
     }      }
     $datatable = '<tr '.$css_class.'>'.      $datatable = '<tr '.$css_class.'>'.
                  ' <td>'.$text.'</td>'.                   ' <td>'.$text.'</td>'.
Line 4546  sub print_serverstatuses { Line 4546  sub print_serverstatuses {
 sub serverstatus_pages {  sub serverstatus_pages {
     return ('userstatus','lonstatus','loncron','server-status','codeversions',      return ('userstatus','lonstatus','loncron','server-status','codeversions',
             'checksums','clusterstatus','metadata_keywords','metadata_harvest',              'checksums','clusterstatus','metadata_keywords','metadata_harvest',
             'takeoffline','takeonline','showenv','toggledebug','ping','domconf');              'takeoffline','takeonline','showenv','toggledebug','ping','domconf',
               'uniquecodes');
 }  }
   
 sub coursecategories_javascript {  sub coursecategories_javascript {
Line 6464  sub modify_quotas { Line 6465  sub modify_quotas {
                     $resulttext .= '</ul></li>';                      $resulttext .= '</ul></li>';
                 }                  }
                 if (ref($changes{'authorquota'}) eq 'HASH') {                  if (ref($changes{'authorquota'}) eq 'HASH') {
                     $resulttext .= '<li>'.&mt('Authoring space default quotas').'<ul>';                      $resulttext .= '<li>'.&mt('Authoring Space default quotas').'<ul>';
                     foreach my $type (@{$types},'default') {                      foreach my $type (@{$types},'default') {
                         if (defined($changes{'authorquota'}{$type})) {                          if (defined($changes{'authorquota'}{$type})) {
                             my $typetitle = $usertypes->{$type};                              my $typetitle = $usertypes->{$type};
Line 9319  sub active_dc_picker { Line 9320  sub active_dc_picker {
                       '<input type="checkbox" name="'.$name.'" '.                        '<input type="checkbox" name="'.$name.'" '.
                       'value="'.$domcoord[0].'"'.$check.' />'.$user;                        'value="'.$domcoord[0].'"'.$check.' />'.$user;
             if ($user ne $dcname.':'.$dcdom) {              if ($user ne $dcname.':'.$dcdom) {
                 $table .=  ' ('.$dcname.':'.$dcdom.')'.                  $table .=  ' ('.$dcname.':'.$dcdom.')';
             }              }
             '</label></span>';              $table .= '</label></span>';
             $rows ++;              $rows ++;
         }          }
     }      }

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


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