From: Reini U. <ru...@us...> - 2007-09-22 12:37:56
|
Update of /cvsroot/phpwiki/phpwiki/themes/default/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12225 Modified Files: addcomment.tmpl pagelink.tmpl Log Message: remove form and pagelinks from htmldump Index: addcomment.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/addcomment.tmpl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -2 -b -p -d -r1.6 -r1.7 --- addcomment.tmpl 20 Jan 2007 11:23:47 -0000 1.6 +++ addcomment.tmpl 22 Sep 2007 12:37:55 -0000 1.7 @@ -4,4 +4,5 @@ ?> <div class="wikicomment wikicomment-form"> +<?php if (!$WikiTheme->DUMP_MODE) { ?> <form action="<?=$request->getPostURL()?>" method="post" class="wikiaction" accept-charset="<?=CHARSET?>"> @@ -18,3 +19,4 @@ _("Add Comment") </table> </form> +<?php } ?> </div> Index: pagelink.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/pagelink.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -2 -b -p -d -r1.2 -r1.3 --- pagelink.tmpl 25 Aug 2007 19:55:06 -0000 1.2 +++ pagelink.tmpl 22 Sep 2007 12:37:55 -0000 1.3 @@ -8,4 +8,8 @@ * More ideas: FIRST, LAST, ... */ +if ($WikiTheme->DUMP_MODE) { + $PREF = false; + $NEXT = false; +} ?> <tr><td width="100%" colspan="<?= $COLS ?>"><table width="100%"><tr class="wikipaging"> |