products/CPSonFive.old

changeset 40:8372165fef22

More or less undo the last change... The Members directory should not have a trees tool so that way did not work. The navigation now need to use ZODBNavigation as a base.
author lregebro
date Wed, 03 May 2006 13:41:27 +0000
parents a744d75fa2a7
children c2875899a5b6
files form/documentnavigation_popup.pt
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line diff
     1.1 --- a/form/documentnavigation_popup.pt
     1.2 +++ b/form/documentnavigation_popup.pt
     1.3 @@ -1,8 +1,7 @@
     1.4  <tal:block define="emptybody python:1">
     1.5  <metal:block use-macro="here/main_template/macros/master">
     1.6  <metal:block fill-slot="body"
     1.7 -  tal:define="roots ttool/objectIds;
     1.8 -	      root_uid request/form/root_uid|string:sections;
     1.9 +  tal:define="root_uid request/form/root_uid|string:sections;
    1.10                doc here/document|nothing;
    1.11                res python:here.getDocumentNavigation(finder='cps',
    1.12                  root_uid=root_uid, current_uid=doc, REQUEST=request);
    1.13 @@ -11,14 +10,6 @@
    1.14  	      isCPS32 python:navlibskin is not None;
    1.15  	      ">
    1.16  
    1.17 -<span style="border:1px;border-style:solid;padding:3px" tal:repeat="root roots">
    1.18 -<a tal:condition="python:root_uid != root"
    1.19 -   tal:attributes="href string:${request/URL}?root_uid=${root}&input_id=${request/form/input_id}" 
    1.20 -   tal:content="root" i18n:translate="" />
    1.21 -<span tal:condition="python:root_uid == root"
    1.22 -   tal:content="root" i18n:translate="" />      
    1.23 -</span>
    1.24 -<h1 tal:content="root_uid" i18n:translate="" />
    1.25  <tal:block condition="isCPS32">
    1.26    <metal:block
    1.27      use-macro="here/navigation_lib/macros/select_navigation">