Diff for /loncom/interface/lonsimplepage.pm between versions 1.52 and 1.55

version 1.52, 2007/09/10 19:22:22 version 1.55, 2008/01/28 10:37:33
Line 286  sub handler { Line 286  sub handler {
       '<h3>Upload a Photo</h3>'.        '<h3>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">'.
                         '<input type="hidden" name="forceedit" value="edit" />');
  }   }
  foreach my $field (sort(keys(%syllabusfields))) {   foreach my $field (sort(keys(%syllabusfields))) {
     if (($syllabus{$field}) || ($allowed) ||       if (($syllabus{$field}) || ($allowed) || 
Line 298  sub handler { Line 299  sub handler {
  if ($allowed) {   if ($allowed) {
     $message=&Apache::lonspeller::markeduptext($message);      $message=&Apache::lonspeller::markeduptext($message);
  }   }
  $message=&Apache::lontexconvert::msgtexconverted($message);   if ($target ne 'tex') {
       $message=&Apache::lontexconvert::msgtexconverted($message);
    }
                 if ($field eq 'abb_links' && $group ne '') {                  if ($field eq 'abb_links' && $group ne '') {
                     $r->print('<br /><input type="hidden" name="'.$field.                      $r->print('<br /><input type="hidden" name="'.$field.
                                           '" value="'.$syllabus{$field}.'" />');                                            '" value="'.$syllabus{$field}.'" />');

Removed from v.1.52  
changed lines
  Added in v.1.55


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