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

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

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