web/views/basetemplates.py
changeset 158 18385a9bbba0
parent 146 f8035a67971a
child 163 451a3e35dbcb
--- a/web/views/basetemplates.py	Mon Dec 01 14:43:40 2008 +0100
+++ b/web/views/basetemplates.py	Mon Dec 01 14:46:30 2008 +0100
@@ -169,6 +169,7 @@
         w = self.whead
         lang = self.req.lang
         self.write_doctype()
+        page_title = 'posted'
         w(u'<base href="%s" />' % html_escape(self.req.base_url()))
         w(u'<meta http-equiv="content-type" content="%s; charset=%s"/>\n'
           % (content_type, self.req.encoding))
@@ -259,8 +260,7 @@
 
     id = 'main-no-top'
     
-    def template_header(self, content_type, view=None, page_title='', additional_headers=()):
-        page_title = page_title or view.page_title()
+    def template_header(self, content_type, view=None, page_title='oui', additional_headers=()):
         additional_headers = additional_headers or view.html_headers()
         whead = self.whead
         lang = self.req.lang