File:  [Repository] / MPIWGWeb / zpt / Attic / addPublications.zpt
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Mon Oct 10 08:42:49 2005 UTC (18 years, 9 months ago) by dwinter
Branches: r2
*** empty log message ***

<html metal:use-macro="here/mainEditFile/macros/page">

  <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">

    <h3>Manage Publications</h3>
    <p><a href="editPublications">Change order</a></p>

    <p>Search entries in the insitutsbliobgraphie</p>
    <form action="addPublications" method="get">
      <tal:block tal:define="dummy python:here.REQUEST.RESPONSE.setCookie('fromSearch','1')"/> 
      <table>
	<tr>
	  <td>Author</td>
	  <td tal:content="structure python:here.ZSQLsearchOptions(fieldname='author')"/>
	  <td><input name="author" len="30"></td>
	</tr>
	<tr>
	  <td>Title</td>
	  <td tal:content="structure python:here.ZSQLsearchOptions(fieldname='title')"/>
	  <td><input name="title" len="30"></td>
	</tr>
      </table>
      <input type="submit" value="submit">
    </form>
    <tal:block tal:condition="python:here.REQUEST.cookies.get('fromSearch','0')=='1'">
      <tal:block tal:define="dummy python:here.REQUEST.RESPONSE.setCookie('fromSearch','0')"/> 
      <table>
	<tr tal:repeat="foundb python:here.ZSQLFind(_table='institutsbiblio')">
	 <td>
	  <input type="checkbox" tal:attributes="value python:'add_'+str(foundb.id)">
	 </td>
	 <td tal:content="structure python:here.formatBiblHelp(None,'','',foundb)"/>
	</tr>
      </table>
    </tal:block>
 
</tal:block>
</html>

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