Diff for /MPIWGWeb/zpt/Attic/edit_publicationForm.zpt between versions 1.1.2.7 and 1.1.2.8

version 1.1.2.7, 2008/08/27 12:12:48 version 1.1.2.8, 2010/09/13 11:23:58
Line 12 Line 12
   <p>Bibliographical entry</p>    <p>Bibliographical entry</p>
     <textarea tal:content="structure python:getattr(here,'text','')" name="text" rows="3" cols="80"></textarea>      <textarea tal:content="structure python:getattr(here,'text','')" name="text" rows="3" cols="80"></textarea>
           
     <p>Link</p>
       <input size="100"  tal:attributes="value python:getattr(here,'link','')" name="link">
     
     <h4>Images</h4>
     <p>To display images on the you should use book pages. The link above has to be a link to a book page.</p>
     
     <tal:x tal:condition="python:here.hasLinkToBookPage()" tal:define="url python:here.getImageUrls()">
         <p>Image 1 (e.g. Cover)</p>
   
     <p tal:condition="python:len(url)>0">
       <img tal:attributes="src python:url[0]" height="100"/>
     </p>
     
     <p>Image 2 (e.g. Table of Contents)</p>
     <p tal:condition="python:len(url)>1">
       <img tal:attributes="src python:url[1]" height="100"/>
       </p>
      
     </tal:x>
     <p tal:condition="not:python:here.hasLinkToBookPage()">
      Link is not a link to a bookPage
     </p>
     
     
     <!-- 
   <p>Image 1 (e.g. Cover)</p>    <p>Image 1 (e.g. Cover)</p>
   <p tal:condition="python:hasattr(here,'publicationImage1')">    <p tal:condition="python:hasattr(here,'publicationImage1')">
     <img tal:attributes="src python:here.publicationImage1.absolute_url()" height="100"/>      <img tal:attributes="src python:here.publicationImage1.absolute_url()" height="100"/>
Line 23 Line 48
     </p>      </p>
    <p>Upload new image:<input type="file" name="image2" len="50"/></p>     <p>Upload new image:<input type="file" name="image2" len="50"/></p>
       
     -->
   <p>Descriptive Text</p>    <h3>Descriptive Text</h3>
   <p>    <p>
   <textarea tal:content="structure python:getattr(here,'description','')" name="description" rows="10" cols="80"></textarea>    <textarea tal:content="structure python:getattr(here,'description','')" name="description" rows="10" cols="80"></textarea>
   </p>    </p>

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


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