--- loncom/interface/portfolio.pm 2013/07/15 14:32:44 1.248 +++ loncom/interface/portfolio.pm 2015/06/18 20:19:06 1.256 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.248 2013/07/15 14:32:44 bisitz Exp $ +# $Id: portfolio.pm,v 1.256 2015/06/18 20:19:06 musolffc Exp $ # # Copyright Michigan State University Board of Trustees # @@ -112,13 +112,17 @@ sub display_common { END } + # Find space available before uploading + my $free_space = &free_space($group); + # Upload File $r->print('
' + .&mt('Add new [_1]'.$showtypes{$newitem}.'-based[_2] access control for portfolio file: [_3]', + '','', + '' + .$env{'form.currentpath'}.$env{'form.selectfile'}.'') + .'
' + .&mt('No '.$infotype.'-based conditions defined') + .'