Diff for /loncom/interface/lonaboutme.pm between versions 1.80 and 1.82

version 1.80, 2008/12/09 22:16:23 version 1.82, 2008/12/10 21:46:58
Line 167  sub handler { Line 167  sub handler {
   
     if ($is_course) {      if ($is_course) {
         if ($target ne 'tex') {          if ($target ne 'tex') {
    my @brcrum = [{href=>"/adm/navmaps",text=>"Navigate Course Contents"},
    {href=>"/adm/aboutme",text=>"Course Information"}];
             my $start_page =              my $start_page =
                 &Apache::loncommon::start_page(                  &Apache::loncommon::start_page(
                     "Course Information",                      "Course Information",
                      undef,                       undef,
                      {'function' => $env{'forcestudent'},                       {'function' => $env{'forcestudent'},
                       'domain'   => $cdom,                        'domain'   => $cdom,
                       'force_register' => $env{'forceregister'},});                        'force_register' => $env{'forceregister'},
      bread_crumbs => @brcrum});
             $r->print($start_page);              $r->print($start_page);
             $r->print('<h2>'.&mt('Group files').'</h2>');              $r->print('<h2>'.&mt('Group files').'</h2>');
             &print_portfiles_link($r,$is_course);              &print_portfiles_link($r,$is_course);
Line 201  sub handler { Line 204  sub handler {
         if ($env{'form.popup'}) {          if ($env{'form.popup'}) {
             $args->{'no_nav_bar'} = 1;              $args->{'no_nav_bar'} = 1;
         }          }
    $args->{'bread_crumbs'} = [{href=>"/adm/fhwfdev/$cnum/aboutme",text=>"Personal Information"}];
  my $start_page =    my $start_page = 
     &Apache::loncommon::start_page("Personal Information",$rss_link,$args);      &Apache::loncommon::start_page("Personal Information",$rss_link,$args);
  $r->print($start_page);   $r->print($start_page);
Line 304  my $image; Line 308  my $image;
  &Apache::lontemplate::print_content_template($r,$allowed,$target,\%syllabusfields,\%syllabus);   &Apache::lontemplate::print_content_template($r,$allowed,$target,\%syllabusfields,\%syllabus);
        if($target ne 'tex')         if($target ne 'tex')
        {         {
  &Apache::lontemplate::print_image($r,$image);   &Apache::lontemplate::start_ContentBox($r);
   &print_portfiles_link($r,$is_course);   $r->print($image);
       $r->print('</div>');   &Apache::lontemplate::send_message($r,$cnum,$cdom);
  $r->print('<p>');   &Apache::lontemplate::end_ContentBox($r);
            &Apache::lontemplate::end_columnSection($r);
    &Apache::lontemplate::start_columnSection($r);
  $r->print('Kontakt');   &Apache::lontemplate::start_ContentBox($r);
  $r->print(&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom).'</p>'.&Apache::lonrss::advertisefeeds($cnum,$cdom));   &print_portfiles_link($r,$is_course);
    if(&Apache::lonrss::advertisefeeds($cnum,$cdom) ne ''){
    $r->print('<div class="ContentBoxSpecial">');
    $r->print('<h4 class="hcell">'.'RSS Feeds and Blogs'.'</h4>');
    $r->print(&Apache::lonrss::advertisefeeds($cnum,$cdom));
    $r->print('</div>');
    }
    &Apache::lontemplate::end_ContentBox($r);
    &Apache::lontemplate::end_columnSection($r);
        }         }
   
        if ($allowed) {         if ($allowed) {
Line 365  my $image; Line 375  my $image;
             $r->print('<p><a href="javascript:window.close()">'.&mt('Close window').'</a>');              $r->print('<p><a href="javascript:window.close()">'.&mt('Close window').'</a>');
         }          }
  $r->print('<br />'.&mt('Last updated').': '.$lastmod);   $r->print('<br />'.&mt('Last updated').': '.$lastmod);
  &Apache::lontemplate::end_columnSection($r);  
  $r->print(&Apache::loncommon::end_page());   $r->print(&Apache::loncommon::end_page());
     } else {      } else {
  $r->print('\end{document}');   $r->print('\end{document}');
Line 454  sub print_portfiles_link { Line 463  sub print_portfiles_link {
         }          }
         $output .= '</ul>';          $output .= '</ul>';
  $output .='</p>';   $output .='</p>';
    $output .='</div>';
     }      }
     $r->print($output);      $r->print($output);
     return;      return;

Removed from v.1.80  
changed lines
  Added in v.1.82


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>