view zpt/staff/pubman/change_publications.zpt @ 170:485bf377913a

fix staff editing pages.
author casties
date Fri, 07 Jun 2013 16:29:34 +0200
parents 6ae0201b1257
children
line wrap: on
line source

<!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">
    <div>
      <form action="" method="post">
        <input type="hidden" value="change" name="method" />
        <table>
          <tr>
            <th>Delete</th>
            <th>Priority</th>
            <th>Citation</th>
          </tr>
          <tr tal:repeat="entry python:here.getSelectedPublications()">
            <td><input type="checkbox" value="delete" tal:attributes="name python:entry.escidocid" /></td>
            <td><input type="text" size="5" tal:attributes="name python:entry.escidocid+'__p'; value python:entry.priority" /></td>
            <td><tal:x tal:replace="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)" /></td>
          </tr>
        </table>

        <p>
          <input type="submit" value="submit" />
          <b>This will delete all selected entries and change the priorities!</b>
        </p>
        <p>
          <a tal:attributes="href string:$root/editPublications">Back to publication list</a>
        </p>
      </form>

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