From 0b2dbbb7b037de9b25091021cf7da7f78678c4be Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Wed, 24 Jun 2009 18:46:52 +0200 Subject: [PATCH] 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. --- plugin/theme/site.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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'