version 1.147, 2010/09/26 02:02:42
|
version 1.149, 2012/10/04 13:41:10
|
Line 121 sub handler {
|
Line 121 sub handler {
|
$r->print('\noindent{\large\textbf{'.&mt('No user personal information page available').'}}\\\\\\\\'); |
$r->print('\noindent{\large\textbf{'.&mt('No user personal information page available').'}}\\\\\\\\'); |
} else { |
} else { |
$r->print(&Apache::loncommon::start_page("Personal Information Page")); |
$r->print(&Apache::loncommon::start_page("Personal Information Page")); |
$r->print('<h2>'.&mt('No user personal information page available') .'</h2>'. |
$r->print('<p class="_LC_info">'.&mt('No user personal information page available') .'</p>'. |
&mt('This is a result of one of the following:').'<ul>'. |
&mt('This is a result of one of the following:').'<ul>'. |
'<li>'.&mt('The administrator of this domain has disabled personal information page functionality for this specific user.').'</li>'. |
'<li>'.&mt('The administrator of this domain has disabled personal information page functionality for this specific user.').'</li>'. |
'<li>'.&mt('The domain has been configured to disable, by default, personal information page functionality for all users in the domain.').'</li>'. |
'<li>'.&mt('The domain has been configured to disable, by default, personal information page functionality for all users in the domain.').'</li>'. |
Line 409 sub handler {
|
Line 409 sub handler {
|
} |
} |
if ($target ne 'tex') {$r->print('<br />');} else {$r->print('\\\\');} |
if ($target ne 'tex') {$r->print('<br />');} else {$r->print('\\\\');} |
} else { |
} else { |
$r->print('<p>'.&mt('No personal information provided').'.</p>'); |
$r->print('<p class="LC_info">'.&mt('No personal information provided').'.</p>'); |
} |
} |
|
|
if ($env{'request.course.id'} |
if ($env{'request.course.id'} |
Line 777 sub parse_directory {
|
Line 777 sub parse_directory {
|
my $portfolio_root = &Apache::portfolio::get_portfolio_root($cdom,$cnum, |
my $portfolio_root = &Apache::portfolio::get_portfolio_root($cdom,$cnum, |
$group); |
$group); |
my $getpropath = 1; |
my $getpropath = 1; |
my %dirlist = map { |
my ($listref,$listerror) = |
((split('&',$_,2))[0],1) |
&Apache::lonnet::dirlist($portfolio_root.$path,$cdom,$cnum,$getpropath); |
} &Apache::lonnet::dirlist($portfolio_root.$path,$cdom,$cnum,$getpropath); |
my %dirlist; |
|
if (ref($listref) eq 'ARRAY') { |
|
%dirlist = map { ((split('&',$_,2))[0],1) } @{$listref}; |
|
} |
foreach my $item (sort(keys(%{$currhash}))) { |
foreach my $item (sort(keys(%{$currhash}))) { |
$output .= &Apache::loncommon::start_data_table_row(); |
$output .= &Apache::loncommon::start_data_table_row(); |
$output .= '<td style="padding-left: '.($depth*25).'px">'; |
$output .= '<td style="padding-left: '.($depth*25).'px">'; |