comparison 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
comparison
equal deleted inserted replaced
169:2da62e93a1c6 170:485bf377913a
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html metal:use-macro="here/mainEditFile/macros/page"> 3 <html metal:use-macro="here/mainEditFile/macros/page">
4 <body> 4 <body>
5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:talks" /> 5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
6 6
7 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> 7 <tal:block metal:fill-slot="body">
8 8 <div>
9 <form action="" method="post">
10 <input type="hidden" value="change" name="method" />
11 <table>
12 <tr>
13 <th>Delete</th>
14 <th>Priority</th>
15 <th>Citation</th>
16 </tr>
17 <tr tal:repeat="entry python:here.getSelectedPublications()">
18 <td><input type="checkbox" value="delete" tal:attributes="name python:entry.escidocid" /></td>
19 <td><input type="text" size="5" tal:attributes="name python:entry.escidocid+'__p'; value python:entry.priority" /></td>
20 <td><tal:x tal:replace="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)" /></td>
21 </tr>
22 </table>
9 23
10 <div> 24 <p>
11 <form action="" method="post"> 25 <input type="submit" value="submit" />
26 <b>This will delete all selected entries and change the priorities!</b>
27 </p>
28 <p>
29 <a tal:attributes="href string:$root/editPublications">Back to publication list</a>
30 </p>
31 </form>
12 32
13 <table> 33 </div>
14 34 </tal:block>
15 <input type="hidden" value="change" name="method"/>
16
17 <tr>
18 <td>Delete</td><td>Priority</td><td>Citation</td>
19 </tr>
20 <tr tal:repeat="entry python:here.getSelectedPublications()">
21 <td><input type="checkbox" value="delete" tal:attributes="name python:entry.escidocid"/></td>
22 <td><input type="text" size="5" tal:attributes="name python:entry.escidocid+'__p'; value python:entry.priority"/></td>
23 <td><tal:x tal:replace="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)"/></td>
24 </tr>
25
26 </table>
27 <input type="submit" value="submit"/> <b>This will delete all selected entries and change the priorities!</b>
28
29 </form>
30
31 </div>
32 </tal:block>
33 </body> 35 </body>
34 </html> 36 </html>