--- loncom/interface/londocs.pm 2013/12/18 23:03:43 1.572 +++ loncom/interface/londocs.pm 2013/12/30 21:10:36 1.574 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.572 2013/12/18 23:03:43 raeburn Exp $ +# $Id: londocs.pm,v 1.574 2013/12/30 21:10:36 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3143,6 +3143,8 @@ sub process_file_upload { $quotatype = 'community'; } elsif ($env{'course.'.$coursedom.'_'.$coursenum.'.internal.instcode'}) { $quotatype = 'official'; + } elsif ($env{'course.'.$coursedom.'_'.$coursenum.'.internal.textbook'}) { + $quotatype = 'textbook'; } if (&Apache::loncommon::get_user_quota($coursenum,$coursedom,'course',$quotatype)) { $filesize = int($filesize/1000); #expressed in kb @@ -6652,7 +6654,7 @@ ENDINJECT sub dump_switchserver_js { my @hosts = @_; my %lt = &Apache::lonlocal::texthash( - dump => 'Copying Content to Authoring Space requires switching server.', + dump => 'Copying content to Authoring Space requires switching server.', swit => 'Switch server?', duco => 'Copying Content to Authoring Space', yone => 'You need to switch to a server housing an Authoring Space for which you are author or co-author.',