File:  [Repository] / MPIWGWeb / zpt / Attic / editPublications.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, 8 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="addPublications">Add Publications</a></p>
   <form action="changePublications" method="post">
     <input type="hidden" name="id_main" tal:attributes="value person/id">
     <input type="hidden" name="main_fields" value="publications__title">

     <table  tal:define="founds2 python:here.ZSQLInlineSearch(_table='publications',id_main=person.id)">
       <tr tal:repeat="found python:here.sortPriority(founds2)">
	 <td>
	      <a tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a>
	    </td>
	 <td>
	   <span tal:replace="structure python:here.formatBibliography(here,found)"/>
	 </td>
	 <td valign="top">
	   <input tal:attributes="name python:'publications__priority__'+str(found.oid);
				     value found/priority" size="3"/>
	 </td>
	 <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
			     'publications__publish__'+str(found.oid),
			     yes_no_list,
			     boxType='radio',
			     checked=found.publish)"/>
        </tr>
     </table>
     <input type="submit" value="submit">
  </form>
</tal:block>
</html>

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