#self.interwiki(d),
#self.title(d),
#u'</div>',
- self.navibar(d),
+ #self.navibar(d),
#u'<hr id="pageline">',
#u'<div id="pageline"><hr style="display:none;"></div>',
- self.msg(d),
- self.editbar(d),
- self.trail(d),
+ ##self.trail(d),
u'</div>',
# Post header custom html (not recommended)
# Start of page
self.startPage(),
+ self.msg(d),
]
return u'\n'.join(html)
# Header
u'<div id="header">',
- self.title(d),
- self.msg(d),
+ self.menu(d),
u'</div>',
# Post header custom html (not recommended)
# Start of page
self.startPage(),
+ self.msg(d),
]
return u'\n'.join(html)
# Footer
u'<div id="footer">',
- self.username(d),
self.searchform(d),
+ self.username(d),
+ self.editbar(d),
#self.editbar(d),
#self.credits(d),
#self.showversion(d, **keywords),
return u'\n'.join(html)
def menu(self, d):
- """ Assemble a "main menu
+ """ Assemble a "main" menu
@param d: parameter dictionary
@rtype: unicode
return html
+ def theme_script(self, name):
+ """ Format script html from this theme's static dir """
+ src = '%s/%s/js/%s.js' % (self.request.cfg.url_prefix_static, self.name, name)
+ return '<script type="text/javascript" src="%s"></script>' % src
+
def execute(request):
"""
Generate and return a theme object