Annotation of MPIWGWeb/zpt/addPublications.zpt, revision 1.1.2.2
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:
1.1.2.2 ! dwinter 8: <p>Search entries in the institutsbibliography</p>
! 9: <form name="search" action="addPublications" method="get">
! 10:
1.1.2.1 dwinter 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>
1.1.2.2 ! dwinter 23: <input type="submit" value="search">
1.1.2.1 dwinter 24: </form>
1.1.2.2 ! dwinter 25: <form name="add" action="addPublications" method="get">
! 26: <input type="hidden" value="add" name="mode">
! 27: <tal:block tal:condition="python:here.REQUEST.get('fromSearch','0')=='1'">
! 28:
! 29: <table>
! 30: <tr tal:repeat="foundb python:here.ZSQLFind(_table='institutsbiblio')">
! 31: <td>
! 32: <input type="checkbox" tal:attributes="value python:str(foundb.id)" name="addEntries">
! 33: </td>
! 34: <td tal:content="structure python:here.formatBiblHelp(None,'','',foundb)"/>
! 35: </tr>
1.1.2.1 dwinter 36: </table>
1.1.2.2 ! dwinter 37: <input type="submit" value="add" name="submit">
1.1.2.1 dwinter 38: </tal:block>
1.1.2.2 ! dwinter 39: </form>
1.1.2.1 dwinter 40: </tal:block>
41: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>