Diff for /MPIWGWeb/zpt/Attic/edit_MPIWGBasisNeu.zpt between versions 1.1.2.2 and 1.1.2.7

version 1.1.2.2, 2005/09/14 20:45:56 version 1.1.2.7, 2006/11/08 14:47:13
Line 1 Line 1
 <html>  <!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/edit_MPIWGProject_main/macros/page">
 <head>  <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  
 <style type="text/css">  
 <!--  
 .add-nav {  
 font-weight:bold;  
 padding-left:8px;  
 }  
 -->  
 </style>  
 </head>  </head>
 <body>  <body>
 <h2>Edit: <i tal:content="python:here.getContent('WEB_title')"/></h2>  <tal:block metal:fill-slot="navsel" tal:define="global menusel string:basis" />
 <p><a class="add-nav" href="edit">Project Description</a> <a class="add-nav" href="">Publications</a><a class="add-nav" href="manageImages">Images at the margin</a><a class="add-nav" href="editMPIWGDisciplinesThemesEditor">Themes and disciplines</a><a class="add-nav"  <tal:block metal:fill-slot="body">
 >Additional information</a></p>  
 <hr>  
   
 <h3>Edit Basis information</h3>  
 <form method="POST" action="editMPIWGProject">  <form method="POST" action="editMPIWGProject">
 <input type="hidden" name="fromEdit" value="yes"/>  <input type="hidden" name="fromEdit" value="yes"/>
 <table>  <table>
 <tr>  <tr>
 <td>Project Title</td>        <td><b>Project Title</b></td>
 <td><input tal:attributes="name python:'WEB_title'; value python:here.getContent('WEB_title')" size=100/></td>        <td>
           <input tal:attributes="name python:'WEB_title'; value python:here.getContent('WEB_title')" size="80"/>
         </td>
 </tr>  </tr>
 <tal:block tal:repeat="field here/getDataFields">  <tal:block tal:repeat="field here/getDataFields">
 <tr>  <tr>
 <td tal:content="python:here.fieldLabels[field]"/>          <td><b tal:content="python:here.fieldLabels[field]"/></td>
 <td> <input tal:attributes="name field; value python:here.getContent(field)" size=100/></td>          <td><input tal:attributes="name field; value python:here.getContent(field)" size=80 /></td>
 </tr>  </tr>
 <tr tal:condition="python:here.isCheckField(field)">  <tr tal:condition="python:here.isCheckField(field)">
 <td colspan=2 height="20">          <td/>
 <tal:block  tal:define="checkList python:here.giveCheckList(here,field)">          <td><tal:block tal:define="checkList python:here.giveCheckList(here,field)">
 <tal:block  repeat="item checkList/keys">  <tal:block  repeat="item checkList/keys">
 <span tal:replace="item"/>:  <span tal:replace="item"/>:
 <tal:block tal:condition="python:len(checkList[item])>0">              <tal:block tal:condition="python:len(checkList[item])>0">found</tal:block> 
 found              <tal:block tal:condition="not:python:len(checkList[item])>0"><font color="#ff0000">not found</font></tal:block>
 </tal:block>  
 <tal:block tal:condition="not:python:len(checkList[item])>0">  
 <font color="#ff0000">not found</font>  
 </tal:block>  
   
   
 <!--<input tal:repeat="prop python:checkList[item]"   
        type="radio"   
        tal:attributes="name python:'val_%s'%field; value python:prop[0].getId()"   
        tal:content="python:prop[1]"/>-->  
 </tal:block>  </tal:block>
 <br>  <br>
           </tal:block></td>
         </tr>
 </tal:block>  </tal:block>
       <tr>
        <td><b>Historical names (new)</b><br/>
        Please names enter as <br>
         LASTNAME,FIRSTNAME <br/>or LASTNAME,FIRSTNAME MIDDLE.. <br> with 
        <em>no space</em> before FIRSTNAME
        </td>
        <td><textarea name="historicalNames" tal:content="python:'\n'.join(here.getNamesInProject(here.getId()))" rows="10" cols="30">NAMES</textarea>
 </td>  </td>
 </tr>  </tr>
 </tal:block>          <tr tal:define="hasChildren python:here.hasChildren()">
           <td>Project is active</td>
            <tal:x tal:condition="python:hasChildren and here.isActiveProject()" >
             <td>active (status cannot be changed, because the project has active children.)
              <input tal:attributes="name python:'active'" value="true" type="hidden">
             </td>
            </tal:x>
            <tal:x tal:condition="python:(not hasChildren) or (hasChildren and not here.isActiveProject())">
             <td tal:condition="python:here.isActiveProject()" >
               <input tal:attributes="name python:'active'" value="true" checked type="checkbox">
             </td>
             <td tal:condition="not:python:here.isActiveProject()">
               <input tal:attributes="name python:'active'" value="true" type="checkbox">
               <tal:x tal:condition="python:hasChildren" >
                    WARNING: This project is not active, but has active children.
               </tal:x>
             </td>
           </tal:x>
        </tr>
 </table>  </table>
     <p><input type="submit" value="change"/></p>
     
 <input type="submit" value="change">  
 </form>  </form>
     </tal:block>
 </body>  </body>
 </html>  </html>

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


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