[Pmwiki-users] RevisionMarks - How do I activate them?

John Rankin john.rankin
Mon Oct 27 13:30:15 CST 2003


Please note: the new line needs to read:

  if (!isset($hide)) $hide = $HTTP_GET_VARS['hide'];

Because:

The printable version and publish scripts set $hide = 1 to hide
revision marks in pages formatted for printing. For this to work,
revisions.php must load *after* printable version and publish.

My apologies for any confusion.

JR
-- 
John Rankin

On Friday, 24 October 2003 10:26 PM, Carlo Strozzi <carlos at linux.it> wrote:
On Fri, Oct 24, 2003 at 09:02:22AM +1300, John Rankin wrote:
> Joh, see attached script and include it in your local.php file.

Hi,
the revisions.php script didn't work for me, until I added the following
at the beginning:

    $hide = $HTTP_GET_VARS['hide'];

I'm running PHP as a CGI on my server, in case that matters.
Apart from that, the script works beatifully, thanks!

bye,
Carlo
-- 
Per la libert? di Impresa: http://www.scriptaworks.com/swpat/
Freedom for Business: http://swpat.ffii.org

_______________________________________________
Pmwiki-users mailing list
Pmwiki-users at pmichaud.com
http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com




_______________________________________________
Pmwiki-users mailing list
Pmwiki-users at pmichaud.com
http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com






More information about the pmwiki-users mailing list