diff MoinMoin/theme/__init__.py @ 1339:544b931cd965

new setting url_prefix_action, cleanup page.url/link_to, wikiutil.link_tag
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 Aug 2006 13:50:27 +0200
parents 760002b5ffa3
children f4558797325a
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Fri Aug 18 23:41:37 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Sun Aug 20 13:50:27 2006 +0200
@@ -524,9 +524,7 @@
 
         if isinstance(msg, (str, unicode)):
             # Render simple strings with a close link
-            close = d['page'].link_to(self.request,
-                                      text=_('Clear message'),
-                                      querystr={'action': 'show'})
+            close = d['page'].link_to(self.request, text=_('Clear message'))
             html = u'<p>%s</p>\n<div class="buttons">%s</div>\n' % (msg, close)
         else:
             # msg is a widget