diff zpt/staff/pubman/add_publications.zpt @ 47:225179dfd892

getPublications erweitert nach Typ ausserdem erh?lt man jetzt auch einzelne Publicationen nach escidoc:id
author dwinter
date Mon, 29 Apr 2013 16:01:24 +0200
parents
children 33c663a08025
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/staff/pubman/add_publications.zpt	Mon Apr 29 16:01:24 2013 +0200
@@ -0,0 +1,39 @@
+<!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:talks" />
+
+<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
+  <form action="" method="post">
+  <input type="hidden" name="method" value="search"/>
+ 	<div> Author/Editor: <input type="text" size="30" name="author"/></div>
+ 	<div> Title: <input type="text" size="30" name="title"/></div>
+ 	<div> Somewhere in the metadata: <input type="text" size="30" name="any"/></div>
+ 
+  <input type="submit" value="submit">
+
+  </form>
+
+
+<div tal:condition="python:options.has_key('values')">
+<form action="" method="post">
+  <input type="hidden" name="method" value="add"/>
+
+<table>
+
+
+<tr tal:repeat="entry python:options['values'].items()">
+<td><input type="checkbox" value="add" tal:attributes="name python:entry[0]"/></td>
+<td><tal:x tal:replace="structure python:entry[1]"/></td>
+</tr>
+
+</table>
+<input type="submit" value="submit"/>
+
+</form>
+
+</div>
+</tal:block>
+</body>
+</html>