version 1.221, 2014/01/01 17:41:46
|
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 6465 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}; |