[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/security/browser/
Forgot to include '@@' in last commit.
Garrett Smith
garrett at mojave-corp.com
Sat Feb 5 18:54:54 EST 2005
Log message for revision 29059:
Forgot to include '@@' in last commit.
Changed:
U Zope3/trunk/src/zope/app/security/browser/auth.py
U Zope3/trunk/src/zope/app/security/browser/loginlogout.txt
-=-
Modified: Zope3/trunk/src/zope/app/security/browser/auth.py
===================================================================
--- Zope3/trunk/src/zope/app/security/browser/auth.py 2005-02-05 23:35:39 UTC (rev 29058)
+++ Zope3/trunk/src/zope/app/security/browser/auth.py 2005-02-05 23:54:54 UTC (rev 29059)
@@ -127,10 +127,10 @@
def __call__(self):
if IUnauthenticatedPrincipal.providedBy(self.request.principal):
- page = 'login.html'
+ page = '@@login.html'
label = _('[Login]')
else:
- page = 'logout.html'
+ page = '@@logout.html'
label = _('[Logout]')
return '<a href="%s?nextURL=%s">%s</a>' % (
page, urllib.quote(self.request.getURL()), label)
Modified: Zope3/trunk/src/zope/app/security/browser/loginlogout.txt
===================================================================
--- Zope3/trunk/src/zope/app/security/browser/loginlogout.txt 2005-02-05 23:35:39 UTC (rev 29058)
+++ Zope3/trunk/src/zope/app/security/browser/loginlogout.txt 2005-02-05 23:54:54 UTC (rev 29059)
@@ -25,7 +25,7 @@
>>> request = TestRequest()
>>> request.setPrincipal(anonymous)
>>> LoginLogout(None, request)()
- u'<a href="login.html?nextURL=http%3A//127.0.0.1">[Login]</a>'
+ u'<a href="@@login.html?nextURL=http%3A//127.0.0.1">[Login]</a>'
When LoginLogout is used for a request that has an authenticated principal:
@@ -43,4 +43,4 @@
it provides the user with a link to 'Logout':
>>> LoginLogout(None, request)()
- u'<a href="logout.html?nextURL=http%3A//127.0.0.1">[Logout]</a>'
+ u'<a href="@@logout.html?nextURL=http%3A//127.0.0.1">[Logout]</a>'
More information about the Zope3-Checkins
mailing list