--- loncom/interface/londocs.pm 2013/12/19 14:51:21 1.484.2.44 +++ loncom/interface/londocs.pm 2013/12/31 02:57:10 1.484.2.46 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.484.2.44 2013/12/19 14:51:21 raeburn Exp $ +# $Id: londocs.pm,v 1.484.2.46 2013/12/31 02:57:10 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 @@ -6651,7 +6653,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.',