X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fwipi.git;a=blobdiff_plain;f=plugin%2Ftheme%2Fsite.py;h=37bff91f75dc2e4b3341aa25054417f6f7bf8ab1;hp=91c4c262a95dceb5abe19a7bdb8e00ba2ed2807d;hb=6f6c41b3e0a69f9d6fc3b7a3d2a293e21b20f124;hpb=6ae7e3384b4e4a1b310984b146911fb3c4569ee1 diff --git a/plugin/theme/site.py b/plugin/theme/site.py index 91c4c26..37bff91 100644 --- a/plugin/theme/site.py +++ b/plugin/theme/site.py @@ -11,6 +11,7 @@ from MoinMoin.theme import ThemeBase from MoinMoin.Page import Page +from MoinMoin import wikiutil class SiteTheme(ThemeBase): @@ -52,12 +53,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 +64,8 @@ class SiteTheme(ThemeBase): # Start of page self.startPage(), + self.editbar(d), + self.msg(d), ] return u'\n'.join(html) @@ -81,8 +82,7 @@ class SiteTheme(ThemeBase): # Header u'', # Post header custom html (not recommended) @@ -90,6 +90,7 @@ class SiteTheme(ThemeBase): # Start of page self.startPage(), + self.msg(d), ] return u'\n'.join(html) @@ -104,7 +105,6 @@ class SiteTheme(ThemeBase): page = d['page'] html = [ # End of page - self.pageinfo(page), self.endPage(), # Pre footer custom html (not recommended!) @@ -113,6 +113,7 @@ class SiteTheme(ThemeBase): # Footer u'