File:  [Repository] / MPIWGWeb / zpt / members_main.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Jul 6 16:49:36 2004 UTC (20 years ago) by dwinter
Branches: MAIN
CVS tags: HEAD
added functions for staff

    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"> 
   10:         <div id="Photo" style="position:absolute; width:200px; height:265px; z-index:2; left:483px; top:61px; visibility:visible"> 
   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>
   15:       <div id="NameTitle" style="position:absolute; width:323px; height:37px; z-index:3; left: 161px; top: 63px; visibility: visible"> 
   16:           <h3><span tal:replace="found/title"/> <span tal:replace="found/vorname"/> <span tal:replace="found/name"/></h3>
   17:       </div>
   18:         <div id="Position" style="position:absolute; width:323px; height:30px; z-index:5; left: 161px; top: 115px; visibility: visible"> 
   19:           <h4><span tal:replace="found/position"/></h4>
   20:       </div>
   21:         <div id="StayAtMpiwg" style="position:absolute; width:323px; height:32px; z-index:6; left: 161px; top: 158px; visibility: visible"> 
   22:           <p>Residence:<br>
   23:           <span tal:replace="found/stay_at_mpiwg"/></p>
   24:       </div>
   25:         <div id="Adress" style="position:absolute; width:323px; height:90px; z-index:4; left: 161px; top: 210px"> 
   26:           <p>Max Planck Institute for the History of Science<br>
   27:           Wilhelmstra&szlig;e 44<br>
   28:           D - 10117 Berlin<br>
   29:           Germany</p>
   30:         </div>
   31: <!-- middle right (PIM) -->
   32:         <div id="ContactsImg" style="position:absolute; width:355px; height:114px; z-index:1; left: 286px; top: 329px; visibility: visible;"> 
   33:         <table width="400" border="0">
   34:             <tr> 
   35:               <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"> 
   36:               </td>
   37: 	    <tal:block tal:condition="python:found.telefon_p=='yes'">
   38: 	    <td width="84" height="25"> 
   39:                 <p>tel.:</p>
   40:             </td>
   41:             <td width="180" height="25"> 
   42:                <p tal:content="found/telefon">[FMP-Field: telefon]</p>
   43:            </td>
   44:            </tal:block>
   45:           </tr>
   46:           <tr> 
   47: 	     <tal:block tal:condition="python:found.e_mail_p=='yes'">
   48:             <td width="84" height="25"> 
   49:                 <p>email:</p>
   50:             </td>
   51:             <td width="180" height="25"> 
   52:                 <p> <a tal:attributes="href python:'mailto:'+found.e_mail" tal:content="found/e_mail">[FMP-Field: e_mail]</a></p>
   53:             </td>
   54: 	    </tal:block>
   55:           </tr>
   56:           <tr> 
   57: 	    <tal:block tal:condition="python:found.fax_p=='yes'">
   58: 	      <td width="84" height="25"> 
   59:                 <p>fax:</p>
   60: 			</td>
   61:              <td width="180" height="25">               
   62:            <p tal:content="found/fax">[FMP-Field: fax]</p>          
   63:               </td>
   64: 	     </tal:block>
   65:           </tr>
   66:           <tr> 
   67: 	    <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.private_homepage)">
   68:             <td width="84" height="25"> 
   69:                 <p>homepage:</p>
   70:             </td>
   71:               <td width="180" height="25"> 
   72:                 <p><a tal:attributes="href found/private_homepage" target="_new" tal:content="found/private_homepage">[FMP-Field: private_homepage]</a></p>
   73:             </td>   
   74: 	      </tal:block>
   75:           </tr>
   76:         </table>
   77: <!-- middle right (PIM) END -->
   78: </div>
   79:         <!-- bottom right -->
   80:         <div id="Daten" style="position:absolute; z-index:10; left: 173px; top: 489px; width: 578px; height: 589px; visibility: visible"> 
   81: 
   82: 	  <tal:block tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',id_main=found.id)" tal:condition="founds2">	
   83:           <div id="ResearchInterests" style="position:relative; width:581px; z-index:13;"> 
   84:             <img src="images/en/Fieldnames72_NBCurrentWork.jpg" width="211" height="33"> 
   85:             <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>
   86:             
   87:             <p> 
   88:               <!-- Please do not delete -->
   89:               &nbsp;</p>
   90:           </div>
   91:           </tal:block>
   92: 
   93: 	  <tal:block tal:define="founds2 python:here.ZSQLInlineSearch(_table='research_interest',id_main=found.id)" tal:condition="founds2">	
   94: 	    <div id="Research" style="position:relative; width:581px; z-index:12;"> 
   95:             <img src="images/en/Fieldnames72_NBResearchInt.jpg" width="211" height="33"> 
   96:            
   97: 
   98:             <p tal:repeat="found2 founds2" class="p_indent"> <img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0">&nbsp; 
   99:               <span tal:replace="found2/interest"/></p>
  100:        
  101:             <p> 
  102:               <!-- Please do not delete -->
  103:               &nbsp;</p>
  104:           </div>
  105: 	  </tal:block>
  106:           <div id="Teaching" style="position:relative; width:581px; z-index:14;"> 
  107:             <img src="images/en/Fieldnames72_NBProjectsMPI.jpg" width="211" height="33"> 
  108:             <p> </p>
  109: 	    <tal:block tal:repeat="projects python:here.getProjectsOfMember(email=here.getId())">
  110:             <p tal:repeat="project python:projects[1]" class="p_indent"> <a tal:attributes="href python:project.absolute_url"><img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0"><span tal:replace="python:project.WEB_title[0].encode('utf-8')"/></a></p>
  111: 		</tal:block>							
  112:             <p> 
  113:               <!-- Please do not delete -->
  114:               &nbsp;</p>
  115:           </div>
  116:       
  117:           <!--  -->
  118:           <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.cv)">
  119:             <div id="FutureTalks" style="position:relative; width:581px; z-index:31;"> 
  120:             <img src="images/en/Fieldnames72_NBCurricVitae.jpg" width="211" height="33"> 
  121:             <p class="p_indent" tal:content="structure python:here.formatAscii(found.cv)"> [FMP-Field: CV] </p>
  122:             <p> 
  123:               <!-- Please do not delete -->
  124:               &nbsp;</p>
  125:           </div>
  126: 	  </tal:block>
  127: 	  <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.awards)">
  128:            <div id="Awards" style="position:relative; width:581px; z-index:32;"> 
  129:             <img src="images/en/Fieldnames72_NBAwards.jpg" width="211" height="33"> 
  130:             <p class="p_indent" tal:content="structure python:here.formatAscii(found.awards)"> [FMP-Field: awards, break] </p>
  131:             <p> 
  132:               <!-- Please do not delete -->
  133:             </p>
  134:           </div>
  135:           </tal:block>
  136:           <div id="Conferences" style="position:relative; width:581px; z-index:15;"> 
  137:             <img src="images/en/Fieldnames72_NBPublications.jpg" width="211" height="33"> 
  138: 	    <p/>
  139: 	    <tal:block tal:repeat="found3 python:here.ZSQLInlineSearch(storename='search3',_table='publications',id_main=found.id,_max=5,_sort='priority')">
  140:             <p class="p_indent"> <img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0"> 
  141: 	      <span tal:replace="structure python:here.formatBibliography(here,found3)"/>
  142:             <p> 
  143: 	    </tal:block>
  144: 	    
  145:             <p tal:condition="python:here.ZSQLFoundCount(storename='search3')>5" class="p_indent"> <img src="bilder/RightArrowSmall.jpg" width="17" height="9" border="0"> 
  146:               <a tal:attributes="href python:'publications_full?-table=personal_www&amp;id='+found.id"> 
  147:               more </a> </p>
  148:             
  149:             <!--<p class="p_indent"> <a href="institutsbiblio/FMPro?-db=personal-www&amp;-max=1&amp;-Lay=ALL&amp;-format=search_inst_bib.html&amp;ID=[FMP-Field: ID]&amp;-Error=null.html&amp;-find" target="_new"> 
  150:               search the institute's bibliography </a> -->
  151:               <!-- Please do not delete -->
  152:               &nbsp; 
  153:             <p> 
  154:               <!-- Please do not delete -->
  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> 
  176:               <!-- Please do not delete -->
  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>
  201:             <!-- Please do not delete -->
  202:             <p>&nbsp; </p>
  203:           </div>
  204: 	  </tal:block>
  205: </table>
  206: </tal:block>
  207:   </body>
  208: </html>
  209: <!-- to be done institutsbiliographie integrieren
  210: images
  211: 
  212: published yes or no abfragen
  213: -->

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