From: Carsten K. <car...@ma...> - 2002-03-25 14:24:08
|
Hi John, To delete the $Id output from the html pages, remove the one line which reads <?=$RCS_IDS?> from phpwiki/themes/default/templates/top.tmpl, near the bottom of the page: </head> <?= Template('body') ?> <!-- phpwiki source: <?=$RCS_IDS?> --> </html> Alternatively you can add two lines to display the RCS_IDs only when debugging is turned on according to this patch (which I will check into the repository): Index: top.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/top.tmpl,v retrieving revision 1.12 diff -U2 -r1.12 top.tmpl --- top.tmpl 21 Feb 2002 21:18:30 -0000 1.12 +++ top.tmpl 25 Mar 2002 14:18:59 -0000 @@ -94,6 +94,8 @@ </head> <?= Template('body') ?> +<?php if (defined('DEBUG')) { ?> <!-- phpwiki source: <?=$RCS_IDS?> --> +<?php } ?> </html> On Friday, March 22, 2002, at 05:33 am, John Kershaw wrote: > Hi all, > > Couple of questions: > > a) is there an easy way to remove all the version info that comes at the > top of every page? On some pages it's doubling the size of the html > source. > > <!-- phpwiki source: > $Id: browse.html,v 1.30 2001/12/19 15:54:29 carstenklapp Exp $ > $Id: prepend.php,v 1.5 2001/11/21 19:46:50 dairiki Exp $ > $Id: ErrorManager.php,v 1.4 2001/12/13 05:06:06 dairiki Exp $ > $Id: WikiCallback.php,v 1.2 2001/11/21 20:01:52 dairiki Exp $ > > b) I'm running 1.3.2 with mods on several sites. I had a look at 1.3.3 > but it looks pretty different. Could someone point me towards information > on upgrading? I couldn't find any on the wiki. > > John. > -- > --------------------------------------------------------- > email: jo...@ke... phone: 07944 755613 > web: www.kershaw.org AOL: johnkershaw > --------------------------------------------------------- |