version 1.29, 2004/10/13 14:55:15
|
version 1.30, 2004/10/14 09:48:50
|
Line 577 class VLP_resource(ECHO_resource):
|
Line 577 class VLP_resource(ECHO_resource):
|
return """<img src="../../images/first.gif" alt="first" width="14" height="14" border="0"><br>first""" |
return """<img src="../../images/first.gif" alt="first" width="14" height="14" border="0"><br>first""" |
|
|
else: |
else: |
|
ws=self.REQUEST.get('ws','1') |
return """<a href=%s> |
return """<a href=%s> |
<img src="../../images/first.gif" alt="first" width="14" height="14" border="0"><br>first |
<img src="../../images/first.gif" alt="first" width="14" height="14" border="0"><br>first |
</a> |
</a> |
"""%(self.REQUEST['URL']+"?pn=1") |
"""%(self.REQUEST['URL']+"?pn=1&ws=%s"%ws) |
|
|
def lastPage(self,url=None): |
def lastPage(self,url=None): |
"""showlink to the first image""" |
"""showlink to the first image""" |
Line 592 class VLP_resource(ECHO_resource):
|
Line 593 class VLP_resource(ECHO_resource):
|
return """<img src="../../images/last.gif" alt="last" width="14" height="14" border="0"><br>last""" |
return """<img src="../../images/last.gif" alt="last" width="14" height="14" border="0"><br>last""" |
|
|
else: |
else: |
|
ws=self.REQUEST.get('ws','1') |
return """<a href=%s> |
return """<a href=%s> |
<img src="../../images/last.gif" alt="last" width="14" height="14" border="0"><br>last |
<img src="../../images/last.gif" alt="last" width="14" height="14" border="0"><br>last |
</a> |
</a> |
"""%(self.REQUEST['URL']+"?pn="+str(ln)) |
"""%(self.REQUEST['URL']+"?pn="+str(ln)+"&ws="+ws) |
|
|
def prevPage(self,url=None): |
def prevPage(self,url=None): |
"""showlink to the first image""" |
"""showlink to the first image""" |
Line 606 class VLP_resource(ECHO_resource):
|
Line 608 class VLP_resource(ECHO_resource):
|
return """<img src="../../images/lisePrev.gif" alt="prev" width="14" height="14" border="0"><br>prev""" |
return """<img src="../../images/lisePrev.gif" alt="prev" width="14" height="14" border="0"><br>prev""" |
|
|
else: |
else: |
|
ws=self.REQUEST.get('ws','1') |
return """<a href=%s> |
return """<a href=%s> |
<img src="../../images/lisePrev.gif" alt="prev" width="14" height="14" border="0"><br>prev |
<img src="../../images/lisePrev.gif" alt="prev" width="14" height="14" border="0"><br>prev |
</a> |
</a> |
"""%(self.REQUEST['URL']+"?pn="+str(nn)) |
"""%(self.REQUEST['URL']+"?pn="+str(nn)+"&ws="+ws) |
|
|
def nextPage(self,url=None): |
def nextPage(self,url=None): |
"""showlink to the first image""" |
"""showlink to the first image""" |
Line 622 class VLP_resource(ECHO_resource):
|
Line 625 class VLP_resource(ECHO_resource):
|
return """<img src="../../images/liseNext.gif" alt="next" width="14" height="14" border="0"><br>next""" |
return """<img src="../../images/liseNext.gif" alt="next" width="14" height="14" border="0"><br>next""" |
|
|
else: |
else: |
|
ws=self.REQUEST.get('ws','1') |
return """<a href=%s> |
return """<a href=%s> |
<img src="../../images/liseNext.gif" alt="next" width="14" height="14" border="0"><br>next |
<img src="../../images/liseNext.gif" alt="next" width="14" height="14" border="0"><br>next |
</a> |
</a> |
"""%(self.REQUEST['URL']+"?pn="+str(nn)) |
"""%(self.REQUEST['URL']+"?pn="+str(nn)+"&ws="+ws) |
|
|
|
|
def readIndexFile(self,url=None): |
def readIndexFile(self,url=None): |