Diff for /cdli/zpt/CDLIFileFolderMain.zpt between versions 1.8 and 1.9

version 1.8, 2006/05/05 08:13:36 version 1.9, 2006/08/24 09:28:29
Line 24 Line 24
   <a tal:condition="here/hasParent"     <a tal:condition="here/hasParent" 
   tal:attributes="href python:here.aq_parent.absolute_url()"    tal:attributes="href python:here.aq_parent.absolute_url()"
   tal:content="python:'back (%s)'%here.aq_parent.title">back</a>    tal:content="python:'back (%s)'%here.aq_parent.title">back</a>
   <hr>    <hr class="yellow">
   <tal:block tal:define="folders python:here.getFolders()" tal:condition="python:len(folders)>0">    <tal:block tal:define="folders python:here.getFolders()" tal:condition="python:len(folders)>0">
   <h3>Subfolder</h3>    <h3>Subfolder</h3>
   <table>    <table>
Line 34 Line 34
   <td tal:content="python:'( files: %s)'% folder[2]"/>    <td tal:content="python:'( files: %s)'% folder[2]"/>
   </tr>    </tr>
   </table>    </table>
   <hr>    <hr class="yellow">
     <br><br>
   </tal:block>    </tal:block>
   
  <form>   <form>
Line 73  selectButton=document.getElementById('se Line 74  selectButton=document.getElementById('se
   
 //-->  //-->
 </script>  </script>
   <input class="space_right" type="submit" id="selectButton" value="Select All" onClick="toggleSelect(); return false">    <input class="button" type="submit" id="selectButton" value="Select All" onClick="toggleSelect(); return false">
     <br><br>
 </form>  </form>
   <tal:block tal:define="sortField python:here.REQUEST.get('sortField','title');    <tal:block tal:define="sortField python:here.REQUEST.get('sortField','title');
                         versions python:here.getVersionedFiles(sortField=sortField)">                          versions python:here.getVersionedFiles(sortField=sortField)">
                                                 
   <form id="addBasket" tal:condition="python:len(versions)>0"  action="basketContainer/storeInBasket">    <form id="addBasket" tal:condition="python:len(versions)>0"  action="basketContainer/storeInBasket">
   <input name="submit" type="submit" value="store in active basket">    <input name="submit" class="button" type="submit" value="store in active basket">
   <input name="submit" type="submit" value="store in new basket"><input name="newBasketName">    <input name="submit" class="button" type="submit" value="store in new basket"> <input name="newBasketName">
   <input type="hidden" name="fromFileBrowser" value="1">    <input type="hidden" name="fromFileBrowser" value="1">
   <input type="hidden" name="ids" value=" "><!-- make sure that ids is existing -->    <input type="hidden" name="ids" value=" "><!-- make sure that ids is existing -->
       
   <table  width="100%" border=0 cellspacing=1 cellpadding=2>    <table class="filelist"  width="100%" border=0 cellspacing=1 cellpadding=2>
     <tr>      <tr>
       <th align=left bgcolor="#cccccc">        <th align=left>
       <a href="?sortField=title"> File</a>        <a href="?sortField=title"> File</a>
       </th>        </th>
         <th align=left bgcolor="#cccccc">          <th align=left>
       <a> Designation</a>        Designation
       </th>        </th>
       <th align=left bgcolor="#cccccc">        <th align=left>
     <a>Revisions</a>      Revisions
       </th>        </th>
       <th align=left bgcolor="#cccccc">        <th align=left>
     <a href="?sortField=date">Date</a>      <a href="?sortField=date">Date</a>
       </th>        </th>
       <th align=left bgcolor="#cccccc">        <th align=left>
     <a href="?sortField=author">Author</a>      <a href="?sortField=author">Author</a>
       </th>        </th>
       <th align=left bgcolor="#cccccc">        <th align=left>
     <a >Last log entry</a>      Last log entry
       </th>        </th>
       <th align=left bgcolor="#cccccc" width="80">        <th align=left width="80">
     <a href="?sortField=comment">Comment</a>      <a href="?sortField=comment">Comment</a>
       </th>        </th>
       <th align=left bgcolor="#cccccc">        <th align=left>
     <a>Download<br><font size="-1"><a tal:attributes="href python:here.absolute_url()+'/helpDownload'" target="help">(help)</a></font></a>      Download<br><a tal:attributes="href python:here.absolute_url()+'/helpDownload'" target="help">(help)</a>
       </th>        </th>
       <th align=left bgcolor="#cccccc">        <th align=left>
     <a>Downl. and lock</a>      Downl. and lock
       </th>        </th>
       <th align=left bgcolor="#cccccc">        <th align=left>
     <a>Upload</a>      Upload
         </th>
         <th>
          &nbsp;
       </th>        </th>
       <th>        <th>
        &nbsp;         &nbsp;
Line 122  selectButton=document.getElementById('se Line 127  selectButton=document.getElementById('se
     </tr>      </tr>
     <span tal:omit-tag="" tal:define="sortField python:here.REQUEST.get('sortField','title')" tal:repeat="version versions">      <span tal:omit-tag="" tal:define="sortField python:here.REQUEST.get('sortField','title')" tal:repeat="version versions">
       <tr tal:define="lastVersion python:version[1].getLastVersion()">        <tr tal:define="lastVersion python:version[1].getLastVersion()">
     <td><input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids"><a tal:content="python:version[1].title" tal:attributes="href python:lastVersion.absolute_url()+'/view'"/></td>      <td><nobr><input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids"> <a tal:content="python:version[1].title" tal:attributes="href python:lastVersion.absolute_url()+'/view'"/></nobr></td>
     <td>      <td>
            <span tal:content="lastVersion/getDesignation|python:'ERROR'"/>             <span tal:content="lastVersion/getDesignation|python:'ERROR'"/>
     </td>      </td>
     <td>      <td>
     <span tal:replace="lastVersion/versionNumber"/>      <span tal:replace="lastVersion/versionNumber"/>
     <font size="-1"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></font>      <nobr><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></nobr>
     </td>      </td>
     <td tal:content="lastVersion/getTime"/>      <td tal:content="lastVersion/getTime"/>
     <td tal:content="lastVersion/lastEditor"/>      <td tal:content="lastVersion/lastEditor"/>

Removed from v.1.8  
changed lines
  Added in v.1.9


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