version 1.120, 2013/07/03 05:03:19
|
version 1.121, 2013/07/23 13:40:20
|
Line 709 sub Copy1 {
|
Line 709 sub Copy1 {
|
my $filesize = $fileinfo[7]; |
my $filesize = $fileinfo[7]; |
$filesize = int($filesize/1000); #expressed in kb |
$filesize = int($filesize/1000); #expressed in kb |
my $authorspace = $Apache::lonnet::perlvar{'lonDocRoot'}."/priv/$domain/$user"; |
my $authorspace = $Apache::lonnet::perlvar{'lonDocRoot'}."/priv/$domain/$user"; |
my $output = &Apache::loncommon::excess_filesize_authorspace($user,$domain,$authorspace, |
my $output = &Apache::loncommon::excess_filesize_warning($user,$domain,$authorspace, |
$fname,$filesize,'copy'); |
$fname,$filesize,'copy'); |
if ($output) { |
if ($output) { |
$request->print($output.'<br /><a href="'.&url($dir).'">'.&mt('Cancel').'</a></form>'); |
$request->print($output.'<br /><a href="'.&url($dir).'">'.&mt('Cancel').'</a></form>'); |
return; |
return; |