--- loncom/interface/lonmodifycourse.pm 2013/03/01 05:01:26 1.60 +++ loncom/interface/lonmodifycourse.pm 2013/08/30 13:22:23 1.63 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # handler for DC-only modifiable course settings # -# $Id: lonmodifycourse.pm,v 1.60 2013/03/01 05:01:26 raeburn Exp $ +# $Id: lonmodifycourse.pm,v 1.63 2013/08/30 13:22:23 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -219,20 +219,22 @@ sub print_course_selection_page { sub print_modification_menu { my ($r,$cdesc,$domdesc,$dom,$type) = @_; &print_header($r,$type); - my ($ccrole,$categorytitle,$setquota_text,$setparams_text,$cat_text); + my ($ccrole,$categorytitle,$setquota_text,$setuploadquota_text,$setparams_text,$cat_text); if ($type eq 'Community') { $ccrole = 'co'; } else { $ccrole = 'cc'; - } + } if ($type eq 'Community') { $categorytitle = 'View/Modify Community Settings'; $setquota_text = &mt('Total disk space allocated for storage of portfolio files in all groups in a community.'); + $setuploadquota_text = &mt('Disk space allocated for storage of content uploaded directly to a community via Content Editor.'); $setparams_text = 'View/Modify community owner'; $cat_text = 'View/Modify catalog settings for community'; } else { $categorytitle = 'View/Modify Course Settings'; $setquota_text = &mt('Total disk space allocated for storage of portfolio files in all groups in a course.'); + $setuploadquota_text = &mt('Disk space allocated for storage of content uploaded directly to a course via Content Editor.'); if (&showcredits($dom)) { $setparams_text = 'View/Modify course owner, institutional code, and default authentication and credits'; } else { @@ -261,7 +263,7 @@ sub print_modification_menu { linktitle => '' }, { - linktext => 'View/Modify quota for group portfolio files', + linktext => 'View/Modify quotas for group portfolio files, and for uploaded content.', url => &phaseurl('setquota'), permission => 1, #help => '', @@ -317,6 +319,7 @@ sub print_modification_menu { } } $menu_html .= '
  • '.$setquota_text.'
  • '. + '
  • '.$setuploadquota_text.'
  • '. '
  • '.$anon_text.'
  • '."\n"; foreach my $item (@additional_params) { if ($type eq 'Community') { @@ -406,7 +409,7 @@ sub print_settings_display { '

    '.$lt{'cose'}.'