Re: updated files Zoom.

Brook Humphrey <[email protected]>
Newsgroups gmane.comp.web.envolution.devel
Organization Mobile PC Medic
Message-ID <[email protected]>
On Thursday 29 August 2002 12:33 pm, Scott Kindley wrote:
> On Thu, 2002-08-29 at 13:33, royce holden wrote:
> > So, If I wanted to test this too, I'd install RC6 then overwrite files
> > with the ones in your attached update package?
> >
> > Brook Humphrey ([email protected]) wrote*:
> > >I updated ak's fixes with your aditions to the newdat.php. Then I
> > > checked therest of aks fixes to see if they matched the release files
> > > for rc6. These are the files left that need to be updated from ak's
> > > fixes. Also included is a PNapi fix for thml entities that I included.
> > >
> > >Hope this helps some. I'll be installing rc6 in a few I'll let you know
> > > how it goe's and if these files are keepers.
> > >--
>
> I may be wrong...(it was a late night last night)...but I think I
> already included them in RC6

I checked the files by hand and the ones I left were different than the ones 
in rc6. There were two I think that  I deleted because they differed.

The only file changed was newdat.php and for that I merged them.

>
> Except for the pnAPI fix which will be in RC7

This is the api fix for html entities.

Try this addition to includes/pnAPI.php: 
*** 638,643 ****
--- 638,644 ----
          // Fix entities if required
          if (pnConfigGetVar('htmlentities')) {
              $ourvar = preg_replace('/&#/', '&#', $ourvar);
+             $ourvar = preg_replace('/&amp;nbsp;/', '&nbsp;', $ourvar);
          }
  
          // Add to array

 (Don't read the source code, or you'll get confused. ;-) 



-- 
 -~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
                                      Brook Humphrey           
        Mobile PC Medic, 420 1st, Cheney, WA 99004, 509-235-9107        
http://www.webmedic.net, [email protected], [email protected]   
                                 Holiness unto the Lord
 -~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.