diff -r 19861294506f -r cf8f9180e63e doc/book/en/development/webstdlib/basetemplates.rst --- a/doc/book/en/development/webstdlib/basetemplates.rst Fri Jun 19 09:19:27 2009 +0200 +++ b/doc/book/en/development/webstdlib/basetemplates.rst Fri Jun 19 20:38:32 2009 +0200 @@ -32,15 +32,15 @@ Let's now move the search box in the header and remove the login form from the header. We'll show how to move it to the left column of the application. -Let's say we do not want anymore the login menu to be in the header, but we +Let's say we do not want anymore the login menu to be in the header, but we prefer it to be in the left column just below the logo. As the left column is -rendered by ``TheMainTemplate``, we will show how to do it in TheMainTemplate_. +rendered by ``TheMainTemplate``, we will show how to do it in TheMainTemplate_. First, to remove the login menu, we just need to comment out the display of the login component such as follows : :: class MyHTMLPageHeader(HTMLPageHeader): - + def main_header(self, view): """build the top menu with authentification info and the rql box""" self.w(u'\n') @@ -101,13 +101,13 @@ if comp and comp.propval('visible'): comp.dispatch(w=self.w, view=view) self.w(u'') - + # logged user and help #self.w(u'