view zpt/staff/edit_basic.zpt @ 37:9b38ba45773b

?berarbeitung MPIWGStaff neue editfunktionen
author dwinter
date Fri, 26 Apr 2013 17:19:08 +0200
parents
children ee79f6ba8d01
line wrap: on
line source

<!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:maindata"/>
  <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
  <form action="" method="get">
  <table>
  	<tr>
  		<td><b>Name</b></td>
  		<td><input size="30" tal:attributes="value python:here.content.last_name" name="last_name"></td>
  	</tr>
  	<tr>
  		<td><b>First Name</b></td>
  		<td><input size="30" tal:attributes="value python:here.content.first_name" name="first_name"></td>
  	</tr>
  	<tr>
  	 	<td><b>Academic degrees and position</b></td>
  		<td><textarea  tal:content="python:here.content.titles_new" name="titles_new" cols="60" rows="3"/></td>
  	</tr>
  	<tr>
  		<td><b>Status</b></td>
  		<td tal:content="python:here.content.status"/>
  	</tr>
  	<tr>
  		<td><b>Department</b></td>
  		<td tal:content="python:here.content.department"/>
  	</tr>
  	<tr>
  		<td><b>Stay</b></td>
  		<td><span tal:content="python:here.content.date_from"/> to
  		  <span tal:content="python:here.content.date_to"/>
  		</td>
  	<tr>
  		<td><b>Funded by (external funding)</b></td>
  		<td><input size="30" tal:attributes="value python:here.content.funded_by" name="funded_by"></td>
  	</tr>
  	
<!--  	<tr>
  	 	<td><b>Home institution</b></td>
  		<td><input size="30" tal:attributes="value python:here.content.home_inst" name="home_inst"></td>
  	</tr>-->
 </table>
 <table>
    <tr><th></th><th></th><th align="left">show</th></tr>
 	<tr>
 		<td><b>email (MPIWG)</b></td>
 		<td tal:content="python:here.content.e_mail"/>
 		<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
			     'e_mail_p',
			     yes_no_list,
			     boxType='radio',
			     checked=here.content.e_mail_p)"/>
 	</tr>
 	<tr>
 		<td><b>email (additional)</b></td>
 		<td><input size="30" name="e_mail2" tal:attributes="value python:here.content.e_mail2"></td>
 		<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
			     'e_mail2_p',
			     yes_no_list,
			     boxType='radio',
			     checked=here.content.e_mail2_p)"/>
 	</tr>
 	<tr>
 		<td><b>Room</b></td>
 		<td><input size="30" name="room_no" tal:attributes="value python:here.content.room_no"></td>
 		<td>(never published)</td>
 	</tr>
 	
<!-- 	<tr>
 		<td><b>Private homepage</b></td>
 		<td><input size="30" name="private_homepage" tal:attributes="value python:here.decode(person.private_homepage)"></td>
 		<td>&nbsp;</td>
 	</tr>
 -->	
 	<tr>
 		<td><b>Telephone</b></td>
 		<td><input size="30" name="telefon" tal:attributes="value python:here.content.telefon"></td>
 		<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
			     'telefon_p',
			     yes_no_list,
			     boxType='radio',
			     checked=here.content.telefon_p)"/>
 	</tr>
 	<tr>
 		<td><b>Fax</b></td>
 		<td><input size="30" name="fax" tal:attributes="value python:here.content.fax"></td>
 		<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
			     'fax_p',
			     yes_no_list,
			     boxType='radio',
			     checked=here.content.fax_p)"/>
 	</tr>
 </table>
 <input type="submit" value="submit">
 </form>
 <p>To add references to your homepage at other institutions plese use <a href="editAdditionalLinks">the additional links tab</a></p>
 </tal:block>
 </body>
 </html>