Mercurial > hg > MPIWGThesaurus
diff MPIWGThesaurus.py @ 13:51ed6ad43383
template for the levels in overview added in zpt
author | dwinter |
---|---|
date | Fri, 13 Jan 2012 09:19:08 +0100 |
parents | e7733b6ba343 |
children | f9a65eaaa59c |
line wrap: on
line diff
--- a/MPIWGThesaurus.py Fri Jan 13 09:14:38 2012 +0100 +++ b/MPIWGThesaurus.py Fri Jan 13 09:19:08 2012 +0100 @@ -480,7 +480,9 @@ def getEntriesFormatted(self,entries,type): errorString="<H1>template with name <em>levelFormatted</em> does not exist in the thesaurus folder!" if not hasattr(self,'levelFormatted'): - return errorString + pt=PageTemplateFile(os.path.join(package_home(globals()),'zpt','levelFormatted.zpt')).__of__(self) + return pt(level1_entries=entries,type=type) + return self.levelFormatted(level1_entries=entries,type=type)