--- loncom/interface/loncreateuser.pm 2006/11/22 21:55:53 1.136 +++ loncom/interface/loncreateuser.pm 2007/06/07 23:11:05 1.152 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.136 2006/11/22 21:55:53 raeburn Exp $ +# $Id: loncreateuser.pm,v 1.152 2007/06/07 23:11:05 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -66,7 +66,7 @@ use Apache::loncommon; use Apache::lonlocal; use Apache::longroup; use lib '/home/httpd/lib/perl/'; -use LONCAPA; +use LONCAPA qw(:DEFAULT :match); my $loginscript; # piece of javascript used in two separate instances my $generalrule; @@ -122,11 +122,72 @@ sub portfolio_quota { my ($ccuname,$ccdomain) = @_; my %lt = &Apache::lonlocal::texthash( 'disk' => "Disk space allocated to user's portfolio files", + 'cuqu' => "Current quota", + 'cust' => "Custom quota", + 'defa' => "Default", + 'chqu' => "Change quota", ); - my $output = '
$lt{'rev'} | $lt{'ren'} | $lt{'del'} | $lt{'rol'} | $lt{'e -xt'} | $lt{'sta'} | $lt{'end'} | -END +'.$lt{'rev'}.' | '.$lt{'ren'}.' | '.$lt{'del'}. +' | '.$lt{'rol'}.' | '.$lt{'ext'}. +' | '.$lt{'sta'}.' | '.$lt{'end'}.' | '. +&Apache::loncommon::end_data_table_header_row()); foreach my $type ('Construction Space','Course','Group','Domain','System','Unknown') { if ($output{$type}) { $r->print($output{$type}."\n"); } } - $r->print('
---|