Diff for /loncom/interface/lonaboutme.pm between versions 1.17 and 1.18

version 1.17, 2003/09/21 21:40:06 version 1.18, 2003/10/04 20:49:40
Line 129  ENDDOCUMENT Line 129  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('Last updated: '.$lastmod);         $r->print(&mt('Last updated').': '.$lastmod);
        if ($syllabus{'uploaded.photourl'}) {         if ($syllabus{'uploaded.photourl'}) {
    $r->print('<img src="'.     $r->print('<img src="'.
              &Apache::lonnet::tokenwrapper($syllabus{'uploaded.photourl'}).               &Apache::lonnet::tokenwrapper($syllabus{'uploaded.photourl'}).
Line 139  ENDDOCUMENT Line 139  ENDDOCUMENT
        if ($allowed) {         if ($allowed) {
            $r->print(             $r->print(
  '<form method="post" enctype="multipart/form-data">'.   '<form method="post" enctype="multipart/form-data">'.
          '<h3>Upload a Photo</h3>'.           '<h3>'.&mt('Upload a Photo').'</h3>'.
          '<input type="file" name="uploaddoc" size="50">'.           '<input type="file" name="uploaddoc" size="50">'.
          '<input type="submit" name="storeupl" value="Upload">'.           '<input type="submit" name="storeupl" value="Upload">'.
  '</form><form method="post">');   '</form><form method="post">');

Removed from v.1.17  
changed lines
  Added in v.1.18


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