Mercurial > hg > MPIWGWeb
comparison zpt/editMainData.zpt @ 0:bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
author | casties |
---|---|
date | Thu, 10 Jan 2013 17:52:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:bca61e893fcc |
---|---|
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:maindata"/> | |
6 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'; | |
7 global person python:here.ZSQLInlineSearchU(_table='personal_www',key=here.getKeyUTF8())" | |
8 > | |
9 <form action="editMainData" method="get"> | |
10 <table> | |
11 <tr> | |
12 <td><b>Name</b></td> | |
13 <td><input size="30" tal:attributes="value python:here.unicodify(person.last_name)" name="last_name"></td> | |
14 </tr> | |
15 <tr> | |
16 <td><b>First Name</b></td> | |
17 <td><input size="30" tal:attributes="value python:here.decode(person.first_name)" name="first_name"></td> | |
18 </tr> | |
19 <tr> | |
20 <td><b>Academic degrees and position</b></td> | |
21 <td><textarea tal:content="python:here.decode(person.titles_new)" name="titles_new" cols="60" rows="3"/></td> | |
22 </tr> | |
23 <tr> | |
24 <td><b>Status</b></td> | |
25 <td tal:content="python:here.decode(person.status)"/> | |
26 </tr> | |
27 <tr> | |
28 <td><b>Department</b></td> | |
29 <td tal:content="python:here.decode(person.department)"/> | |
30 </tr> | |
31 <tr> | |
32 <td><b>Stay</b></td> | |
33 <td><span tal:content="python:here.decode(person.date_from)"/> to | |
34 <span tal:content="python:here.decode(person.date_to)"/> | |
35 </td> | |
36 <tr> | |
37 <td><b>Funded by (external funding)</b></td> | |
38 <td><input size="30" tal:attributes="value python:here.decode(person.funded_by)" name="funded_by"></td> | |
39 </tr> | |
40 | |
41 <!-- <tr> | |
42 <td><b>Home institution</b></td> | |
43 <td><input size="30" tal:attributes="value python:here.decode(person.home_inst)" name="home_inst"></td> | |
44 </tr>--> | |
45 </table> | |
46 <table> | |
47 <tr><th></th><th></th><th align="left">show</th></tr> | |
48 <tr> | |
49 <td><b>email (MPIWG)</b></td> | |
50 <td tal:content="python:here.decode(person.e_mail)"/> | |
51 <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( | |
52 'e_mail_p', | |
53 yes_no_list, | |
54 boxType='radio', | |
55 checked=person.e_mail_p)"/> | |
56 </tr> | |
57 <tr> | |
58 <td><b>email (additional)</b></td> | |
59 <td><input size="30" name="e_mail2" tal:attributes="value python:here.decode(person.e_mail2)"></td> | |
60 <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( | |
61 'e_mail2_p', | |
62 yes_no_list, | |
63 boxType='radio', | |
64 checked=person.e_mail2_p)"/> | |
65 </tr> | |
66 <tr> | |
67 <td><b>Room</b></td> | |
68 <td><input size="30" name="room_no" tal:attributes="value python:here.decode(person.room_no)"></td> | |
69 <td>(never published)</td> | |
70 </tr> | |
71 | |
72 <!-- <tr> | |
73 <td><b>Private homepage</b></td> | |
74 <td><input size="30" name="private_homepage" tal:attributes="value python:here.decode(person.private_homepage)"></td> | |
75 <td> </td> | |
76 </tr> | |
77 --> | |
78 <tr> | |
79 <td><b>Telephone</b></td> | |
80 <td><input size="30" name="telefon" tal:attributes="value python:here.decode(person.telefon)"></td> | |
81 <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( | |
82 'telefon_p', | |
83 yes_no_list, | |
84 boxType='radio', | |
85 checked=person.telefon_p)"/> | |
86 </tr> | |
87 <tr> | |
88 <td><b>Fax</b></td> | |
89 <td><input size="30" name="fax" tal:attributes="value python:here.decode(person.fax)"></td> | |
90 <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( | |
91 'fax_p', | |
92 yes_no_list, | |
93 boxType='radio', | |
94 checked=person.fax_p)"/> | |
95 </tr> | |
96 </table> | |
97 <input type="submit" value="submit"> | |
98 </form> | |
99 <p>To add references to your homepage at other institutions plese use <a href="editAdditionalLinks">the additional links tab</a></p> | |
100 </tal:block> | |
101 </body> | |
102 </html> | |
103 |