37
|
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:additionalLink" />
|
|
6 <p>You can add links to documents or project websites you want to provide and are relevant for
|
|
7 presenting your work and research interests</p>
|
|
8
|
|
9 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
|
|
10 <form action="" method="post">
|
|
11 <input type="hidden" name="main_fields" value="additionalLink__title">
|
|
12 <table tal:define="founds2 python:here.getAdditionalLinks()">
|
|
13 <tal:x tal:repeat="found2 python:here.sortPriority(founds2)">
|
|
14 <tr class="fliesstext">
|
|
15 <td>Text over Link</td>
|
|
16 <td><input tal:attributes="name python:'additionalLink__title__'+str(found2.oid);
|
|
17 value python:found2.title" size="80" /> </td>
|
|
18 </tr>
|
|
19 <tr>
|
|
20 <td>Url</td>
|
|
21 <td><input tal:attributes="name python:'additionalLink__link__'+str(found2.oid);
|
|
22 value python:found2.link" size="80" /></td>
|
|
23 </tr>
|
|
24 <tr>
|
|
25 <td valign="top">Priority <input tal:attributes="name python:'additionalLink__priority__'+str(found2.oid);
|
|
26 value python:found2.priority"
|
|
27 size="3" />
|
|
28 </td>
|
|
29 <td valign="top">Publish
|
|
30 <tal:x tal:content="structure python:here.ZSQLSelectionFromCRList(
|
|
31 'additionalLink__published__'+str(found2.oid),
|
|
32 yes_no_list,
|
|
33 boxType='radio',
|
|
34 checked=found2.published)" />
|
|
35 <a tal:attributes="href python:'deleteField?table=additionalLink&oid=%s'%found2.oid">delete this link</a>
|
|
36 </td>
|
|
37 </tr>
|
|
38 <tr>
|
|
39 <td colspan="2"><hr/></td>
|
|
40 </tr>
|
|
41 </tal:x>
|
|
42 <tr >
|
|
43 <td colspan="2"><b>Add new link</b></td>
|
|
44 </tr>
|
|
45 <tr>
|
|
46 <td>Text over Link</td>
|
|
47 <td><input tal:attributes="name python:'additionalLink__title__new'" size="80"/></td>
|
|
48 </tr>
|
|
49 <tr>
|
|
50 <td>Url</td>
|
|
51 <td><input tal:attributes="name python:'additionalLink__link__new'" size="80" /></td>
|
|
52 </tr>
|
|
53 <tr>
|
|
54 <td>Priority <input tal:attributes="name python:'additionalLink__priority__new'" size="3"></td>
|
|
55 <td valign="top">Publish
|
|
56 <tal:x tal:content="structure python:here.ZSQLSelectionFromCRList(
|
|
57 'additionalLink__published__new',
|
|
58 yes_no_list,
|
|
59 boxType='radio',
|
|
60 checked='yes')" />
|
|
61 </td>
|
|
62 </tr>
|
|
63 </table>
|
|
64 <input type="submit" value="submit">
|
|
65
|
|
66 </form>
|
|
67 <p>Please contact the IT Group <a href="mailto:itgroup@mpiwg-berlin.mpg.de">itgroup@mpiwg-berlin.mpg.de</a>, if you intend
|
|
68 to link to documents not available in the net and if you want to publish these.</p>
|
|
69 </tal:block>
|
|
70 </body>
|
|
71 </html>
|