Diff for /ECHO_content/zpt/ChangeECHO_externalLink.zpt between versions 1.4 and 1.13

version 1.4, 2004/04/04 17:48:22 version 1.13, 2007/02/20 15:55:21
Line 1 Line 1
 <html>  <div tal:replace="structure here/manage_page_header">Header</div>
   <body>  <!-- ZOPE management tabs -->
     <h2>Change External Link</h2>  <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
       tal:replace="structure here/manage_tabs">Tabs</h2>
   
     <form name="form" action="changeECHO_externalLink">      <form name="form" action="changeECHO_externalLink">
       <table>        <table>
   
       <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title"></td></tr>        <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title" size="80"></td></tr>
       <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label"></td></tr>        <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label" size="80"></td></tr>
       <tr><td><b> Link: </b></td><td><input type="text" name="link" tal:attributes="value here/link"></td></tr>        <tr><td><b> Link: </b></td><td><input type="text" name="link" tal:attributes="value here/link" size="80"></td></tr>
       <tr><td><b> Weight: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>        <tr><td><b> Weight: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
       <tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=20 tal:content="here/description"></textarea></td></tr>        <tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=20 tal:content="here/description"></textarea></td></tr>
       <tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=here.contentType)"/></td></tr>        <tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=here.contentType)"/></td></tr>
       <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>        <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
         <tr><td><i>Link type:</i> </td>
       <td>
         <select name="linkType">
           <option tal:condition="python:here.getLinkType() == 'otherPresentation'" value="otherPresentation" selected>Other presentation of the content</option>
           <option tal:condition="not:python:here.getLinkType() == 'otherPresentation'" value="otherPresentation">Other presentation of the content</option>
           <option tal:condition="python:here.getLinkType() == 'external'" value="external" selected>Additional external Link</option>
           <option tal:condition="not:python:here.getLinkType() == 'external'" value="external">Additional external Link</option>
         </select>
       </td>
         </tr> 
 </table>  </table>
   
     <h4>Coords</h4>             
       <table>  
       <tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord"></td></tr>  
 </table>             
 <h3> Credits:</h3>  <h3> Credits:</h3>
               
       <div tal:repeat="item here/partners/getPartners">        <div tal:repeat="item here/getPartners">
           
     <div tal:condition="python:item.getId() in here.getCredits()">      <div tal:condition="python:item.getId() in here.getCredits()">
               
       <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>        <input type="checkbox" name="credits" tal:attributes="value item/id"  checked><tal:block tal:content="item/title"/>
     </div>      </div>
     <div tal:condition="not:python:item.getId() in here.getCredits()">      <div tal:condition="not:python:item.getId() in here.getCredits()">
         <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>          <input type="checkbox" name="credits" tal:attributes="value item/id"><tal:block tal:content="item/title"/>
     </div>      </div>
   
       </div>        </div>
       <input type="submit" value="Change"><br><br>        <input type="submit" value="Change"><br><br>
        </form>         </form>
    </body>  <h1 tal:replace="structure here/manage_page_footer">Footer</h1>
 </html>  

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


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