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: <tal:x tal:repeat="found python:here.sortBibliography(books)">
49: <tr>
50: <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
51: tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
52: <a
53: tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
54: <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
55: <td valign="top"><input
56: tal:attributes="name python:'publications__priority__'+str(found.oid);
57: value python:here.integer(found.priority)"
58: size="3" /></td>
59: <td valign="top"
60: tal:content="structure python:here.ZSQLSelectionFromCRList(
61: 'publications__publish__'+str(found.oid),
62: yes_no_list,
63: boxType='radio',
64: checked=found.publish)" />
65:
66: </tr>
67: <tr>
68: <td> </td>
69: <td valign="top"><em>Link:</em><input
70: tal:attributes="name python:'publications__link__'+str(found.oid);
71: value python:getattr(found,'link','')"
72: size="150" /></td>
73: <td> </td>
74: <td> </td>
75: </tr>
76: </tal:x>
77: </table>
78: </tal:block>
79:
80: <tal:block tal:condition="edited_books">
81: <h3>Edited Books</h3>
82: <table>
83: <tr>
84: <th/>
85: <th/>
86: <th>Priority</th>
87: <th align="left" width="100">Show</th>
88: </tr>
89: <tal:x tal:repeat="found python:here.sortBibliography(edited_books)">
90: <tr>
91: <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
92: tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
93: <a
94: tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
95: <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
96: <td valign="top"><input
97: tal:attributes="name python:'publications__priority__'+str(found.oid);
98: value python:here.integer(found.priority)"
99: size="3" /></td>
100: <td valign="top"
101: tal:content="structure python:here.ZSQLSelectionFromCRList(
102: 'publications__publish__'+str(found.oid),
103: yes_no_list,
104: boxType='radio',
105: checked=found.publish)" />
106: </tr>
107: <tr>
108: <td> </td>
109: <td valign="top"><em>Link:</em><input
110: tal:attributes="name python:'publications__link__'+str(found.oid);
111: value python:getattr(found,'link','')"
112: size="150" /></td>
113: <td> </td>
114: <td> </td>
115: </tr>
116: </tal:x>
117: </table>
118: </tal:block>
119:
120: <a href="http://wwwneu.mpiwg-berlin.mpg.de/en/reviews/edit"> MPIWGBook-Page erstellen </a>
121:
122: <tal:block tal:condition="articles">
123: <h3>Articles and Chapters</h3>
124: <table>
125: <tr>
126: <th/>
127: <th/>
128: <th>Priority</th>
129: <th align="left" width="100">Show</th>
130: </tr>
131: <tal:x tal:repeat="found python:here.sortBibliography(articles)">
132: <tr>
133: <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
134: tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
135: <a
136: tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
137: <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
138: <td valign="top"><input
139: tal:attributes="name python:'publications__priority__'+str(found.oid);
140: value python:here.integer(found.priority)"
141: size="3" /></td>
142: <td valign="top"
143: tal:content="structure python:here.ZSQLSelectionFromCRList(
144: 'publications__publish__'+str(found.oid),
145: yes_no_list,
146: boxType='radio',
147: checked=found.publish)" />
148: </tr>
149: <tr>
150: <td> </td>
151: <td valign="top"><em>Link:</em><input
152: tal:attributes="name python:'publications__link__'+str(found.oid);
153: value python:getattr(found,'link','')"
154: size="150" /></td>
155: <td> </td>
156: <td> </td>
157: </tr>
158: </tal:x>
159: </table>
160: </tal:block>
161:
162: <tal:block tal:condition="not_displayed">
163: <h3>Currently not shown</h3>
164: <table>
165: <tr>
166: <th />
167: <th />
168: <th>Priority</th>
169: <th align="left" width="100">Show</th>
170: </tr>
171: <tal:x tal:repeat="found python:here.sortBibliography(not_displayed)">
172: <tr>
173: <td><a
174: tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
175: <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
176: <td valign="top"><input
177: tal:attributes="name python:'publications__priority__'+str(found.oid);
178: value python:here.integer(found.priority)"
179: size="3" /></td>
180: <td valign="top"
181: tal:content="structure python:here.ZSQLSelectionFromCRList(
182: 'publications__publish__'+str(found.oid),
183: yes_no_list,
184: boxType='radio',
185: checked=found.publish)" />
186: </tr>
187: <tr>
188: <td> </td>
189: <td valign="top"><em>Link:</em><input
190: tal:attributes="name python:'publications__link__'+str(found.oid);
191: value python:getattr(found,'link','')"
192: size="150" /></td>
193: <td> </td>
194: <td> </td>
195: </tr>
196: </tal:x>
197: </table>
198: </tal:block>
199:
200: </tal:block>
201: <input type="submit" value="change">
202: </form>
203:
204: <br/> <br/> <br/>
205:
206: <form action="changePublicationSelectionMode" method="post">
207:
208: <h3>Select the 5 publications to be displayed in the first part of your homepage</h3>
209: <p>Choose the first 5 of my list following the order of</p>
210: <table tal:define="sm python:here.getPublicationSelectionMode()">
211: <tr tal:condition="python:sm=='priority'">
212: <td><span><input type="radio" name="publicationSelectionMode" value="year" />year</span>
213: <span><input checked type="radio" name="publicationSelectionMode" value="priority" />priority</span></td>
214: <td><input type="submit" value="change"></td>
215: </tr>
216: <tr tal:condition="not:python:sm=='priority'">
217: <td><span><input checked type="radio" name="publicationSelectionMode" value="year" />
218: year</span> <span><input type="radio" name="publicationSelectionMode"
219: value="priority" /> priority</span></td>
220: <td><input type="submit" value="change"></td>
221: </tr>
222: </table>
223: </form>
224:
225: <br/><br/>
226: <h3><a href="addPublicationsBib">Add Publications to your list</a></h3>
227: <!-- <h4> <a href="addPublications">Add
228: entries from the Institutsbibliographie</a></h4>
229: <h4> <a href="newBibliography">Add an entry that cannot be found in the
230: Institutsbibliographie</a></h4> -->
231:
232: </tal:block>
233: </body>
234: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>