Diff for /loncom/publisher/lonpublisher.pm between versions 1.188 and 1.189

version 1.188, 2005/03/10 03:50:49 version 1.189, 2005/03/15 16:09:20
Line 2012  ENDDIFF Line 2012  ENDDIFF
   
  unless ($ENV{'form.phase'} eq 'two') {   unless ($ENV{'form.phase'} eq 'two') {
 # ---------------------------------------------------------- Parse for problems  # ---------------------------------------------------------- Parse for problems
     my ($warningcount,$errorcount)=&checkonthis($r,$thisfn);      my ($warningcount,$errorcount);
             unless ($errorcount) {      if ($thisembstyle eq 'ssi') {
    ($warningcount,$errorcount)=&checkonthis($r,$thisfn);
       }
       unless ($errorcount) {
  my ($outstring,$error)=   my ($outstring,$error)=
     &publish($thisfn,$thistarget,$thisembstyle);      &publish($thisfn,$thistarget,$thisembstyle);
  $r->print('<hr />'.$outstring);   $r->print('<hr />'.$outstring);
     } else {      } else {
                 $r->print('<h3>'.   $r->print('<h3>'.
  &mt('The document contains errors and cannot be published.').    &mt('The document contains errors and cannot be published.').
   '</h3>');    '</h3>');
     }      }
  } else {   } else {

Removed from v.1.188  
changed lines
  Added in v.1.189


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