From: Matthijs Kooijman Date: Wed, 24 Jun 2009 16:46:52 +0000 (+0200) Subject: Reorder some stuff in the site theme. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0b2dbbb7b037de9b25091021cf7da7f78678c4be;p=matthijs%2Fprojects%2Fwipi.git Reorder some stuff in the site theme. Some things are shown differently, some things are hidden, and we add a function for custom, per-theme javascript that was required for the previous commit. --- diff --git a/plugin/theme/site.py b/plugin/theme/site.py index 91c4c26..3744a1c 100644 --- a/plugin/theme/site.py +++ b/plugin/theme/site.py @@ -52,12 +52,10 @@ class SiteTheme(ThemeBase): #self.interwiki(d), #self.title(d), #u'', - self.navibar(d), + #self.navibar(d), #u'
', #u'

', - self.msg(d), - self.editbar(d), - self.trail(d), + ##self.trail(d), u'', # Post header custom html (not recommended) @@ -65,6 +63,7 @@ class SiteTheme(ThemeBase): # Start of page self.startPage(), + self.msg(d), ] return u'\n'.join(html) @@ -81,8 +80,7 @@ class SiteTheme(ThemeBase): # Header u'', # Post header custom html (not recommended) @@ -90,6 +88,7 @@ class SiteTheme(ThemeBase): # Start of page self.startPage(), + self.msg(d), ] return u'\n'.join(html) @@ -112,8 +111,9 @@ class SiteTheme(ThemeBase): # Footer u'