version 1.196.2.2, 2009/01/03 19:39:37
|
version 1.204, 2009/01/03 19:14:19
|
Line 80 sub make_anchor {
|
Line 80 sub make_anchor {
|
|
|
my $dirptr=16384; |
my $dirptr=16384; |
sub display_common { |
sub display_common { |
my ($r,$url,$current_path,$is_empty,$dir_list,$can_upload,$group)=@_; |
my ($r,$url,$current_path,$is_empty,$dir_list,$can_upload)=@_; |
my $namespace = &get_namespace(); |
my $namespace = &get_namespace(); |
my $port_path = &get_port_path(); |
my $port_path = &get_port_path(); |
if ($can_upload) { |
if ($can_upload) { |
my $groupitem = &group_form_data(); |
my $groupitem = &group_form_data(); |
|
|
my $iconpath= $r->dir_config('lonIconsURL') . "/"; |
my $iconpath= $r->dir_config('lonIconsURL') . "/"; |
my %text=&Apache::lonlocal::texthash( |
my %lt=&Apache::lonlocal::texthash( |
'upload' => 'Upload', |
'upload' => 'Upload', |
'upload_label' => |
'upload_label' => 'Upload file to current directory', |
'Upload file to current directory:', |
|
'createdir' => 'Create Subdirectory', |
'createdir' => 'Create Subdirectory', |
'createdir_label' => |
'createdir_label' => |
'Create subdirectory in current directory:', |
'Create subdirectory in current directory', |
'parse' => 'If HTML file, upload embedded images/multimedia/css/linked files' |
'parse' => 'If HTML file, upload embedded images/multimedia/css/linked files' |
); |
); |
my $escuri = &HTML::Entities::encode($r->uri,'&<>"'); |
my $escuri = &HTML::Entities::encode($r->uri,'&<>"'); |
my $help_fileupload = &Apache::loncommon::help_open_topic('Portfolio AddFiles'); |
my $help_fileupload = &Apache::loncommon::help_open_topic('Portfolio AddFiles'); |
my $help_createdir = &Apache::loncommon::help_open_topic('Portfolio CreateDirectory'); |
my $help_createdir = &Apache::loncommon::help_open_topic('Portfolio CreateDirectory'); |
my $help_portfolio = &Apache::loncommon::help_open_topic('Portfolio About', &mt('Help on the portfolio')); |
|
$r->print(&display_usage($group)); |
# FIXME: This line should be deleted once Portfolio uses breadcrumbs |
|
$r->print(&Apache::loncommon::help_open_topic('Portfolio About', &mt('Help on the portfolio'))); |
|
|
my $parse_check; |
my $parse_check; |
if (!&suppress_embed_prompt()) { |
if (!&suppress_embed_prompt()) { |
$parse_check = <<"END"; |
$parse_check = <<"END"; |
<br /> |
<br /> |
<span class="LC_nobreak"> |
<span class="LC_nobreak"> |
<label>$text{'parse'} |
<label>$lt{'parse'} |
<input type="checkbox" name="parserflag" checked="checked" /> |
<input type="checkbox" name="parserflag" checked="checked" /> |
</label> |
</label> |
</span> |
</span> |
END |
END |
} |
} |
$r->print(<<"TABLE"); |
|
$help_portfolio |
$r->print('<div>'); |
<table id="LC_portfolio_actions"> |
# Upload File |
<tr id="LC_portfolio_upload"> |
$r->print('<div class="LC_left_float">' |
<td class="LC_label"> |
.'<form method="post" enctype="multipart/form-data" action="'.$escuri.'">' |
$text{'upload_label'} |
.'<fieldset>' |
</td> |
.'<legend>'.$lt{'upload_label'}.'</legend>' |
<td class="LC_value"> |
.$groupitem |
<form method="post" enctype="multipart/form-data" action="$escuri"> |
.'<input name="uploaddoc" type="file" />' |
$groupitem |
.'<input type="hidden" name="currentpath" value="'.$current_path.'" />' |
<input name="uploaddoc" type="file" /> |
.'<input type="hidden" name="action" value="'.$env{"form.action"}.'" />' |
<input type="hidden" name="currentpath" value="$current_path" /> |
.'<input type="hidden" name="fieldname" value="'.$env{"form.fieldname"}.'" />' |
<input type="hidden" name="action" value="$env{"form.action"}" /> |
.'<input type="hidden" name="mode" value="'.$env{"form.mode"}.'" />' |
<input type="hidden" name="fieldname" value="$env{"form.fieldname"}" /> |
.'<input type="submit" name="storeupl" value="'.$lt{'upload'}.'" />' |
<input type="hidden" name="mode" value="$env{"form.mode"}" /> |
.$help_fileupload |
<input type="submit" name="storeupl" value="$text{'upload'}" /> |
.$parse_check |
$help_fileupload |
.'</fieldset>' |
$parse_check |
.'</form>' |
</form> |
.'</div>' |
</td> |
); |
</tr> |
# Create Subdirectory |
<tr id="LC_portfolio_createdir"> |
$r->print('<div class="LC_left_float">' |
<td class="LC_label"> |
.'<form method="post" action="'.$escuri.'">' |
$text{'createdir_label'} |
.'<fieldset>' |
</td> |
.'<legend>'.$lt{'createdir_label'}.'</legend>' |
<td class="LC_value"> |
.'<input name="newdir" type="text" />'.$groupitem |
<form method="post" action="$escuri"> |
.'<input type="hidden" name="currentpath" value="'.$current_path.'" />' |
<input name="newdir" type="text" />$groupitem |
.'<input type="hidden" name="action" value="'.$env{"form.action"}.'" />' |
<input type="hidden" name="currentpath" value="$current_path" /> |
.'<input type="hidden" name="fieldname" value="'.$env{"form.fieldname"}.'" />' |
<input type="hidden" name="action" value="$env{"form.action"}" /> |
.'<input type="hidden" name="mode" value="'.$env{"form.mode"}.'" />' |
<input type="hidden" name="fieldname" value="$env{"form.fieldname"}" /> |
.'<input type="submit" name="createdir" value="'.$lt{'createdir'}.'" />' |
<input type="hidden" name="mode" value="$env{"form.mode"}" /> |
.$help_createdir |
<input type="submit" name="createdir" value="$text{'createdir'}" />$help_createdir |
.'</fieldset>' |
</form> |
.'</form>' |
</td> |
.'</div>' |
</tr> |
); |
</table> |
$r->print('</div>'); |
TABLE |
} # end "if can_upload" |
} |
|
my @tree = split (/\//,$current_path); |
my @tree = split (/\//,$current_path); |
my %anchor_fields = ( |
my %anchor_fields = ( |
'selectfile' => $port_path, |
'selectfile' => $port_path, |
Line 184 TABLE
|
Line 185 TABLE
|
$r->print("</form>"); |
$r->print("</form>"); |
} |
} |
|
|
sub display_usage { |
|
my ($group) = @_; |
|
my $disk_quota = &get_quota($group); |
|
my $getpropath = 1; |
|
my $portfolio_root = &get_portfolio_root(); |
|
my ($uname,$udom) = &get_name_dom($group); |
|
my $current_disk_usage = |
|
&Apache::lonnet::diskusage($udom,$uname,$portfolio_root,$getpropath); |
|
my $usage = $current_disk_usage/1000; |
|
my $quota = $disk_quota/1000; |
|
my $percent; |
|
if ($disk_quota == 0) { |
|
$percent = 100.0; |
|
} else { |
|
$percent = 100*($current_disk_usage/$disk_quota); |
|
} |
|
$usage = sprintf("%.2f",$usage); |
|
$quota = sprintf("%.2f",$quota); |
|
$percent = sprintf("%.0f",$percent); |
|
my ($color,$cssclass); |
|
if ($percent <= 60) { |
|
$color = '#00A000'; |
|
} elsif ($percent > 60 && $percent < 90) { |
|
$color = '#FFD300'; |
|
$cssclass = 'class="LC_warning"'; |
|
} elsif( $percent >= 90) { |
|
$color = '#FF0000'; |
|
$cssclass = 'class="LC_error"'; |
|
} |
|
my $prog_width = $percent; |
|
if ($prog_width > 100) { |
|
$prog_width = 100; |
|
} |
|
my $disk_meter = ' |
|
<div align="left" '.$cssclass.'>'.&mt('Currently using [_1] of the [_2] available.',$usage.' MB <span style="font-weight:bold;">('.$percent.'%)</span>',$quota.' MB')."\n". |
|
' <div style="display:block; margin-top:5px; margin-bottom:5px; margin-left:0px; margin-right:0px; width:400px; border:1px solid #000000; height:10px;">'."\n". |
|
' <div style="display:block; background-color:'.$color.'; width:'.$prog_width.'%; height:10px; color:#000000; margin:0px;"></div>'."\n". |
|
' </div>'."\n". |
|
' </div><br />'; |
|
return $disk_meter; |
|
} |
|
|
|
sub display_directory_line { |
sub display_directory_line { |
my ($r,$select_mode, $filename, $mtime, $size, $css_class, |
my ($r,$select_mode, $filename, $mtime, $size, $css_class, |
$line, $access_controls, $curr_access, $now, $version_flag, |
$line, $access_controls, $curr_access, $now, $version_flag, |
$href_location, $url, $current_path, $access_admin_text, $versions)=@_; |
$href_location, $url, $current_path, $access_admin_text, $versions)=@_; |
|
|
my $fullpath = &prepend_group($current_path.$filename); |
my $fullpath = &prepend_group($current_path.$filename); |
$r->print('<tr class="'.$css_class.'">'); |
$r->print(&Apache::loncommon::start_data_table_row()); |
$r->print($line); # contains first two cells of table |
$r->print($line); # contains first two cells of table |
my $lock_info; |
my $lock_info; |
if ($version_flag) { # versioned can't be versioned, so TRUE when root file |
if ($version_flag) { # versioned can't be versioned, so TRUE when root file |
Line 268 sub display_directory_line {
|
Line 227 sub display_directory_line {
|
$r->print('<td>'.$size.'</td>'); |
$r->print('<td>'.$size.'</td>'); |
$r->print('<td>'.&Apache::lonlocal::locallocaltime($mtime).'</td>'); |
$r->print('<td>'.&Apache::lonlocal::locallocaltime($mtime).'</td>'); |
if ($select_mode ne 'true') { |
if ($select_mode ne 'true') { |
$r->print('<td><span class="LC_nobreak">'. |
$r->print('<td class="'.$css_class.'"> </td>'); # Display status |
&mt($curr_access).' '); |
$r->print('<td><span class="LC_nobreak">' |
|
.&mt($curr_access).' ' |
|
); |
my %anchor_fields = ( |
my %anchor_fields = ( |
'access' => $filename, |
'access' => $filename, |
'currentpath' => $current_path |
'currentpath' => $current_path |
); |
); |
$r->print(&make_anchor($url, \%anchor_fields, $access_admin_text).'</span></td>'); |
$r->print(&make_anchor($url, \%anchor_fields, $access_admin_text).'</span></td>'); |
|
} else { |
|
$r->print('<td class="'.$css_class.'"> </td>'); # Display status |
} |
} |
$r->print('</tr>'.$/); |
$r->print(&Apache::loncommon::end_data_table_row().$/); |
} |
} |
|
|
sub display_directory { |
sub display_directory { |
Line 308 sub display_directory {
|
Line 271 sub display_directory {
|
$display_out = '<form method="post" action="'.$url.'">'. |
$display_out = '<form method="post" action="'.$url.'">'. |
&group_form_data(). |
&group_form_data(). |
'<input type="hidden" name="action" value="deletedir" />'. |
'<input type="hidden" name="action" value="deletedir" />'. |
|
'<p>'. |
'<input type="submit" name="deletedir" value="'.&mt("Delete Directory").'" />'. |
'<input type="submit" name="deletedir" value="'.&mt("Delete Directory").'" />'. |
|
'</p>'. |
'<input type="hidden" name="selectfile" value="" />'. |
'<input type="hidden" name="selectfile" value="" />'. |
'<input type="hidden" name="currentpath" value="'.$current_path.'" />'. |
'<input type="hidden" name="currentpath" value="'.$current_path.'" />'. |
'</form>'; |
'</form>'; |
Line 318 sub display_directory {
|
Line 283 sub display_directory {
|
} |
} |
if ($select_mode eq 'true') { |
if ($select_mode eq 'true') { |
$r->print('<form method="post" name="checkselect" action="'.$url.'">'); |
$r->print('<form method="post" name="checkselect" action="'.$url.'">'); |
$r->print('<table id="LC_browser">'. |
$r->print(&Apache::loncommon::start_data_table() |
'<tr><th>Select</th><th> </th><th> </th><th>Name</th><th>Size</th><th>Last Modified</th></tr>'); |
.&Apache::loncommon::start_data_table_header_row() |
|
.'<th>'.&mt('Select').'</th>' |
|
.'<th> </th><th> </th>' |
|
.'<th>'.&mt('Name').'</th>' |
|
.'<th>'.&mt('Size').'</th>' |
|
.'<th>'.&mt('Last Modified').'</th>' |
|
.'<th> </th>' |
|
.&Apache::loncommon::end_data_table_header_row() |
|
); |
} else { |
} else { |
$r->print('<form method="post" action="'.$url.'">'); |
$r->print('<form method="post" action="'.$url.'">'); |
$r->print(&Apache::loncommon::help_open_topic('Portfolio FileList', |
$r->print(&Apache::loncommon::help_open_topic('Portfolio FileList', |
&mt('Using the portfolio file list'))); |
&mt('Using the portfolio file list'))); |
$r->print('<table id="LC_browser">'. |
$r->print(&Apache::loncommon::start_data_table() |
'<tr>' |
.&Apache::loncommon::start_data_table_header_row() |
.'<th colspan="2">'.&mt('Actions'). &Apache::loncommon::help_open_topic('Portfolio FileAction').'</th>' |
.'<th colspan="2">'.&mt('Actions'). &Apache::loncommon::help_open_topic('Portfolio FileAction').'</th>' |
.'<th> </th><th> </th>' |
.'<th> </th><th> </th>' |
.'<th>'.&mt('Name').&Apache::loncommon::help_open_topic('Portfolio OpenFile').'</th>' |
.'<th>'.&mt('Name').&Apache::loncommon::help_open_topic('Portfolio OpenFile').'</th>' |
.'<th>'.&mt('Size').'</th>' |
.'<th>'.&mt('Size').'</th>' |
.'<th>'.&mt('Last Modified').'</th>' |
.'<th>'.&mt('Last Modified').'</th>' |
|
.'<th> </th>' |
.'<th>'.&mt('Current Access Status').&Apache::loncommon::help_open_topic('Portfolio ShareFile').'</th>' |
.'<th>'.&mt('Current Access Status').&Apache::loncommon::help_open_topic('Portfolio ShareFile').'</th>' |
.'</tr>'); |
.&Apache::loncommon::end_data_table_header_row()); |
} |
} |
$r->print("\n".&group_form_data()."\n"); |
$r->print("\n".&group_form_data()."\n"); |
|
|
Line 390 sub display_directory {
|
Line 364 sub display_directory {
|
$version_flag = ' '; |
$version_flag = ' '; |
} |
} |
if ($dirptr&$testdir) { |
if ($dirptr&$testdir) { |
my $colspan='colspan="2"'; |
my $colspan_folder=''; |
|
my $colspan_fill=''; |
if ($select_mode eq 'true'){ |
if ($select_mode eq 'true'){ |
undef($colspan); |
$colspan_fill=' colspan="3"'; |
|
} else { |
|
$colspan_folder=' colspan="2"'; |
|
$colspan_fill=' colspan="4"'; |
} |
} |
$r->print('<tr class="LC_browser_folder"><td '.$colspan.'><img alt="'.&mt('closed folder').'" src="'.$iconpath.'folder_closed.gif" /></td>'); |
$r->print('<tr class="LC_browser_folder">'); |
$r->print('<td>'.&mt('Go to ...').'</td>'); |
$r->print('<td'.$colspan_folder.'><img alt="'.&mt('closed folder').'" src="'.$iconpath.'folder_closed.gif" /></td>' |
|
.'<td>'.&mt('Go to ...').'</td>'); |
my %anchor_fields = ( |
my %anchor_fields = ( |
'selectfile' => $filename.'/', |
'selectfile' => $filename.'/', |
'currentpath' => $current_path.$filename.'/', |
'currentpath' => $current_path.$filename.'/', |
Line 403 sub display_directory {
|
Line 382 sub display_directory {
|
'fieldname' => $env{"form.fieldname"}, |
'fieldname' => $env{"form.fieldname"}, |
'continue' => $env{"form.continue"} |
'continue' => $env{"form.continue"} |
); |
); |
$r->print('<td>'.$version_flag.'</td><td>'.&make_anchor($url,\%anchor_fields,$filename.'/').'</td>'); |
$r->print('<td>'.$version_flag.'</td>' |
|
.'<td>'.&make_anchor($url,\%anchor_fields,$filename.'/').'</td>'); |
|
$r->print('<td'.$colspan_fill.'> </td>'); |
$r->print('</tr>'); |
$r->print('</tr>'); |
} else { |
} else { |
my $css_class = 'LC_browser_file'; |
my $css_class = 'LC_browser_file'; |
Line 411 sub display_directory {
|
Line 392 sub display_directory {
|
if ($select_mode eq 'true') { |
if ($select_mode eq 'true') { |
$line='<td><input type="checkbox" name="checkfile" value="'.$filename.'"'; |
$line='<td><input type="checkbox" name="checkfile" value="'.$filename.'"'; |
if ($$checked_files{$filename} eq 'selected') { |
if ($$checked_files{$filename} eq 'selected') { |
$line.=" checked "; |
$line.=' checked="checked" '; |
} |
} |
$line.=' /></td>'; |
$line.=' /></td>'; |
} else { |
} else { |
Line 494 sub display_directory {
|
Line 475 sub display_directory {
|
} |
} |
} |
} |
if ($select_mode eq 'true') { |
if ($select_mode eq 'true') { |
$r->print('</table> |
$r->print(&Apache::loncommon::end_data_table().' |
<input type="hidden" name="continue" value="true" /> |
<input type="hidden" name="continue" value="true" /> |
<input type="hidden" name="fieldname" value="'.$env{'form.fieldname'}.'" /> |
<input type="hidden" name="fieldname" value="'.$env{'form.fieldname'}.'" /> |
<input type="hidden" name="mode" value="selectfile" /> |
<input type="hidden" name="mode" value="selectfile" /> |
<input type="submit" name="submit" value="Select checked files, and continue selecting." /><br /> |
<p> |
<input type="button" name="doit" onClick= "finishSelect();" value="Select checked files, and close window" /> |
<input type="submit" name="submit" value="'.&mt('Select checked files, and continue selecting').'" /><br /> |
|
<input type="button" name="doit" onClick= "finishSelect();" value="'.&mt('Select checked files, and close window').'" /> |
|
</p> |
<input type="hidden" name="currentpath" value="'.$current_path.'" /> |
<input type="hidden" name="currentpath" value="'.$current_path.'" /> |
</form>'); |
</form>'); |
} else { |
} else { |
$r->print('</table>'); |
$r->print(&Apache::loncommon::end_data_table()); |
if ($can_delete) { |
if ($can_delete) { |
$r->print(' |
$r->print(' |
|
<p> |
<input type="submit" name="doit" value="'.&mt('Delete Selected').'" />'. |
<input type="submit" name="doit" value="'.&mt('Delete Selected').'" />'. |
&Apache::loncommon::help_open_topic('Portfolio DeleteFile').' |
&Apache::loncommon::help_open_topic('Portfolio DeleteFile').' |
|
</p> |
<input type="hidden" name="action" value="delete" /> |
<input type="hidden" name="action" value="delete" /> |
<input type="hidden" name="currentpath" value="'.$current_path.'" /> |
<input type="hidden" name="currentpath" value="'.$current_path.'" /> |
</form>' |
</form>' |
Line 1794 ENDSMP
|
Line 1779 ENDSMP
|
</script> |
</script> |
ENDSMP |
ENDSMP |
$r->print($javascript); |
$r->print($javascript); |
$r->print("<h1>".&mt('Select portfolio files')."</h1>". |
$r->print("<h1>".&mt('Select portfolio files')."</h1>"); |
&mt('Check as many as you wish in response to the problem.')."<br />"); |
|
my @otherfiles=&Apache::lonnet::files_not_in_path($env{'user.name'}, $env{'form.currentpath'}); |
my @otherfiles=&Apache::lonnet::files_not_in_path($env{'user.name'}, $env{'form.currentpath'}); |
if (@otherfiles) { |
if (@otherfiles) { |
$r->print("<strong>".&mt('Files selected from other directories:')."</strong><br />"); |
$r->print(&Apache::loncommon::start_data_table() |
|
.&Apache::loncommon::start_data_table_header_row() |
|
.'<th>'.&mt('Files selected from other directories:')."</th>" |
|
.&Apache::loncommon::end_data_table_header_row() |
|
); |
foreach my $file (@otherfiles) { |
foreach my $file (@otherfiles) { |
$r->print($file."<br />"); |
$r->print(&Apache::loncommon::start_data_table_row() |
|
.'<td>'.$file."</td>" |
|
.&Apache::loncommon::end_data_table_row() |
|
); |
} |
} |
|
$r->print(&Apache::loncommon::end_data_table() |
|
.'<br />' |
|
); |
} |
} |
|
$r->print('<div>' |
|
.&mt('Check as many files as you wish in response to the problem:') |
|
.'</div>' |
|
); |
} |
} |
|
|
|
|
Line 2247 sub handler {
|
Line 2245 sub handler {
|
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |
$r->send_http_header; |
$r->send_http_header; |
# Give the LON-CAPA page header |
# Give the LON-CAPA page header |
|
my $brcrum = [{href=>"/adm/portfolio",text=>"Portfolio Manager"}]; |
|
|
if ($env{"form.mode"} eq 'selectfile'){ |
if ($env{"form.mode"} eq 'selectfile'){ |
$r->print(&Apache::loncommon::start_page($title,undef, |
$r->print(&Apache::loncommon::start_page($title,undef, |
{'only_body' => 1})); |
{'only_body' => 1})); |
Line 2254 sub handler {
|
Line 2254 sub handler {
|
$r->print(&Apache::loncommon::start_page('New role-based condition',undef, |
$r->print(&Apache::loncommon::start_page('New role-based condition',undef, |
{'no_nav_bar' => 1, })); |
{'no_nav_bar' => 1, })); |
} else { |
} else { |
$r->print(&Apache::loncommon::start_page($title)); |
$r->print(&Apache::loncommon::start_page($title,undef, |
|
{'bread_crumbs' => $brcrum})); |
} |
} |
$r->rflush(); |
$r->rflush(); |
if ($caller ne 'coursegrp_portfolio') { |
if (!&Apache::lonnet::usertools_access($uname,$udom,'portfolio')) { |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
$r->print('<h2>'.&mt('No user portfolio available') .'</h2>'. |
&Apache::lonhtmlcommon::add_breadcrumb({href=>"/adm/portfolio", |
&mt('This is a result of one of the following:').'<ul>'. |
text=>"Portfolio Manager"}); |
'<li>'.&mt('The administrator of this domain has disabled portfolio functionality for this specific user.').'</li>'. |
if (!&Apache::lonnet::usertools_access($uname,$udom,'portfolio')) { |
'<li>'.&mt('The domain has been configured to disable, by default, portfolio functionality for all users in the domain.').'</li>'. |
$r->print(&Apache::lonhtmlcommon::breadcrumbs()); |
'</ul>'); |
$r->print('<h2>'.&mt('No user portfolio available') .'</h2>'. |
$r->print(&Apache::loncommon::end_page()); |
&mt('This is a result of one of the following:').'<ul>'. |
return OK; |
'<li>'.&mt('The administrator of this domain has disabled portfolio functionality for this specific user.').'</li>'. |
|
'<li>'.&mt('The domain has been configured to disable, by default, portfolio functionality for all users in the domain.').'</li>'. |
|
'</ul>'); |
|
$r->print(&Apache::loncommon::end_page()); |
|
return OK; |
|
} else { |
|
$r->print(&Apache::lonhtmlcommon::breadcrumbs('Portfolio Manager')); |
|
} |
|
} |
} |
my ($blocked,$blocktext) = |
my ($blocked,$blocktext) = |
&Apache::loncommon::blocking_status('port',$uname,$udom); |
&Apache::loncommon::blocking_status('port',$uname,$udom); |
Line 2409 sub handler {
|
Line 2402 sub handler {
|
# need to know if directory is empty so it can be removed if desired |
# need to know if directory is empty so it can be removed if desired |
my $is_empty=(@dir_list == 2); |
my $is_empty=(@dir_list == 2); |
&display_common($r,$url,$current_path,$is_empty,\@dir_list, |
&display_common($r,$url,$current_path,$is_empty,\@dir_list, |
$can_upload,$group); |
$can_upload); |
&display_directory($r,$url,$current_path,$is_empty,\@dir_list,$group, |
&display_directory($r,$url,$current_path,$is_empty,\@dir_list,$group, |
$can_upload,$can_modify,$can_delete,$can_setacl); |
$can_upload,$can_modify,$can_delete,$can_setacl); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |