changeset 1533:a0bc6cf91e5d

fix theme code for action=print
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 05 Sep 2006 15:34:55 +0200
parents 5e7dd6dd485a
children 8a53c6676240
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Tue Sep 05 03:22:54 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Tue Sep 05 15:34:55 2006 +0200
@@ -1537,7 +1537,11 @@
 
         # If in print mode, start page div and emit the title
         if keywords.get('print_mode', 0):
-            d = {'title_text': text, 'page': page, }
+            d = {
+                'title_text': text,
+                'page': page,
+                'page_name': pagename or '',
+            }
             request.themedict = d
             output.append(self.startPage())
             output.append(self.interwiki(d))