Mercurial > hg > documentViewer
diff documentViewer.py @ 506:67014399894d elementtree
cleaned out all 4suite code and weird methods.
fixed GIS places.
author | casties |
---|---|
date | Tue, 21 Feb 2012 19:16:28 +0100 |
parents | 030251fe9dbc |
children | 3c01e8f4e72b |
line wrap: on
line diff
--- a/documentViewer.py Fri Feb 17 10:46:03 2012 +0100 +++ b/documentViewer.py Tue Feb 21 19:16:28 2012 +0100 @@ -182,47 +182,11 @@ """returns one page of the table of contents""" return self.template.fulltextclient.getTocPage(**args) - #WTF? - def getQuery(self, **args): - """get query in search""" - return self.template.fulltextclient.getQuery(**args) - - #WTF? - def getSearch(self, **args): - """get search""" - return self.template.fulltextclient.getSearch(**args) - - #WTF? - def getGisPlaces(self, **args): - """get gis places""" - return self.template.fulltextclient.getGisPlaces(**args) + def getPlacesOnPage(self, **args): + """get list of gis places on one page""" + return self.template.fulltextclient.getPlacesOnPage(**args) #WTF? - def getAllGisPlaces(self, **args): - """get all gis places """ - return self.template.fulltextclient.getAllGisPlaces(**args) - - #WTF? - def getWordInfo(self, **args): - """get translate""" - return self.template.fulltextclient.getWordInfo(**args) - - #WTF? - def getLemma(self, **args): - """get lemma""" - return self.template.fulltextclient.getLemma(**args) - - #WTF? - def getLemmaQuery(self, **args): - """get query""" - return self.template.fulltextclient.getLemmaQuery(**args) - - #WTF? - def getLex(self, **args): - """get lex""" - return self.template.fulltextclient.getLex(**args) - - #WTF? thumbs_main_rss = PageTemplateFile('zpt/thumbs_main_rss', globals()) security.declareProtected('View','thumbs_rss') def thumbs_rss(self,mode,url,viewMode="auto",start=None,pn=1): @@ -315,6 +279,7 @@ # and execute with parameters return pt(docinfo=docinfo, pageinfo=pageinfo) + #WTF? def generateMarks(self,mk): ret="" if mk is None: