version 1.135, 2009/05/30 20:41:34
|
version 1.136, 2009/05/30 21:52:30
|
Line 281 sub handler {
|
Line 281 sub handler {
|
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$r->print('<div class="LC_ContentBoxSpecial">'); |
$r->print('<div class="LC_ContentBoxSpecial">'); |
$r->print('<h2 class="LC_hcell">'.&Apache::loncommon::plainname($cnum,$cdom).'</h2>'); |
$r->print('<h2 class="LC_hcell">'.&Apache::loncommon::plainname($cnum,$cdom).'</h2>'); |
$r->print('<div class="LC_BoxPadding">' ); |
|
if ($courseenv{'nickname'}) { |
if ($courseenv{'nickname'}) { |
$r->print('<h2>"'.$courseenv{'nickname'}.'"</h2>'); |
$r->print('<h2>"'.$courseenv{'nickname'}.'"</h2>'); |
} |
} |
Line 413 sub handler {
|
Line 412 sub handler {
|
} |
} |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$r->print('</div>'); |
$r->print('</div>'); |
$r->print('</div>'); |
|
if ($env{'form.popup'}) { |
if ($env{'form.popup'}) { |
$r->print('<p><a href="javascript:window.close()">'.&mt('Close window').'</a>'); |
$r->print('<p><a href="javascript:window.close()">'.&mt('Close window').'</a>'); |
} |
} |
Line 478 sub print_portfiles_link {
|
Line 476 sub print_portfiles_link {
|
); |
); |
if ($filecounts->{'both'} > 0) { |
if ($filecounts->{'both'} > 0) { |
$output = '<div class="LC_ContentBoxSpecial"><h4 class="LC_hcell">'; |
$output = '<div class="LC_ContentBoxSpecial"><h4 class="LC_hcell">'; |
$output .= ($is_course?$lt{'vgpf'}:$lt{'vpfi'}).'</h4><div class="LC_BoxPadding">'; |
$output .= ($is_course?$lt{'vgpf'}:$lt{'vpfi'}).'</h4>'; |
|
|
#$output = '<h4>'.($is_course?$lt{'vgpf'}:$lt{'vpfi'}).'</h4>'; |
#$output = '<h4>'.($is_course?$lt{'vgpf'}:$lt{'vpfi'}).'</h4>'; |
$output .= '<a href="/adm/'.$cdom.'/'.$cnum.'/aboutme/portfolio'. |
$output .= '<a href="/adm/'.$cdom.'/'.$cnum.'/aboutme/portfolio'. |
Line 504 sub print_portfiles_link {
|
Line 502 sub print_portfiles_link {
|
$output .= '<li>'.&mt('[quant,_1,file requires,files require] a passphrase for access.',$filecounts->{'withpass'}).'</li>'; |
$output .= '<li>'.&mt('[quant,_1,file requires,files require] a passphrase for access.',$filecounts->{'withpass'}).'</li>'; |
} |
} |
$output .= '</ul>'; |
$output .= '</ul>'; |
$output .='</p>'; |
$output .= '</div>'; |
$output .='</div></div>'; |
|
} |
} |
$r->print($output); |
$r->print($output); |
return; |
return; |