Diff for /loncom/xml/lonxml.pm between versions 1.473.2.1 and 1.474

version 1.473.2.1, 2008/03/21 18:52:28 version 1.474, 2008/03/12 02:46:03
Line 1121  sub init_counter { Line 1121  sub init_counter {
 }  }
   
 sub store_counter {  sub store_counter {
     &Apache::lonnet::appenv(('form.counter' => $Apache::lonxml::counter));      &Apache::lonnet::appenv({'form.counter' => $Apache::lonxml::counter});
     $Apache::lonxml::counter_changed=0;      $Apache::lonxml::counter_changed=0;
     return '';      return '';
 }  }
Line 1142  sub store_counter { Line 1142  sub store_counter {
   
     sub restore_problem_counter {      sub restore_problem_counter {
  if (defined($state)) {   if (defined($state)) {
     &Apache::lonnet::appenv(('form.counter' => $state));      &Apache::lonnet::appenv({'form.counter' => $state});
  }   }
     }      }
     sub get_problem_counter {      sub get_problem_counter {
Line 1379  sub writeallows { Line 1379  sub writeallows {
          &Apache::lonnet::hreflocation($thisdir,&unescape($_))}=$thisurl;           &Apache::lonnet::hreflocation($thisdir,&unescape($_))}=$thisurl;
     }      }
     @extlinks=();      @extlinks=();
     &Apache::lonnet::appenv(%httpref);      &Apache::lonnet::appenv(\%httpref);
 }  }
   
 sub register_ssi {  sub register_ssi {
Line 1559  FULLPAGE Line 1559  FULLPAGE
       my $form_events     = &Apache::edit::form_change_detection();        my $form_events     = &Apache::edit::form_change_detection();
       my $htmlerror=&verify_html($filecontents);        my $htmlerror=&verify_html($filecontents);
       if ($htmlerror) {        if ($htmlerror) {
          $htmlerror='<span class="LC_error">'.$htmlerror.'</span>';           $htmlerror='<span class="LC_error">'.$htmlerror.'</span></p>';
       }        }
       my $editfooter=(<<ENDFOOTER);        my $editfooter=(<<ENDFOOTER);
 $initialize  $initialize

Removed from v.1.473.2.1  
changed lines
  Added in v.1.474


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