web/views/basetemplates.py
branch3.5
changeset 3002 a9d7eaa07475
parent 2936 f35b64718d02
parent 2996 866a2c135c33
child 3022 238ad682bcb7
--- a/web/views/basetemplates.py	Tue Aug 25 18:47:25 2009 +0200
+++ b/web/views/basetemplates.py	Wed Aug 26 00:02:57 2009 +0200
@@ -479,7 +479,7 @@
         self.w(u'<div id="%s" class="%s">' % (id, klass))
         if title:
             self.w(u'<div id="loginTitle">%s</div>'
-                   % (self.req.property_value('ui.site-title') or u'&nbsp;'))
+                   % (self.req.property_value('ui.site-title') or u'&#160;'))
         self.w(u'<div id="loginContent">\n')
 
         if message:
@@ -510,7 +510,7 @@
         self.w(u'<td><label for="__password" >%s</label></td>' % _('password'))
         self.w(u'<td><input name="__password" id="__password" class="data" type="password" /></td>\n')
         self.w(u'</tr><tr>\n')
-        self.w(u'<td>&nbsp;</td><td><input type="submit" class="loginButton right" value="%s" />\n</td>' % _('log in'))
+        self.w(u'<td>&#160;</td><td><input type="submit" class="loginButton right" value="%s" />\n</td>' % _('log in'))
         self.w(u'</tr>\n')
         self.w(u'</table>\n')
         self.w(u'</form>\n')