File:  [Repository] / MPIWGWeb / zpt / Attic / editBibliographyEntry.zpt
Revision 1.1.2.5: download - view: text, annotated - select for diffs - revision graph
Wed Nov 16 19:09:28 2005 UTC (18 years, 7 months ago) by casties
Branches: r2
small fixes for "add publications"
still doesn't work properly

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html metal:use-macro="here/mainEditFile/macros/page">
<body>
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
<tal:block metal:fill-slot="body">
<tal:block
    tal:define="found python:here.ZSQLInlineSearchU(_table='bibliography',id=here.REQUEST['id']);
        mapping python:here.metadata.main.meta.bib.generateMappingForType(type=found.reference_type)">

  <h3>Edit a separate publication</h3>

    <form action="ZSQLChange" method="get">
    <input type="hidden" name="-format" value="editPublications">
    <input type="hidden" name="-identify" tal:attributes="value python:'oid='+str(found.oid)">
    <input type="hidden" name="-table" value="bibliography">
    <table>
      <tal:block tal:repeat="mapElement python:mapping.keys()">
        <tr tal:condition="python:mapping[mapElement][1]!=''">
          <td tal:content="python:mapping[mapElement][1].encode('utf-8')"/>
          <td><input size="80" tal:attributes="value python:getattr(found,mapElement); name mapElement" />
        </tr>
      </tal:block>
    </table>
    <input type="submit" value="change" />
    </form>

    <h3><a href="editPublications">Back to publication list</a></h3>

  </tal:block>
  </tal:block>
</body>
</html>


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