1.1 --- a/XSLForms/Resources/Login.py Fri Jun 01 23:17:45 2007 +0000
1.2 +++ b/XSLForms/Resources/Login.py Fri Jun 01 23:38:37 2007 +0000
1.3 @@ -98,6 +98,7 @@
1.4 # Start the response.
1.5
1.6 trans.set_content_type(ContentType("application/xhtml+xml"))
1.7 + stylesheet_parameters = {}
1.8 references = {}
1.9
1.10 # Set up translations.
1.11 @@ -110,7 +111,7 @@
1.12 except IndexError:
1.13 language = "en"
1.14
1.15 - stylesheet_parameters = {"locale" : language}
1.16 + stylesheet_parameters["locale"] = language
1.17 references["translations"] = translations_xml
1.18
1.19 # Complete the response.
1.20 @@ -148,6 +149,6 @@
1.21 return self.host
1.22
1.23 def get_login_url(self, trans):
1.24 - return self.host + trans.get_attributes()["root"] + path_to_login
1.25 + return self.host + trans.get_attributes()["root"] + self.path_to_login
1.26
1.27 # vim: tabstop=4 expandtab shiftwidth=4