1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3: <html metal:use-macro="here/mainEditFile/macros/page">
4: <body>
5: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
6:
7: <tal:block metal:fill-slot="body"
8: tal:define="yes_no_list python:'yes\nno'; sortingMode python:'year\npriority'">
9:
10:
11:
12:
13: <h2>Publication list</h2>
14: <p>(You can not change entries from the <i>Institutsbibliographie</i> here)</p>
15: <form action="changeSortingMode" method="post">
16: <p>Sort by:</p>
17: <table>
18: <td valign="top"
19: tal:content="structure python:here.ZSQLSelectionFromCRList(
20: 'sortingMode',
21: sortingMode,
22: boxType='radio',
23: checked=here.getSortingMode())" />
24: <td><input type="submit" value="change"></td>
25: </table>
26: </form>
27:
28: <form action="changePublications" method="post">
29: <input type="hidden" name="key_main" tal:attributes="value python:here.decode(person.key)">
30: <input type="hidden" name="main_fields"
31: value="publications__title,publications__publish">
32:
33: <tal:block
34: tal:define="books python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and lower(referencetype)in (\'book\') and publish=\'yes\' order by priority'%here.getKey().lower());
35: edited_books python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and lower(referencetype)in (\'edited book\') and publish=\'yes\' order by priority'%here.getKey().lower());
36: not_displayed python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and publish=\'no\' order by priority'%here.getKey().lower());
37: articles python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and lower(referencetype) not in (\'book\',\'edited book\') and publish=\'yes\' order by priority'%here.getKey().lower())">
38:
39: <tal:block tal:condition="books">
40: <h3>Books</h3>
41: <table>
42: <tr>
43: <th />
44: <th />
45: <th>Priority</th>
46: <th align="left" width="100">Show</th>
47: </tr>
48: <tr tal:repeat="found python:here.sortBibliography(books)">
49: <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
50: tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
51: <a
52: tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
53: <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
54: <td valign="top"><input
55: tal:attributes="name python:'publications__priority__'+str(found.oid);
56: value python:here.integer(found.priority)"
57: size="3" /></td>
58: <td valign="top"
59: tal:content="structure python:here.ZSQLSelectionFromCRList(
60: 'publications__publish__'+str(found.oid),
61: yes_no_list,
62: boxType='radio',
63: checked=found.publish)" />
64: </tr>
65: </table>
66: </tal:block>
67:
68: <tal:block tal:condition="edited_books">
69: <h3>Edited Books</h3>
70: <table>
71: <tr>
72: <th/>
73: <th/>
74: <th>Priority</th>
75: <th align="left" width="100">Show</th>
76: </tr>
77: <tr tal:repeat="found python:here.sortBibliography(edited_books)">
78: <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
79: tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
80: <a
81: tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
82: <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
83: <td valign="top"><input
84: tal:attributes="name python:'publications__priority__'+str(found.oid);
85: value python:here.integer(found.priority)"
86: size="3" /></td>
87: <td valign="top"
88: tal:content="structure python:here.ZSQLSelectionFromCRList(
89: 'publications__publish__'+str(found.oid),
90: yes_no_list,
91: boxType='radio',
92: checked=found.publish)" />
93: </tr>
94: </table>
95: </tal:block>
96:
97: <a href="http://wwwneu.mpiwg-berlin.mpg.de/en/reviews/edit"> MPIWGReview-Page erstellen </a>
98:
99: <tal:block tal:condition="articles">
100: <h3>Articles and Chapters</h3>
101: <table>
102: <tr>
103: <th/>
104: <th/>
105: <th>Priority</th>
106: <th align="left" width="100">Show</th>
107: </tr>
108: <tr tal:repeat="found python:here.sortBibliography(articles)">
109: <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
110: tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
111: <a
112: tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
113: <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
114: <td valign="top"><input
115: tal:attributes="name python:'publications__priority__'+str(found.oid);
116: value python:here.integer(found.priority)"
117: size="3" /></td>
118: <td valign="top"
119: tal:content="structure python:here.ZSQLSelectionFromCRList(
120: 'publications__publish__'+str(found.oid),
121: yes_no_list,
122: boxType='radio',
123: checked=found.publish)" />
124: </tr>
125: </table>
126: </tal:block>
127:
128: <tal:block tal:condition="not_displayed">
129: <h3>Currently not shown</h3>
130: <table>
131: <tr>
132: <th />
133: <th />
134: <th>Priority</th>
135: <th align="left" width="100">Show</th>
136: </tr>
137: <tr tal:repeat="found python:here.sortBibliography(not_displayed)">
138: <td><a
139: tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
140: <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
141: <td valign="top"><input
142: tal:attributes="name python:'publications__priority__'+str(found.oid);
143: value python:here.integer(found.priority)"
144: size="3" /></td>
145: <td valign="top"
146: tal:content="structure python:here.ZSQLSelectionFromCRList(
147: 'publications__publish__'+str(found.oid),
148: yes_no_list,
149: boxType='radio',
150: checked=found.publish)" />
151: </tr>
152: </table>
153: </tal:block>
154:
155: </tal:block>
156: <input type="submit" value="change">
157: </form>
158:
159: <br/> <br/> <br/>
160:
161: <form action="changePublicationSelectionMode" method="post">
162:
163: <h3>Select the 5 publications to be displayed in the first part of your homepage</h3>
164: <p>Choose the first 5 of my list following the order of</p>
165: <table tal:define="sm python:here.getPublicationSelectionMode()">
166: <tr tal:condition="python:sm=='priority'">
167: <td><span><input type="radio" name="publicationSelectionMode" value="year" />year</span>
168: <span><input checked type="radio" name="publicationSelectionMode" value="priority" />priority</span></td>
169: <td><input type="submit" value="change"></td>
170: </tr>
171: <tr tal:condition="not:python:sm=='priority'">
172: <td><span><input checked type="radio" name="publicationSelectionMode" value="year" />
173: year</span> <span><input type="radio" name="publicationSelectionMode"
174: value="priority" /> priority</span></td>
175: <td><input type="submit" value="change"></td>
176: </tr>
177: </table>
178: </form>
179:
180: <br/><br/>
181: <h3><a href="addPublicationsBib">Add Publications to your list</a></h3>
182: <!-- <h4> <a href="addPublications">Add
183: entries from the Institutsbibliographie</a></h4>
184: <h4> <a href="newBibliography">Add an entry that cannot be found in the
185: Institutsbibliographie</a></h4> -->
186:
187: </tal:block>
188: </body>
189: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>