Diff for /ImageArchive/zpt/upDateImageForm.zpt between versions 1.3 and 1.4

version 1.3, 2006/05/15 08:18:02 version 1.4, 2006/05/16 10:28:09
Line 1 Line 1
 <html>  <html>
  <body>   <body>
  <tal:block tal:repeat="foundMDtmp python:here.ZSQLInlineSearch(_table='vision_images',filename=here.getId().split('.')[0],_op_filename='ct')">   <tal:block tal:repeat="foundMD python:here.ZSQLInlineSearch(_table=here.imageCollectionConfig.getTable(),filename=here.getId().split('.')[0],_op_filename='ct')">
  <tal:block tal:repeat="foundMD python:here.ZSQLInlineSearch(_table='vision_main',id_image=foundMDtmp.id,_op_id_image='eq')">  
       
     <h1> Update an Image at the Collection Folder</h1>      <h1> Update an Image at the Collection Folder</h1>
    <p tal:content="here/getId"/>     <p tal:content="here/getId"/>
Line 9 Line 8
     <span tal:replace="structure python:here.thumb()"/></p>       <span tal:replace="structure python:here.thumb()"/></p> 
     <form action="updateImage" method="post" enctype="multipart/form-data">      <form action="updateImage" method="post" enctype="multipart/form-data">
   
     <p>Filename:<input type="file" name="file" size="30"></p>      <p>Filename:<input type="file" name="_fileupload" size="30"></p>
         <p><input type="checkbox" name="rename" checked>Rename to the new filename</p>          <p><input type="checkbox" name="_rename" checked>Rename to the new filename</p>
       
       
       <table>
       <tr tal:repeat="field python:here.imageCollectionConfig.getFields().keys()">
       <td>
           <tal:x replace="python:here.imageCollectionConfig.getFields()[field][0]"/>
       </td>
       <td>
            <input size="70" tal:attributes="value python:getattr(foundMD,field);
                                    name field;
            "/>
       </td>
       </tr>
       </table>
           <input type="hidden" name="-table" tal:attributes="value python:here.imageCollectionConfig.getTable()">
           <input type="hidden" size="40" name="_identifyField" 
               tal:attributes="value python:getattr(foundMD,here.imageCollectionConfig.getKey())">
           
         <input type="hidden" name="-db" value="vision_main">  
         artist_author <input type="text" size="40" name="artist_author" tal:attributes="value foundMD/artist_author"><br>  
         object_title <input type="text" size="40" name="object_title" tal:attributes="value foundMD/object_title"><br>  
         inscription <input type="text" size="40" name="inscription" tal:attributes="value foundMD/inscription"><br>  
           
     <input type="submit">         <input type="submit">   
     
    </form>     </form>
 </tal:block>  </tal:block>
 </tal:block>  
 </body>  </body>
 </html>  </html>
   

Removed from v.1.3  
changed lines
  Added in v.1.4


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