Annotation of MPIWGWeb/zpt/addPublications.zpt, revision 1.1.2.1

1.1.2.1 ! dwinter     1: <html metal:use-macro="here/mainEditFile/macros/page">
        !             2: 
        !             3:   <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
        !             4: 
        !             5:     <h3>Manage Publications</h3>
        !             6:     <p><a href="editPublications">Change order</a></p>
        !             7: 
        !             8:     <p>Search entries in the insitutsbliobgraphie</p>
        !             9:     <form action="addPublications" method="get">
        !            10:       <tal:block tal:define="dummy python:here.REQUEST.RESPONSE.setCookie('fromSearch','1')"/> 
        !            11:       <table>
        !            12:    <tr>
        !            13:      <td>Author</td>
        !            14:      <td tal:content="structure python:here.ZSQLsearchOptions(fieldname='author')"/>
        !            15:      <td><input name="author" len="30"></td>
        !            16:    </tr>
        !            17:    <tr>
        !            18:      <td>Title</td>
        !            19:      <td tal:content="structure python:here.ZSQLsearchOptions(fieldname='title')"/>
        !            20:      <td><input name="title" len="30"></td>
        !            21:    </tr>
        !            22:       </table>
        !            23:       <input type="submit" value="submit">
        !            24:     </form>
        !            25:     <tal:block tal:condition="python:here.REQUEST.cookies.get('fromSearch','0')=='1'">
        !            26:       <tal:block tal:define="dummy python:here.REQUEST.RESPONSE.setCookie('fromSearch','0')"/> 
        !            27:       <table>
        !            28:    <tr tal:repeat="foundb python:here.ZSQLFind(_table='institutsbiblio')">
        !            29:     <td>
        !            30:      <input type="checkbox" tal:attributes="value python:'add_'+str(foundb.id)">
        !            31:     </td>
        !            32:     <td tal:content="structure python:here.formatBiblHelp(None,'','',foundb)"/>
        !            33:    </tr>
        !            34:       </table>
        !            35:     </tal:block>
        !            36:  
        !            37: </tal:block>
        !            38: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>