[cpif] r184 - trunk/frontend-web

svn at argo.es svn at argo.es
Fri Jun 22 18:50:51 CEST 2007


Author: alvaro
Date: Fri Jun 22 18:50:50 2007
New Revision: 184

Log:
Bugfix.



Modified:
   trunk/frontend-web/skins.py

Modified: trunk/frontend-web/skins.py
==============================================================================
--- trunk/frontend-web/skins.py	(original)
+++ trunk/frontend-web/skins.py	Fri Jun 22 18:50:50 2007
@@ -212,13 +212,16 @@
       else:
         aux = available_skins[self._skin]['body_thread_anonymous']
     elif "login" in urls[self._url]:
-      aux = available_skins[self._skin]['generic'] % { "body": available_skins[self._skin]['form_login']}
+      self._dict["body"] = available_skins[self._skin]['form_login']
+      aux = available_skins[self._skin]['generic'] % self._dict 
       self._dict["link_form_login"] = "/LOGIN/%s" % "/".join(self._path[1:])
     elif "login_err" in urls[self._url]:
-      aux = available_skins[self._skin]['generic'] % { "body": available_skins[self._skin]['form_login_err']}
+      self._dict["body"] = available_skins[self._skin]['form_login_err']
+      aux = available_skins[self._skin]['generic'] % self._dict
       self._dict["link_form_login"] = "/LOGIN/%s" % "/".join(self._path[1:])
     elif "new_user" in urls[self._url]:
-      aux = available_skins[self._skin]['generic'] % { "body": available_skins[self._skin]['new_user']}
+      self._dict["body"] = available_skins[self._skin]['new_user']
+      aux = available_skins[self._skin]['generic'] % self._dict
     else: # Removed the stop, error, etc urls from there, they (at the moment) are all tall the same
       aux = available_skins[self._skin]['generic']
       self.set_text(self._dict.get('generic_message',None))



More information about the cpif mailing list