Annotation of MPIWGWeb/zpt/members_main.zpt, revision 1.2

1.1       dwinter     1: <html metal:use-macro="here/main_template/macros/page">
                      2: <head>
                      3: <title tal:content="template/title">The title</title>
                      4: </head>
                      5: <body>
                      6: 
                      7: <tal:block metal:fill-slot="body" tal:define="found python:here.ZSQLInlineSearch(_table='personal_www',username=here.getId())[0]">
                      8: <table>
                      9:      <td valign="top" width="610"> 
1.2     ! dwinter    10: <!--        <div id="Photo" style="position:absolute; width:200px; height:265px; z-index:2; left:483px; top:61px; visibility:visible"> 
1.1       dwinter    11:        [FMP-if: image .neq.] 
                     12:                <b><img src="http://www.mpiwg-berlin.mpg.de/[FMP-Image: image]"></b> 
                     13:       [FMP-else]&nbsp;[/FMP-if] 
                     14:        </div>
1.2     ! dwinter    15: !-->
1.1       dwinter    16:       <div id="NameTitle" style="position:absolute; width:323px; height:37px; z-index:3; left: 161px; top: 63px; visibility: visible"> 
                     17:           <h3><span tal:replace="found/title"/> <span tal:replace="found/vorname"/> <span tal:replace="found/name"/></h3>
                     18:       </div>
                     19:         <div id="Position" style="position:absolute; width:323px; height:30px; z-index:5; left: 161px; top: 115px; visibility: visible"> 
                     20:           <h4><span tal:replace="found/position"/></h4>
                     21:       </div>
                     22:         <div id="StayAtMpiwg" style="position:absolute; width:323px; height:32px; z-index:6; left: 161px; top: 158px; visibility: visible"> 
                     23:           <p>Residence:<br>
                     24:           <span tal:replace="found/stay_at_mpiwg"/></p>
                     25:       </div>
                     26:         <div id="Adress" style="position:absolute; width:323px; height:90px; z-index:4; left: 161px; top: 210px"> 
                     27:           <p>Max Planck Institute for the History of Science<br>
                     28:           Wilhelmstra&szlig;e 44<br>
                     29:           D - 10117 Berlin<br>
                     30:           Germany</p>
                     31:         </div>
                     32: <!-- middle right (PIM) -->
                     33:         <div id="ContactsImg" style="position:absolute; width:355px; height:114px; z-index:1; left: 286px; top: 329px; visibility: visible;"> 
                     34:         <table width="400" border="0">
                     35:             <tr> 
                     36:               <td rowspan="4" width="48"><img src="images/EmailResponseOrg.gif" width="40" height="49" align="middle"><img src="bilder/leer.gif" width="1" height="100" align="middle"> 
                     37:               </td>
                     38:        <tal:block tal:condition="python:found.telefon_p=='yes'">
                     39:        <td width="84" height="25"> 
                     40:                 <p>tel.:</p>
                     41:             </td>
                     42:             <td width="180" height="25"> 
                     43:                <p tal:content="found/telefon">[FMP-Field: telefon]</p>
                     44:            </td>
                     45:            </tal:block>
                     46:           </tr>
                     47:           <tr> 
                     48:         <tal:block tal:condition="python:found.e_mail_p=='yes'">
                     49:             <td width="84" height="25"> 
                     50:                 <p>email:</p>
                     51:             </td>
                     52:             <td width="180" height="25"> 
                     53:                 <p> <a tal:attributes="href python:'mailto:'+found.e_mail" tal:content="found/e_mail">[FMP-Field: e_mail]</a></p>
                     54:             </td>
                     55:        </tal:block>
                     56:           </tr>
                     57:           <tr> 
                     58:        <tal:block tal:condition="python:found.fax_p=='yes'">
                     59:          <td width="84" height="25"> 
                     60:                 <p>fax:</p>
                     61:            </td>
                     62:              <td width="180" height="25">               
                     63:            <p tal:content="found/fax">[FMP-Field: fax]</p>          
                     64:               </td>
                     65:         </tal:block>
                     66:           </tr>
                     67:           <tr> 
                     68:        <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.private_homepage)">
                     69:             <td width="84" height="25"> 
                     70:                 <p>homepage:</p>
                     71:             </td>
                     72:               <td width="180" height="25"> 
                     73:                 <p><a tal:attributes="href found/private_homepage" target="_new" tal:content="found/private_homepage">[FMP-Field: private_homepage]</a></p>
                     74:             </td>   
                     75:          </tal:block>
                     76:           </tr>
                     77:         </table>
                     78: <!-- middle right (PIM) END -->
                     79: </div>
                     80:         <!-- bottom right -->
