--- loncom/interface/domainprefs.pm 2008/12/08 22:42:43 1.72 +++ loncom/interface/domainprefs.pm 2008/12/11 16:37:42 1.77 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.72 2008/12/08 22:42:43 raeburn Exp $ +# $Id: domainprefs.pm,v 1.77 2008/12/11 16:37:42 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -107,7 +107,7 @@ sub handler { 'quotas' => { text => 'User blogs, home pages and portfolios', help => 'Domain_Configuration_Quotas', - header => [{col1 => 'User type', + header => [{col1 => 'User affiliation', col2 => 'Available tools', col3 => 'Portfolio quota',}], }, @@ -175,7 +175,7 @@ sub handler { }], }, 'serverstatuses' => - {text => 'Access to Server Status Pages', + {text => 'Access to server status pages', help => 'Domain_Configuration_Server_Status', header => [{col1 => 'Status Page', col2 => 'Other named users', @@ -271,7 +271,7 @@ sub handler { $r->print(''. ''."\n". - ''.&mt('No settings chosen'). + ''.&mt('No settings chosen'). ''); } $r->print(''); @@ -819,7 +819,7 @@ sub login_choices { font => "Font color", pgbg => "Header", mainbg => "Page", - sidebg => "Container", + sidebg => "Login box", link => "Link", alink => "Active link", vlink => "Visited link", @@ -1321,7 +1321,8 @@ sub print_quotas { '" value="_LC_adv" '.$checked.'/>'.$titles{$item}. '  '; } - $datatable .= '('.&mt('overrides affiliation').')'; + $datatable .= '('.&mt('overrides affiliation'). + ')'; $$rowtotal += $typecount; return $datatable; } @@ -2874,7 +2875,7 @@ sub color_font_choices { links => "Link colors", images => "Images", font => "Font color", - pgbg => "Header", + pgbg => "Page", tabbg => "Header", sidebg => "Border", link => "Link", @@ -3605,6 +3606,8 @@ sub modify_quotas { } foreach my $item (@usertools) { if (ref($changes{$item}) eq 'HASH') { + my $hashid = $env{'user.name'}.':'.$env{'user.domain'}; + &Apache::lonnet::devalidate_cache_new('usertools.'.$item,$hashid); $resulttext .= '
  • '.$titles{$item}.'