File:  [Repository] / MPIWGWeb / zpt / Attic / addPublications.zpt
Revision 1.1.2.3: download - view: text, annotated - select for diffs - revision graph
Tue Oct 11 13:14:01 2005 UTC (18 years, 9 months ago) by dwinter
Branches: r2
editing publications added

<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><a href="newBibliography">Add</a></p>
    <p>Search entries in the institutsbibliography</p>
    <form name="search" action="addPublications" method="get">
      
      <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="search">
    </form>
    <form name="add" action="addPublications" method="get">
    		<input type="hidden" value="add" name="mode">
	    <tal:block tal:condition="python:here.REQUEST.get('fromSearch','0')=='1'">
	      
	      <table>
		<tr tal:repeat="foundb python:here.ZSQLFind(_table='institutsbiblio')">
		 <td>
		  <input type="checkbox" tal:attributes="value python:str(foundb.id)" name="addEntries">
		 </td>
		 <td tal:content="structure python:here.formatBiblHelp(None,'','',foundb)"/>
		</tr>
      </table>
      <input type="submit" value="add" name="submit">
    </tal:block>
 	</form>
</tal:block>
</html>

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