Pascal Giard (QC/EMC) schrieb:
> That's probably too expensive. I think of something simplier, just
> passing $errmsg to the page, and redirecting. See the bottom.
i don't understand the purpose of $errmsg...
is that in order to display that the page has been updated, once we're
redirected ?
Yes. And it is currently called $redirected, not $errmsg. Sorry.
> > btw, i don't understand why the php parser doesn't like:
> > $page->getCurrentRevision()->getTransformedContent()
>
> php4 is not really a truly parsed language yet, just a simple but
> efficient hack. you need php5 or perl or java for such
> advanced syntax features :)
oh! i dumbly assumed i could use my perlish reflexes.
> It should, but I have no time to write yet another basic
> msg-formatter.
> After the pending 1.3.11 release.
Sorry, it is already there: fmt() does the magic with sprintf-like
HtmlContent objects.
...
PS: is your experimental phpwiki installation publicly accessible ? i'm
just curious to see what you've been working on.
phpwiki.sf.net/demo/ is updated occasionally. my own machines are behind
a firewall.
sf.net stopped cron, and I haven't yet setup up my remote cron update
for the demo site. Before july it got updated daily from CVS.
I waited for the new machines which they announced last month, but you
shouldn't trust announced dates. This is IT business. Oh my.
PS²: isn't doc/CREDITS out of date, you're not even there!!
uups.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
|