Corrected connectionTestForm.dtml
Hi all, here are corrected file lib\python\Shared\DC\ZRDB\dtml\connectionTestForm.dtml Take a look above DTML-COMMENT. It was from Z 2.5.1, but it could be inspirative for newer versions. Regards, JL. <dtml-in %(id)s size=20 start=query_start> <dtml-if sequence-start> <dtml-if previous-sequence> <a href="<dtml-var URL><dtml-var sequence-query >query_start=<dtml-var previous-sequence-start-number>"> (Previous <dtml-var previous-sequence-size> results) </a> </dtml-if previous-sequence> %(else no_table)[<table border> %(heading)s %(else)] </dtml-if sequence-start> %(row)s <dtml-if sequence-end> %(else no_table)[</table>%(else)] <dtml-if next-sequence> <a href="<dtml-var URL>?query:text=<dtml-var query >&query_start=<dtml-var next-sequence-start-number>"> (Next <dtml-var next-sequence-size> results) </a> <dtml-comment> <a href="<dtml-var URL><dtml-var sequence-query >query_start=<dtml-var next-sequence-start-number>"> (Next <dtml-var next-sequence-size> results) </a> </dtml-comment> </dtml-if next-sequence> </dtml-if sequence-end> <dtml-else> There was no data matching this <dtml-var title_or_id> query. </dtml-in>
Hi, such stuff does not belong on the mailing list. We have a bugtracker to submit patches etc....put it there...otherwise it will definitely be lost... -aj --On 6. Februar 2006 23:56:46 +0100 Jaroslav Lukesh <lukesh@seznam.cz> wrote:
Hi all, here are corrected file
lib\python\Shared\DC\ZRDB\dtml\connectionTestForm.dtml
Take a look above DTML-COMMENT.
It was from Z 2.5.1, but it could be inspirative for newer versions.
Regards, JL.
<dtml-in %(id)s size=20 start=query_start>
<dtml-if sequence-start>
<dtml-if previous-sequence>
<a href="<dtml-var URL><dtml-var sequence-query
>query_start=<dtml-var
previous-sequence-start-number>">
(Previous <dtml-var previous-sequence-size> results)
</a>
</dtml-if previous-sequence>
%(else no_table)[<table border>
%(heading)s
%(else)]
</dtml-if sequence-start>
%(row)s
<dtml-if sequence-end>
%(else no_table)[</table>%(else)]
<dtml-if next-sequence>
<a href="<dtml-var URL>?query:text=<dtml-var query
>&query_start=<dtml-var
next-sequence-start-number>">
(Next <dtml-var next-sequence-size> results)
</a>
<dtml-comment>
<a href="<dtml-var URL><dtml-var sequence-query
>query_start=<dtml-var
next-sequence-start-number>">
(Next <dtml-var next-sequence-size> results)
</a>
</dtml-comment>
</dtml-if next-sequence>
</dtml-if sequence-end>
<dtml-else>
There was no data matching this <dtml-var title_or_id> query.
</dtml-in>
participants (2)
-
Andreas Jung -
Jaroslav Lukesh