Diff for /loncom/interface/lonaboutme.pm between versions 1.135 and 1.136

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>&quot;'.$courseenv{'nickname'}.'&quot;</h2>');                 $r->print('<h2>&quot;'.$courseenv{'nickname'}.'&quot;</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;

Removed from v.1.135  
changed lines
  Added in v.1.136


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.