diff MoinMoin/theme/__init__.py @ 297:fe57f191672e

make login/logout showing configurable, update CHANGES imported from: moin--main--1.5--patch-301
author Thomas Waldmann <tw@waldmann-edv.de>
date Tue, 06 Dec 2005 22:08:55 +0000
parents 4e08178a630c
children 6c74345f4d55
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Tue Dec 06 22:00:52 2005 +0000
+++ b/MoinMoin/theme/__init__.py	Tue Dec 06 22:08:55 2005 +0000
@@ -223,7 +223,7 @@
             title = preferencesPage.split_title(request)
             userlinks.append(preferencesPage.link_to(request, text=title))
             
-        if 1: # XXX request.cfg.user_login_show:
+        if request.cfg.show_login:
             if request.user.valid:
                 #loghtml = preferencesPage.link_to(request, text=_("Logout"))
                 userlinks.append("""\