version 1.177, 2007/03/03 01:33:21
|
version 1.180, 2007/06/11 17:13:30
|
Line 1014 sub update_access {
|
Line 1014 sub update_access {
|
} else { |
} else { |
if ((@{$processing{'activate'}} > 0) || (@{$processing{'update'}} > 0)) { |
if ((@{$processing{'activate'}} > 0) || (@{$processing{'update'}} > 0)) { |
$errors .= '<span class="LC_error">'. |
$errors .= '<span class="LC_error">'. |
&mt('A problem occurred storing access control settings: [_1]',$outcome). |
&mt('A problem occurred saving access control settings: [_1]',$outcome). |
'</span>'; |
'</span>'; |
} |
} |
} |
} |
Line 1347 sub display_access_row {
|
Line 1347 sub display_access_row {
|
'</th>'); |
'</th>'); |
$colspan ++; |
$colspan ++; |
} elsif ($type eq 'domains') { |
} elsif ($type eq 'domains') { |
@all_doms = &Apache::lonnet::all_domains(); |
@all_doms = sort(&Apache::lonnet::all_domains()); |
} |
} |
$r->print(&Apache::loncommon::end_data_table_header_row()); |
$r->print(&Apache::loncommon::end_data_table_header_row()); |
foreach my $key (@{$items}) { |
foreach my $key (@{$items}) { |
Line 1830 sub upload {
|
Line 1830 sub upload {
|
<input type="hidden" name="mode" value="$env{'form.mode'}" /> |
<input type="hidden" name="mode" value="$env{'form.mode'}" /> |
STATE |
STATE |
$r->print("<p>Completed upload of the file. This file contained references to other files. You can upload these now: </p>"); |
$r->print("<p>Completed upload of the file. This file contained references to other files. You can upload these now: </p>"); |
$r->print(&Apache::londocs::ask_for_embedded_content('/adm/portfolio',$state,\%allfiles,\%codebase,{'error_on_invalid_names' => 1})); |
$r->print(&Apache::londocs::ask_for_embedded_content('/adm/portfolio',$state,\%allfiles,\%codebase, |
|
{'error_on_invalid_names' => 1, |
|
'ignore_remote_references' => 1,})); |
$r->print('<p>Or '.&done('Return to directory listing',$url).'</p>'); |
$r->print('<p>Or '.&done('Return to directory listing',$url).'</p>'); |
} else { |
} else { |
$r->print(&done(undef,$url)); |
$r->print(&done(undef,$url)); |