changeset 2042:4fc338f01037

WantedPages: cycle toggle allpages
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 19 May 2007 20:38:05 +0200
parents fa0bec111fdf
children cc636ac8d6a6
files MoinMoin/macro/WantedPages.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/WantedPages.py	Tue May 22 11:45:16 2007 +0200
+++ b/MoinMoin/macro/WantedPages.py	Sat May 19 20:38:05 2007 +0200
@@ -26,7 +26,7 @@
     label = (_('Include system pages'), _('Exclude system pages'))[allpages]
     page = macro.formatter.page
     controlbar = macro.formatter.div(1, css_class="controlbar") + \
-                 page.link_to(request, label, querystr={'allpages': '%d' % allpages and '0' or '1'}) + \
+                 page.link_to(request, label, querystr={'allpages': '%s' % (allpages and '0' or '1')}) + \
                  macro.formatter.div(0)
 
     # Get page dict readable by current user