X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=plugin%2Ftheme%2Fdeadfoxjunction.py;fp=plugin%2Ftheme%2Fdeadfoxjunction.py;h=13929c791fec2563608bf0a37d77cd159d88d6c3;hb=85632494fa378e3721211bcb4d622479406a6cb5;hp=0000000000000000000000000000000000000000;hpb=9c683b78b34f4e5dacba53d3d68b8cdefcb239cc;p=matthijs%2Fprojects%2Fwipi.git diff --git a/plugin/theme/deadfoxjunction.py b/plugin/theme/deadfoxjunction.py new file mode 100644 index 0000000..13929c7 --- /dev/null +++ b/plugin/theme/deadfoxjunction.py @@ -0,0 +1,24 @@ +""" + MoinMoin - Dead fox junction website theme. + + @copyright: 2010+ Matthijs Kooijman + @license: GNU GPL, see COPYING for details. +""" + +from site import SiteTheme + +class Theme(SiteTheme): + name = "deadfoxjunction" + + # Add an extra #window div that will be visible content area, framed + # by a wooden "window". We can't just use #content here, since + # #messages is besides #content in editing mode. + def startPage(self, d): + html = SiteTheme.startPage(self, d) + html += u'
\n' + return html + + def endPage(self, d): + html = SiteTheme.endPage(self, d) + html += u'
\n' + return html