web/views/basetemplates.py
changeset 3890 d7a270f50f54
parent 3661 12ea53a4c0da
parent 3818 9522e51d8644
child 4252 6c4f109c2b03
--- a/web/views/basetemplates.py	Sun Nov 08 21:53:18 2009 +0100
+++ b/web/views/basetemplates.py	Fri Nov 20 19:35:54 2009 +0100
@@ -13,7 +13,7 @@
 from cubicweb.appobject import objectify_selector
 from cubicweb.selectors import match_kwargs
 from cubicweb.view import View, MainTemplate, NOINDEX, NOFOLLOW
-from cubicweb.utils import make_uid, UStringIO, can_do_pdf_conversion
+from cubicweb.utils import UStringIO, can_do_pdf_conversion
 from cubicweb.schema import display_name
 
 # main templates ##############################################################
@@ -315,7 +315,6 @@
         self.stylesheets()
         self.javascripts()
         self.alternates()
-        self.pageid()
 
     def favicon(self):
         favicon = self._cw.external_resource('FAVICON', None)
@@ -343,12 +342,6 @@
             self.whead(u'<link rel="alternate" type="application/rss+xml" title="RSS feed" href="%s"/>\n'
                        %  xml_escape(urlgetter.feed_url()))
 
-    def pageid(self):
-        req = self._cw
-        pid = make_uid(id(req))
-        req.pageid = pid
-        req.html_headers.define_var('pageid', pid)
-
 
 class HTMLPageHeader(View):
     """default html page header"""
@@ -387,11 +380,6 @@
             'loggeduserlink', self._cw, rset=self.cw_rset)
         if comp and comp.cw_propval('visible'):
             comp.render(w=self.w)
-        self.w(u'</td><td>')
-        helpcomp = self._cw.vreg['components'].select_or_none(
-            'help', self._cw, rset=self.cw_rset)
-        if helpcomp and helpcomp.cw_propval('visible'):
-            helpcomp.render(w=self.w)
         self.w(u'</td>')
         # lastcolumn
         self.w(u'<td id="lastcolumn">')
@@ -417,7 +405,7 @@
 
 
 class HTMLPageFooter(View):
-    """default html page footer: include logo if any, and close the HTML body
+    """default html page footer: include footer actions
     """
     __regid__ = 'footer'