1.2     ! dwinter    81: 
1.1       dwinter    82:         <div id="Daten" style="position:absolute; z-index:10; left: 173px; top: 489px; width: 578px; height: 589px; visibility: visible"> 
1.2     ! dwinter    83: <!--
1.1       dwinter    84:      <tal:block tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',id_main=found.id)" tal:condition="founds2"> 
                     85:           <div id="ResearchInterests" style="position:relative; width:581px; z-index:13;"> 
                     86:             <img src="images/en/Fieldnames72_NBCurrentWork.jpg" width="211" height="33"> 
                     87:             <p tal:repeat="found2 founds2" class="p_indent"><img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0">&nbsp; <span tal:replace="found2/current"/></p>
                     88:             
                     89:             <p> 
1.2     ! dwinter    90: 
1.1       dwinter    91:               &nbsp;</p>
                     92:           </div>
                     93:           </tal:block>
                     94: 
                     95:      <tal:block tal:define="founds2 python:here.ZSQLInlineSearch(_table='research_interest',id_main=found.id)" tal:condition="founds2">    
                     96:        <div id="Research" style="position:relative; width:581px; z-index:12;"> 
                     97:             <img src="images/en/Fieldnames72_NBResearchInt.jpg" width="211" height="33"> 
                     98:            
                     99: 
                    100:             <p tal:repeat="found2 founds2" class="p_indent"> <img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0">&nbsp; 
                    101:               <span tal:replace="found2/interest"/></p>
                    102:        
                    103:             <p> 
1.2     ! dwinter   104: 
1.1       dwinter   105:               &nbsp;</p>
                    106:           </div>
                    107:      </tal:block>
1.2     ! dwinter   108: -->
1.1       dwinter   109:           <div id="Teaching" style="position:relative; width:581px; z-index:14;"> 
                    110:             <img src="images/en/Fieldnames72_NBProjectsMPI.jpg" width="211" height="33"> 
                    111:             <p> </p>
                    112:        <tal:block tal:repeat="projects python:here.getProjectsOfMember(email=here.getId())">
1.2     ! dwinter   113:             <p tal:repeat="project python:projects[1]" class="p_indent"> <a tal:attributes="href python:project.absolute_url+'/index_html'"><img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0"><span tal:replace="python:project.WEB_title[0].encode('utf-8')"/></a></p>
1.1       dwinter   114:        </tal:block>                            
                    115:             <p> 
1.2     ! dwinter   116: 
1.1       dwinter   117:               &nbsp;</p>
                    118:           </div>
                    119:       
1.2     ! dwinter   120: <!--
1.1       dwinter   121:           <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.cv)">
                    122:             <div id="FutureTalks" style="position:relative; width:581px; z-index:31;"> 
                    123:             <img src="images/en/Fieldnames72_NBCurricVitae.jpg" width="211" height="33"> 
                    124:             <p class="p_indent" tal:content="structure python:here.formatAscii(found.cv)"> [FMP-Field: CV] </p>
                    125:             <p> 
1.2     ! dwinter   126: 
1.1       dwinter   127:               &nbsp;</p>
                    128:           </div>
                    129:      </tal:block>
                    130:      <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.awards)">
                    131:            <div id="Awards" style="position:relative; width:581px; z-index:32;"> 
                    132:             <img src="images/en/Fieldnames72_NBAwards.jpg" width="211" height="33"> 
                    133:             <p class="p_indent" tal:content="structure python:here.formatAscii(found.awards)"> [FMP-Field: awards, break] </p>
                    134:             <p> 
