[Zope] Corrected connectionTestForm.dtml

Jaroslav Lukesh lukesh at seznam.cz
Mon Feb 6 17:56:46 EST 2006


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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060206/5e105e79/attachment.htm


More information about the Zope mailing list