Diff for /MPIWGWeb/zpt/Attic/editMainData.zpt between versions 1.1.2.2 and 1.1.2.8

version 1.1.2.2, 2005/10/18 12:59:51 version 1.1.2.8, 2008/08/26 15:01:41
Line 2 Line 2
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html metal:use-macro="here/mainEditFile/macros/page">  <html metal:use-macro="here/mainEditFile/macros/page">
 <body>  <body>
   <tal:block metal:fill-slot="navsel" tal:define="global selected python:'maindata'"/>    <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';    <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno';
   global person python:here.ZSQLInlineSearchU(_table='personal_www',username=here.getId())"    global person python:here.ZSQLInlineSearchU(_table='personal_www',key=here.getKey())"
   >    >
   <form action="" method="get">    <form action="editMainData" method="get">
   <table>    <table>
     <tr>      <tr>
         <td>Name</td>          <td><b>Name</b></td>
         <td><input size="30" tal:attributes="value person/name" name="name"></td>          <td><input size="30" tal:attributes="value python:here.decode(person.last_name)" name="last_name"></td>
       </tr>
       <tr>
           <td><b>First Name</b></td>
           <td><input size="30" tal:attributes="value python:here.decode(person.first_name)" name="first_name"></td>
     </tr>      </tr>
     <tr>      <tr>
         <td>First Name</td>          <td><b>Title</b></td>
         <td><input size="30" tal:attributes="value person/vorname" name="vorname"></td>          <td><input size="30" tal:attributes="value python:here.decode(person.title)" name="title"></td>
     </tr>      </tr>
     <tr>      <tr>
         <td>Title</td>          <td><b>Status</b></td>
         <td><input size="30" tal:attributes="value person/title" name="title"></td>          <td tal:content="python:here.decode(person.status)"/>
     </tr>      </tr>
     <tr>      <tr>
         <td>Department</td>          <td><b>Department</b></td>
         <td tal:content="structure python:here.ZSQLOptionsFromCRList('abteilung',here.departmentList,selected=person.abteilung)"/>          <td tal:content="python:here.decode(person.department)"/>
     </tr>      </tr>
     <tr>      <tr>
         <td>Stay</td>          <td><b>Stay</b></td>
         <td>from <input size="10" tal:attributes="value person/date_from" name="date_from"> to          <td><span tal:content="python:here.decode(person.date_from)"/> to
         <input size="10" tal:attributes="value person/date_to" name="date_to">            <span tal:content="python:here.decode(person.date_to)"/>
         (format: YYYY/MM/DD)  
         </td>          </td>
     <tr>      <tr>
         <td>funded by (external funding):</td>          <td><b>Funded by (external funding)</b></td>
         <td><input size="30" tal:attributes="value person/funded_by" name="funded_by"></td>          <td><input size="30" tal:attributes="value python:here.decode(person.funded_by)" name="funded_by"></td>
     </tr>      </tr>
           
     <tr>      <tr>
         <td>Home institution</td>          <td><b>Home institution</b></td>
         <td><input size="30" tal:attributes="value person/heimat_inst" name="heimat_inst"></td>          <td><input size="30" tal:attributes="value python:here.decode(person.home_inst)" name="home_inst"></td>
     </tr>      </tr>
  </table>   </table>
  <table>   <table>
     <tr><th></th><th></th><th align="left">show</th></tr>      <tr><th></th><th></th><th align="left">show</th></tr>
     <tr>      <tr>
         <td>e-mail (MPIWG)</td>          <td><b>email (MPIWG)</b></td>
         <td tal:content="person/e_mail"/>          <td tal:content="python:here.decode(person.e_mail)"/>
         <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(          <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
                  'e_mail_p',                   'e_mail_p',
                  yes_no_list,                   yes_no_list,
Line 53 Line 55
                  checked=person.e_mail_p)"/>                   checked=person.e_mail_p)"/>
     </tr>      </tr>
     <tr>      <tr>
         <td>e-mail (additional)</td>          <td><b>email (additional)</b></td>
         <td><input size="30" name="e_mail2" tal:attributes="value person/e_mail2"></td>          <td><input size="30" name="e_mail2" tal:attributes="value python:here.decode(person.e_mail2)"></td>
         <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(          <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
                  'e_mail2_p',                   'e_mail2_p',
                  yes_no_list,                   yes_no_list,
Line 62 Line 64
                  checked=person.e_mail2_p)"/>                   checked=person.e_mail2_p)"/>
     </tr>      </tr>
     <tr>      <tr>
         <td>room</td>          <td><b>Room</b></td>
         <td><input size="30" name="room_no" tal:attributes="value person/room_no"></td>          <td><input size="30" name="room_no" tal:attributes="value python:here.decode(person.room_no)"></td>
         <td>(never published)</td>          <td>(never published)</td>
     </tr>      </tr>
           
     <tr>      <tr>
         <td>private homepage</td>          <td><b>Private homepage</b></td>
         <td><input size="30" name="private_homepage" tal:attributes="value person/private_homepage"></td>          <td><input size="30" name="private_homepage" tal:attributes="value python:here.decode(person.private_homepage)"></td>
         <td>&nbsp;</td>          <td>&nbsp;</td>
     </tr>      </tr>
           
     <tr>      <tr>
         <td>telephone</td>          <td><b>Telephone</b></td>
         <td><input size="30" name="telefon" tal:attributes="value person/telefon"></td>          <td><input size="30" name="telefon" tal:attributes="value python:here.decode(person.telefon)"></td>
         <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(          <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
                  'telefon_p',                   'telefon_p',
                  yes_no_list,                   yes_no_list,
Line 83 Line 85
                  checked=person.telefon_p)"/>                   checked=person.telefon_p)"/>
     </tr>      </tr>
     <tr>      <tr>
         <td>fax</td>          <td><b>Fax</b></td>
         <td><input size="30" name="fax" tal:attributes="value person/fax"></td>          <td><input size="30" name="fax" tal:attributes="value python:here.decode(person.fax)"></td>
         <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(          <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
                  'fax_p',                   'fax_p',
                  yes_no_list,                   yes_no_list,

Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>