1.2     ! dwinter   135: 
1.1       dwinter   136:             </p>
                    137:           </div>
                    138:           </tal:block>
                    139:           <div id="Conferences" style="position:relative; width:581px; z-index:15;"> 
                    140:             <img src="images/en/Fieldnames72_NBPublications.jpg" width="211" height="33"> 
                    141:        <p/>
                    142:        <tal:block tal:repeat="found3 python:here.ZSQLInlineSearch(storename='search3',_table='publications',id_main=found.id,_max=5,_sort='priority')">
                    143:             <p class="p_indent"> <img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0"> 
                    144:          <span tal:replace="structure python:here.formatBibliography(here,found3)"/>
                    145:             <p> 
                    146:        </tal:block>
                    147:        
                    148:             <p tal:condition="python:here.ZSQLFoundCount(storename='search3')>5" class="p_indent"> <img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0"> 
                    149:               <a tal:attributes="href python:'publications_full?-table=personal_www&amp;id='+found.id"> 
                    150:               more </a> </p>
                    151:             
                    152:               &nbsp; 
                    153:             <p> 
1.2     ! dwinter   154: 
1.1       dwinter   155:               &nbsp;</p>
                    156:             </div>
                    157:      <tal:block tal:define="founds4 python:here.ZSQLInlineSearch(storename='search4',_table='talks',id_main=found.id,_max=5,_sort='priority')">
                    158:         
                    159:           <div tal:condition="founds4" id="Publications" style="position:relative; width:581px; z-index:16;"> 
                    160:             <img src="images/en/Fieldnames72_NBTalksPres.jpg" width="211" height="33"> 
                    161:             <p> </p>
                    162:        <tal:block tal:repeat="found4 founds4">
                    163:             
                    164:             <p tal:condition="not:python:here.ZSQLisEmpty(found4.link)" class="p_indent"> <a tal:attributes="href found4/link"><img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0">&nbsp; 
                    165:               <span tal:replace="found4/date"/> &#150; <span tal:replace="found4/place"/> &#150; <span tal:replace="found4/title"/>
                    166:               </a></p>
                    167: 
                    168:             <p tal:condition="python:here.ZSQLisEmpty(found4.link)" class="p_indent"><img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0">&nbsp; 
                    169:          <span tal:replace="found4/date"/> &#150; <span tal:replace="found4/place"/> &#150; <span tal:replace="found4/title"/>
                    170:             </p>
                    171:             </tal:block>
                    172:             <p tal:condition="python:here.ZSQLFoundCount(storename='search4')>5" class="p_indent"> <img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0"> 
                    173:          <a tal:attributes="href python:'talks_full?-table=personal_www&amp;id='+found.id"> 
                    174:               more </a> </p>
                    175:             <p> 
1.2     ! dwinter   176: 
1.1       dwinter   177:               &nbsp;</p>
                    178:           </div>
                    179:      </tal:block>
                    180: 
                    181:      <tal:block tal:define="founds5 python:here.ZSQLInlineSearch(storename='search5',_table='teaching',id_main=found.id,_max=5,_sort='priority')">
                    182:          
                    183: 
                    184:           <div tal:condition="founds5" id="Teaching" style="position:relative; width:581px; z-index:18;"> 
                    185:             <img src="images/en/Fieldnames72_NBTeaching.jpg" width="211" height="33"> 
                    186:             <p> </p>
                    187:        <tal:block tal:repeat="found5 founds5">
                    188:             
                    189:             <p tal:condition="not:python:here.ZSQLisEmpty(found5.link)" class="p_indent"> <a tal:attributes="href found4/link"><img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0">&nbsp; 
                    190:        <span tal:replace="found5/date"/> &#150; <span tal:replace="found5/place"/> &#150; <span tal:replace="found5/title"/>
                    191:               </a></p>
                    192: 
                    193:             <p  tal:condition="python:here.ZSQLisEmpty(found5.link)" class="p_indent"><img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0">&nbsp; 
                    194:          <span tal:replace="found5/date"/> &#150; <span tal:replace="found5/place"/> &#150; <span tal:replace="found5/title"/>
                    195:             </p>
                    196:             </tal:block>
                    197: 
                    198:             <p tal:condition="python:here.ZSQLFoundCount(storename='search5')>5" class="p_indent"> <img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0"> 
                    199:          <a tal:attributes="href python:'teaching_full?-table=personal_www&amp;id='+found.id"> 
                    200:               more </a> </p>
1.2     ! dwinter   201:    
1.1       dwinter   202:             <p>&nbsp; </p>
                    203:           </div>
                    204:      </tal:block>
1.2     ! dwinter   205: -->
1.1       dwinter   206: </table>
                    207: </tal:block>
                    208:   </body>
                    209: </html>
                    210: <!-- to be done institutsbiliographie integrieren
                    211: images
                    212: 
                    213: published yes or no abfragen
                    214: -->

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