Diff for /loncom/interface/lonsyllabus.pm between versions 1.23 and 1.25

version 1.23, 2003/09/17 19:45:39 version 1.25, 2003/10/04 20:49:40
Line 39  use Apache::lonlocal; Line 39  use Apache::lonlocal;
   
 sub handler {  sub handler {
     my $r = shift;      my $r = shift;
     $r->content_type('text/html');      &Apache::loncommon::content_type($r,'text/html');
     $r->send_http_header;      $r->send_http_header;
     return OK if $r->header_only;      return OK if $r->header_only;
   
Line 176  ENDDOCUMENT Line 176  ENDDOCUMENT
 # ---------------------------------------------------------------- Get syllabus  # ---------------------------------------------------------------- Get syllabus
     if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {      if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {
        my $lastmod=$syllabus{'uploaded.lastmodified'};         my $lastmod=$syllabus{'uploaded.lastmodified'};
        $lastmod=($lastmod?localtime($lastmod):'never');         $lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never'));
   
        $r->print('<table><tr><td>'.&mt('Uploaded').':</td><td>'.         $r->print('<table><tr><td>'.&mt('Uploaded').':</td><td>'.
  &Apache::loncommon::aboutmewrapper(   &Apache::loncommon::aboutmewrapper(
  &Apache::loncommon::plainname($syllabus{'uploaded.name'},   &Apache::loncommon::plainname($syllabus{'uploaded.name'},
                      $syllabus{'uploaded.domain'}),$syllabus{'uploaded.name'},                       $syllabus{'uploaded.domain'}),$syllabus{'uploaded.name'},
                      $syllabus{'uploaded.domain'}).                       $syllabus{'uploaded.domain'}).
  '</td></tr><tr><td>Last updated:</td><td>'.   '</td></tr><tr><td>'.&mt('Last updated').':</td><td>'.
                      $lastmod.                       $lastmod.
                      '</td></tr></table><p>');                       '</td></tr></table><p>');
        if ($allowed) {         if ($allowed) {

Removed from v.1.23  
changed lines
  Added in v.1.25


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