Diff for /basket/zpt/BasketMain_manage_template_standard.zpt between versions 1.1 and 1.2

version 1.1, 2006/01/19 16:25:49 version 1.2, 2006/03/19 03:26:56
Line 16 Line 16
     <div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>      <div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>
           
     <!-- id selected: manage set -->      <!-- id selected: manage set -->
     <tal:block tal:condition="python:here.isAuthorized('edit')">      <tal:block tal:condition="python:here.checkPermission('edit')">
           
     <h3>Manage your Set</h3>      <h3>Manage your Set</h3>
     <br>      <br>
Line 25 Line 25
     <span tal:condition="not:currentBasket">Currently, there is no active basket.</span>      <span tal:condition="not:currentBasket">Currently, there is no active basket.</span>
     </p>      </p>
           
     <a href="addBasketText">Add a new textelement</a>      <a href="manageUserRights_html">Change editor/admin rights for this set</a><br>
       <a href="addBasketText">Add a new textelement</a><br>
       <a href="addBasketExternalLink">Add a new externalLink</a>
     <form action="changeBasket">      <form action="changeBasket">
         <input type="hidden" name="target" value="manageBasket">          <input type="hidden" name="target" value="manageBasket">
         Title:<br>          Title:<br>
Line 34 Line 36
         <textarea name="shortDescription" rows="2" cols="50" tal:content="here/shortDescription">Short description</textarea><br>          <textarea name="shortDescription" rows="2" cols="50" tal:content="here/shortDescription">Short description</textarea><br>
         Comment:<br>          Comment:<br>
         <textarea name="comment" rows="7" cols="50" tal:content="here/comment">A longer comment / introduction</textarea><br>          <textarea name="comment" rows="7" cols="50" tal:content="here/comment">A longer comment / introduction</textarea><br>
         <input type="checkbox" id="public" value="yes"> make set public<br><br>          <tal:x repeat="item here/publicationStatusList">
           <tal:x replace="python:here.checkPermission('publish')"/>
           <tal:x condition="python:(item!='open') or (item=='open' and here.checkPermission('publish'))">
           <input tal:condition="python:item==here.publicationStatus" type="radio" name="publicationStatus" tal:attributes="value item" checked>
           <input tal:condition="not:python:item==here.publicationStatus" type="radio" name="publicationStatus" tal:attributes="value item">
           <span tal:content="item"/>
           </tal:x>
           </tal:x>
           
         <input type="submit" value="save">          <input type="submit" value="save">
     </form>      </form>
           
Line 42 Line 52
           
     <h4>Contents:</h4>      <h4>Contents:</h4>
     <form action="changeBasketComments">      <form action="changeBasketComments">
     <div class="item" tal:repeat="item here/getObjects">      <div class="item" tal:repeat="item here/getBasketObjects">
     <hr>      <hr>
      <div>       <div>
         <a tal:attributes="href python:'moveTop?id=%s'%item.getId()">top</a>          <a tal:attributes="href python:'moveTop?id=%s'%item.getId()">top</a>
Line 52 Line 62
         &nbsp;&nbsp;<a tal:attributes="href python:'deleteObject?id=%s'%item.getId()">delete</a>          &nbsp;&nbsp;<a tal:attributes="href python:'deleteObject?id=%s'%item.getId()">delete</a>
      </div>       </div>
      <div tal:replace="structure item/content_html"/>       <div tal:replace="structure item/content_html"/>
        <div tal:condition="python:getattr(item,'link',None) is not None">
           Link (url):<input type="text" size="100" tal:attributes="name python:item.getId()+'_link';
                                                      value python:getattr(item,'link',None)"><br>
           Linktext:<input type="text" size="100" tal:attributes="name python:item.getId()+'_linkText';
                                                      value python:getattr(item,'linkText',None)"><br>
                                                      
        </div>
                   
      <div><textarea cols="50" rows="5" tal:attributes="name python:item.getId()+'_comment'" tal:content="structure item/comment"></textarea>           <div><textarea cols="50" rows="5" tal:attributes="name python:item.getId()+'_comment'" tal:content="structure item/comment"></textarea>    
      </div>       </div>

Removed from v.1.1  
changed lines
  Added in v.1.2


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