diff MoinMoin/theme/__init__.py @ 2987:c817a9c0d0e5

navi_bar: highlight correct tab for the current page for i18ned system pages (port from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 06 Jan 2008 16:05:36 +0100
parents 49b9e807a51d
children 82ac2b1b1a05
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sun Jan 06 16:04:20 2008 +0100
+++ b/MoinMoin/theme/__init__.py	Sun Jan 06 16:05:36 2008 +0100
@@ -369,6 +369,8 @@
         else:
             page = Page(request, pagename)
 
+        pagename = page.page_name # can be different, due to i18n
+
         if not title:
             title = page.split_title()
             title = self.shortenPagename(title)