summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
64995a9)
Removing language menu generation namespace.
It is not needed as it is in html, and namespace confuses and invalidates
the html in the browser, maybe since the attributes were not namespaced.
return self._tree.menu(lang,page,cssclass)
def lang_menu(self,lang,link):
return self._tree.menu(lang,page,cssclass)
def lang_menu(self,lang,link):
- html = ElementMaker(namespace=const.HTML_NS)
menu = html.ul()
for l in link.languages():
isoxml = u"//iso_639_3_entry[@*='"+l+"']"
menu = html.ul()
for l in link.languages():
isoxml = u"//iso_639_3_entry[@*='"+l+"']"