Changeset 506:67014399894d in documentViewer for documentViewer.py


Ignore:
Timestamp:
Feb 21, 2012, 6:16:28 PM (12 years ago)
Author:
casties
Branch:
elementtree
Message:

cleaned out all 4suite code and weird methods.
fixed GIS places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r503 r506  
    183183        return self.template.fulltextclient.getTocPage(**args)
    184184
    185     #WTF?
    186     def getQuery(self, **args):
    187         """get query in search"""
    188         return self.template.fulltextclient.getQuery(**args)
    189      
    190     #WTF?
    191     def getSearch(self, **args):
    192         """get search"""
    193         return self.template.fulltextclient.getSearch(**args)
    194    
    195     #WTF?
    196     def getGisPlaces(self, **args):
    197         """get gis places"""
    198         return self.template.fulltextclient.getGisPlaces(**args)
     185    def getPlacesOnPage(self, **args):
     186        """get list of gis places on one page"""
     187        return self.template.fulltextclient.getPlacesOnPage(**args)
    199188 
    200     #WTF?
    201     def getAllGisPlaces(self, **args):
    202         """get all gis places """
    203         return self.template.fulltextclient.getAllGisPlaces(**args)
    204        
    205     #WTF?
    206     def getWordInfo(self, **args):
    207         """get translate"""
    208         return self.template.fulltextclient.getWordInfo(**args)
    209 
    210     #WTF?
    211     def getLemma(self, **args):
    212         """get lemma"""
    213         return self.template.fulltextclient.getLemma(**args)
    214 
    215     #WTF?
    216     def getLemmaQuery(self, **args):
    217         """get query"""
    218         return self.template.fulltextclient.getLemmaQuery(**args)
    219 
    220     #WTF?
    221     def getLex(self, **args):
    222         """get lex"""
    223         return self.template.fulltextclient.getLex(**args)
    224 
    225189    #WTF?
    226190    thumbs_main_rss = PageTemplateFile('zpt/thumbs_main_rss', globals())
     
    316280        return pt(docinfo=docinfo, pageinfo=pageinfo)
    317281 
     282    #WTF?
    318283    def generateMarks(self,mk):
    319284        ret=""
Note: See TracChangeset for help on using the changeset viewer.