diff --git a/wiki/theme/crans-www.py b/wiki/theme/crans-www.py index 6e8e9661..4db42bf1 100644 --- a/wiki/theme/crans-www.py +++ b/wiki/theme/crans-www.py @@ -15,7 +15,7 @@ class Theme(ThemeBase): name = "crans-www" - # Standard set of style sheets + # Liste des feuilles de style stylesheets = ( # media basename ('all', 'common'), @@ -25,6 +25,7 @@ class Theme(ThemeBase): # ('projection', 'projection'), ) + # liste des liens du menu menu_links = [ # tire #lien (u"Accueil", u"http://www.crans.org/"), @@ -34,9 +35,10 @@ class Theme(ThemeBase): (u"Pages persos", u"http://www.crans.org/PagesPerso"), ] - + # Chemin des badges badgesPath = u'/wiki/common/badges/' + # liste des badges support_badges = [ # page, # image # alt text (u'http://www.firefox.fr/', u'badges_80x15_firefox.png', u'Get firefox'), @@ -45,8 +47,7 @@ class Theme(ThemeBase): (u'http://www.python.org/', u'badges_80x15_python.png', u'Python powered'), (u'http://www.crans.org/', u'badges_80x15_crans.png', u'Cr@ns powered'), ] - - + # Public functions ##################################################### def header(self, d, **kw): @@ -56,12 +57,6 @@ class Theme(ThemeBase): making sure the main content arrives first. """ html = [ - u'', - u'', u'
', self.logo(), u'
', @@ -398,9 +393,6 @@ class Theme(ThemeBase): """ Override to include the editbar on edit/preview pages. (at the risk that the user may accidentally cancel an edit) """ - if (page.exists(includeDeleted=1) and - self.request.user.may.read(page.page_name)): - return True return False