Diff for /MPIWGWeb/zpt/Attic/editMainData.zpt between versions 1.1.2.1 and 1.1.2.11

version 1.1.2.1, 2005/10/12 19:35:38 version 1.1.2.11, 2010/02/10 18:25:45
Line 1 Line 1
   <!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">  <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';    <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.getKeyUTF8())"
   >    >
   <form action="" method="get">    <form action="editMainData" method="get">
   <h3>Edit main data</h3>  
   <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.unicodify(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>Academic degrees and position</b></td>
         <td><input size="30" tal:attributes="value person/vorname" name="vorname"></td>          <td><textarea  tal:content="python:here.decode(person.titles_new)" name="titles_new" cols="60" rows="3"/></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>      <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 49 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 58 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>Telefon</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 79 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,
Line 90 Line 96
  </table>   </table>
  <input type="submit" value="submit">   <input type="submit" value="submit">
  </form>   </form>
    <p>To add references to your homepage at other institutions plese use <a href="editAdditionalLinks">the additional links tab</a></p>
  </tal:block>   </tal:block>
    </body>
  </html>   </html>
     
   

Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.11


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