[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/skintools/ Added more skintools for Boston skin

Roger Ineichen roger at projekt01.ch
Thu Mar 17 21:08:59 EST 2005


Log message for revision 29540:
  Added more skintools for Boston skin
  Changed pagelet templates

Changed:
  U   Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox.pt
  U   Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox_layout.pt
  U   Zope3/trunk/src/zope/app/skintools/configure.zcml
  A   Zope3/trunk/src/zope/app/skintools/contextmenu/
  A   Zope3/trunk/src/zope/app/skintools/contextmenu/__init__.py
  A   Zope3/trunk/src/zope/app/skintools/contextmenu/browser/
  A   Zope3/trunk/src/zope/app/skintools/contextmenu/browser/__init__.py
  A   Zope3/trunk/src/zope/app/skintools/contextmenu/browser/configure.zcml.sample
  A   Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu.pt
  A   Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu_layout.pt
  A   Zope3/trunk/src/zope/app/skintools/contextmenu/configure.zcml
  U   Zope3/trunk/src/zope/app/skintools/helpaction/browser/helpaction.pt
  U   Zope3/trunk/src/zope/app/skintools/helpaction/browser/helpaction_layout.pt
  U   Zope3/trunk/src/zope/app/skintools/javascripts/toggle/browser/javascript.pt
  U   Zope3/trunk/src/zope/app/skintools/toolbar/browser/toolbar_layout.pt
  U   Zope3/trunk/src/zope/app/skintools/zmicookietreebox/browser/zmicookietreebox.pt
  U   Zope3/trunk/src/zope/app/skintools/zmicookietreebox/browser/zmicookietreebox_layout.pt

-=-
Modified: Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -1,12 +1,11 @@
 <html>
 <body>
 
-<div metal:define-macro="addbox"
+<metal:block define-macro="addbox"
      tal:define="global addingInfo context/@@+/addingInfo"
-     tal:repeat="pagelet pagelets:zope.app.skintools.addbox.IAddBoxLayout"
-     tal:omit-tag="">
+     tal:repeat="pagelet pagelets:zope.app.skintools.addbox.IAddBoxLayout">
 
-  <metal:block use-macro="pagelet">
+  <tal:block metal:use-macro="pagelet">
 
     <metal:block fill-slot="header">
       <div class="title" i18n:translate="">Quick add</div>
@@ -32,7 +31,6 @@
              tal:content="info/title" i18n:translate="">
             Folder
           </a>
-                                        
           <a href="#"
              tal:define="baseurl python:request.getURL(1)"
              tal:condition="
@@ -44,7 +42,6 @@
              tal:content="info/title" i18n:translate="">
             Folder
           </a>
-                
           <a href="#"
              tal:define="baseurl python:request.getURL(1)"
              tal:condition="python: info['action'].startswith('../')"
@@ -56,10 +53,8 @@
         </div>
       </span>
     </metal:block>
+  </tal:block>
+</metal:block>
 
-  </metal:block>
-
-</div>
-
 </body>
 </html>
\ No newline at end of file

Modified: Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox_layout.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox_layout.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -4,11 +4,9 @@
 <metal:block define-macro="addbox_layout">
   <div class="slotbox" id="addbox">
     <div class="header"> 
-        
       <metal:block define-slot="header">
         This text will be replace by the content of the pagelet.
       </metal:block>
-
       <span>
         <img id="arrowAddBox" class="icon" style="cursor:hand" 
              onClick="javascript:toggle(
@@ -18,11 +16,9 @@
       </span>
     </div>
     <div class="toggle body" id="adddboxToggle">
-        
       <metal:block define-slot="body">
         This text will be replace by the content of the pagelet.
       </metal:block>
-        
     </div>
   </div>
 </metal:block>

Modified: Zope3/trunk/src/zope/app/skintools/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/skintools/configure.zcml	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/configure.zcml	2005-03-18 02:08:59 UTC (rev 29540)
@@ -15,10 +15,13 @@
   <include package="zope.app.skintools.tooltipbox" />
   <include package="zope.app.skintools.zmicookietreebox" />
 
-  <!-- menu actions -->
+  <!-- toolbar (zmi and help actions) -->
+  <include package="zope.app.skintools.toolbar" />
   <include package="zope.app.skintools.helpaction" />
-  <include package="zope.app.skintools.toolbar" />
 
+  <!-- context menu (zmi views) -->
+  <include package="zope.app.skintools.contextmenu" />
+
   <configure zcml:condition="have onlinehelp">
     <help:register
         parent="styleguide/skin"

Added: Zope3/trunk/src/zope/app/skintools/contextmenu/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/skintools/contextmenu/__init__.py	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/contextmenu/__init__.py	2005-03-18 02:08:59 UTC (rev 29540)
@@ -0,0 +1,24 @@
+##############################################################################
+#
+# Copyright (c) 2005 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Skintools helpaction
+
+$Id: __init__.py 29415 2005-03-08 00:01:24Z rogerineichen $
+"""
+__docformat__ = "reStructuredText"
+
+from zope.app.pagelet.interfaces import IPageletSlot
+
+
+class IContextMenuLayout(IPageletSlot):
+    """This slot contains the layout of a pagelet."""


Property changes on: Zope3/trunk/src/zope/app/skintools/contextmenu/__init__.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/skintools/contextmenu/browser/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/skintools/contextmenu/browser/__init__.py	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/contextmenu/browser/__init__.py	2005-03-18 02:08:59 UTC (rev 29540)
@@ -0,0 +1,17 @@
+##############################################################################
+#
+# Copyright (c) 2005 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Skintools contextmenu views
+
+$Id$
+"""


Property changes on: Zope3/trunk/src/zope/app/skintools/contextmenu/browser/__init__.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/skintools/contextmenu/browser/configure.zcml.sample
===================================================================
--- Zope3/trunk/src/zope/app/skintools/contextmenu/browser/configure.zcml.sample	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/contextmenu/browser/configure.zcml.sample	2005-03-18 02:08:59 UTC (rev 29540)
@@ -0,0 +1,31 @@
+<configure
+    xmlns:zope="http://namespaces.zope.org/zope"
+    xmlns="http://namespaces.zope.org/browser"
+    i18n_domain="zope">
+
+  <!-- This is only a sample configure.zcml file
+       See README.txt in zope.app.skintools for more 
+       information about the skintools concept.
+       --> 
+
+  <!-- pagelet defining the box data -->
+  <pagelet
+      name="contextmenu"
+      for="*"
+      slot="the slot used in your skin"
+      permission="zope.ManageContent"
+      template="contextmenu.pt"
+      layer="the layer of your skin"
+      weight="2"
+      />
+
+  <!-- pagelet defining the layout -->
+  <pagelet
+      name="contextmenu_layout"
+      for="*"
+      slot="zope.app.skintools.contextmenu.IContextMenuLayout"
+      permission="zope.ManageContent"
+      template="contextmenu_layout.pt"
+      />
+
+</configure>
\ No newline at end of file


Property changes on: Zope3/trunk/src/zope/app/skintools/contextmenu/browser/configure.zcml.sample
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -0,0 +1,23 @@
+<html>
+<body>
+
+<metal:block define-macro="contextmenu"
+       tal:repeat="pagelet pagelets:zope.app.skintools.contextmenu.IContextMenuLayout">
+  <tal:block metal:use-macro="pagelet">
+
+    <div metal:fill-slot="contextmenu">
+      <tal:block repeat="view context/@@view_get_menu/zmi_views">
+        <a href="" 
+           tal:attributes="href view/action;
+                           class view/selected;"
+           tal:content="view/title"
+           i18n:translate="">label</a>
+      </tal:block>
+    </div>
+
+  </tal:block>
+</metal:block>
+
+</body>
+</html>
+


Property changes on: Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu.pt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu_layout.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu_layout.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -0,0 +1,11 @@
+<html>
+<body>
+
+<metal:block define-macro="contextmenu_layout">
+  <metal:block define-slot="contextmenu">
+    context menu content
+  </metal:block>
+</metal:block>
+
+</body>
+</html>


Property changes on: Zope3/trunk/src/zope/app/skintools/contextmenu/browser/contextmenu_layout.pt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/src/zope/app/skintools/contextmenu/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/skintools/contextmenu/configure.zcml	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/contextmenu/configure.zcml	2005-03-18 02:08:59 UTC (rev 29540)
@@ -0,0 +1,6 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope">
+
+  <interface interface="zope.app.skintools.contextmenu.IContextMenuLayout" />
+
+</configure>
\ No newline at end of file


Property changes on: Zope3/trunk/src/zope/app/skintools/contextmenu/configure.zcml
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: Zope3/trunk/src/zope/app/skintools/helpaction/browser/helpaction.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/helpaction/browser/helpaction.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/helpaction/browser/helpaction.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -1,44 +1,40 @@
 <html>
 <body>
 
-<div metal:define-macro="helpaction"
-		tal:repeat="pagelet pagelets:zope.app.skintools.helpaction.IHelpActionLayout"
-		tal:omit-tag="">
+<metal:block define-macro="helpaction"
+        tal:repeat="pagelet pagelets:zope.app.skintools.helpaction.IHelpActionLayout">
+  <tal:block metal:use-macro="pagelet">
 
-	<tal:block metal:use-macro="pagelet">
-
-		<metal:block fill-slot="helpaction">
-			<div tal:define="help_actions context/@@view_get_menu/help_actions|nothing">
-
+    <metal:block fill-slot="helpaction">
+      <div tal:define="help_actions context/@@view_get_menu/help_actions|nothing">
         <span tal:condition="help_actions"
               tal:repeat="help_info help_actions"
               tal:omit-tag="">
           <a href="#"
-               tal:define="url string:'${view/__name__}/${help_info/action}';
-                           name string:'OnlineHelp';
-                           settings string:'height=400
-                                           ,width=700
-                                           ,resizable=1
-                                           ,scrollbars=yes
-                                           ,location=no
-                                           ,status=no
-                                           ,toolbar=no
-                                           ,menubar=no'"
-               tal:attributes="href python:'javascript:popup('
-                                           + url + ','
-                                           + name + ','
-                                           + settings +')'"
+             tal:define="url string:'${view/__name__}/${help_info/action}';
+                         name string:'OnlineHelp';
+                         settings string:'height=400
+                                         ,width=700
+                                         ,resizable=1
+                                         ,scrollbars=yes
+                                         ,location=no
+                                         ,status=no
+                                         ,toolbar=no
+                                         ,menubar=no'"
+             tal:attributes="href python:'javascript:popup('
+                                         + url + ','
+                                         + name + ','
+                                         + settings +')'"
                tal:content="help_info/title"
                i18n:translate="">
               Action name
           </a>
         </span>
-        &nbsp;
       </div>
-		</metal:block>
-	</tal:block>
+    </metal:block>
 
-</div>
+  </tal:block>
+</metal:block>
 
 </body>
 </html>

Modified: Zope3/trunk/src/zope/app/skintools/helpaction/browser/helpaction_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/helpaction/browser/helpaction_layout.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/helpaction/browser/helpaction_layout.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -2,11 +2,11 @@
 <body>
 
 <metal:block define-macro="helpaction_layout">
-	<div class="helpaction" id="actions">
-		<metal:block define-slot="helpaction">
-			Help action content
-		</metal:block>
-	</div>
+  <div class="actions">
+    <metal:block define-slot="helpaction">
+      Help action content
+    </metal:block>
+  </div>
 </metal:block>
 
 </body>

Modified: Zope3/trunk/src/zope/app/skintools/javascripts/toggle/browser/javascript.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/javascripts/toggle/browser/javascript.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/javascripts/toggle/browser/javascript.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -1,10 +1,10 @@
 <metal:block define-macro="toggle">
-<script type="text/javascript"
-        tal:attributes="language string:JavaScript"
-        tal:content="structure string:
-  var expandGif = '${context/++resource++expand.gif}';
-  var collapseGif = '${context/++resource++collapse.gif}';">
-</script>
-<script type="text/javascript" src="toggle.js"
-        tal:attributes="src string:${context/++resource++toggle.js}" ></script>
+  <script type="text/javascript"
+          tal:attributes="language string:JavaScript"
+          tal:content="structure string:
+      var expandGif = '${context/++resource++expand.gif}';
+      var collapseGif = '${context/++resource++collapse.gif}';">
+  </script>
+  <script type="text/javascript" src="toggle.js"
+          tal:attributes="src string:${context/++resource++toggle.js}" ></script>
 </metal:block>

Modified: Zope3/trunk/src/zope/app/skintools/toolbar/browser/toolbar_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/toolbar/browser/toolbar_layout.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/toolbar/browser/toolbar_layout.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -2,11 +2,11 @@
 <body>
 
 <metal:block define-macro="toolbar_layout">
-	<div class="viewaction" id="actions">
-		<metal:block define-slot="toolbar">
-			zmi actions
-		</metal:block>
-	</div>
+  <div class="actions">
+    <metal:block define-slot="toolbar">
+      zmi actions
+    </metal:block>
+  </div>
 </metal:block>
 
 </body>

Modified: Zope3/trunk/src/zope/app/skintools/zmicookietreebox/browser/zmicookietreebox.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/zmicookietreebox/browser/zmicookietreebox.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/zmicookietreebox/browser/zmicookietreebox.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -1,99 +1,84 @@
 <html>
 <body>
 
-<div metal:define-macro="zmicookietreebox"
-		tal:repeat="pagelet pagelets:zope.app.skintools.zmicookietreebox.IZMICookieTreeBoxLayout"
-		tal:omit-tag="">
+<metal:block define-macro="zmicookietreebox"
+     tal:repeat="pagelet pagelets:zope.app.skintools.zmicookietreebox.IZMICookieTreeBoxLayout"
+     tal:omit-tag="">
 
-	<tal:block metal:use-macro="pagelet">
+<tal:block metal:use-macro="pagelet">
+  <metal:block fill-slot="header">
+    <div class="title" i18n:translate="">Navigation</div>
+  </metal:block>
 
-		<metal:block fill-slot="header">
-			<div class="title" i18n:translate="">
-				Navigation 
-				<small>(cookie based)</small>
-			</div>
-		</metal:block>
-
-		<metal:block fill-slot="body">
-<table cellspacing="0" cellpadding="0"
-       tal:define="root           context/@@root_cookie_tree;
-                   result         root/getFlatDicts;
-                   nodeDictList   python:result[0];
-                   maxDepth       python:result[1]">
-
-<tr>
-  <td width="16">
-    <img src="" tal:define="icon root/context/@@zmi_icon | nothing"
-         tal:replace="structure icon" />
-  </td>
-
-  <td class="list-item"
-      tal:attributes="colspan python:maxDepth+2">
-    <a href=""
-       tal:attributes="href 
-           string:${root/context/@@absolute_url}/@@SelectedManagementView.html"
-       tal:content="root/getId() | string:[top]"></a>
-  </td>
-</tr>
-
-<tr tal:repeat="nodeInfo nodeDictList">
-<tal:block tal:define="node nodeInfo/node">
-
-  <td style="width:16px" tal:repeat="state nodeInfo/row-state">
-    <img tal:attributes="src context/++resource++tree_images/vline.png"
-         tal:condition="state" alt="|" border="0" />
-  </td>
-
-  <td style="width:16px">
-    <a href=""
-       tal:attributes="href string:?tree-state=${nodeInfo/tree-state}"
-       tal:condition="node/hasChildren">
-      <tal:block condition="not:nodeInfo/last-level-node">
-        <img tal:attributes="src context/++resource++tree_images/plus_vline.png"
-             tal:condition="not:node/expanded" alt="+" border="0" />
-        <img tal:attributes="src context/++resource++tree_images/minus_vline.png"
-             tal:condition="node/expanded" alt="-" border="0" />
-      </tal:block>
-      <tal:block condition="nodeInfo/last-level-node">
-        <img tal:attributes="src context/++resource++tree_images/plus.png"
-             tal:condition="not:node/expanded" alt="+" border="0" />
-        <img tal:attributes="src context/++resource++tree_images/minus.png"
-             tal:condition="node/expanded" alt="-" border="0" />
-      </tal:block>
-    </a>
-    <tal:block condition="not:node/hasChildren">
-      <img tal:attributes="src context/++resource++tree_images/tline.png"
-           tal:condition="not:nodeInfo/last-level-node" alt="" border="0" />
-      <img tal:attributes="src context/++resource++tree_images/lline.png"
-           tal:condition="nodeInfo/last-level-node" alt="" border="0" />
+  <metal:block fill-slot="body">
+  <table cellspacing="0" cellpadding="0"
+         tal:define="root context/@@root_cookie_tree;
+                     result root/getFlatDicts;
+                     nodeDictList python:result[0];
+                     maxDepth python:result[1]">
+    <tr>
+      <td width="16">
+        <img src="" tal:define="icon root/context/@@zmi_icon | nothing"
+             tal:replace="structure icon" />
+      </td>
+      <td class="list-item"
+          tal:attributes="colspan python:maxDepth+2">
+        <a href=""
+           tal:attributes="href 
+               string:${root/context/@@absolute_url}/@@SelectedManagementView.html"
+           tal:content="root/getId() | string:[top]"></a>
+      </td>
+    </tr>
+    <tr tal:repeat="nodeInfo nodeDictList">
+    <tal:block tal:define="node nodeInfo/node">
+      <td style="width:16px" tal:repeat="state nodeInfo/row-state">
+        <img tal:attributes="src context/++resource++tree_images/vline.png"
+             tal:condition="state" alt="|" border="0" />
+      </td>
+      <td style="width:16px">
+        <a href=""
+           tal:attributes="href string:?tree-state=${nodeInfo/tree-state}"
+           tal:condition="node/hasChildren">
+          <tal:block condition="not:nodeInfo/last-level-node">
+            <img tal:attributes="src context/++resource++tree_images/plus_vline.png"
+                 tal:condition="not:node/expanded" alt="+" border="0" />
+            <img tal:attributes="src context/++resource++tree_images/minus_vline.png"
+                 tal:condition="node/expanded" alt="-" border="0" />
+          </tal:block>
+          <tal:block condition="nodeInfo/last-level-node">
+            <img tal:attributes="src context/++resource++tree_images/plus.png"
+                 tal:condition="not:node/expanded" alt="+" border="0" />
+            <img tal:attributes="src context/++resource++tree_images/minus.png"
+                 tal:condition="node/expanded" alt="-" border="0" />
+          </tal:block>
+        </a>
+        <tal:block condition="not:node/hasChildren">
+          <img tal:attributes="src context/++resource++tree_images/tline.png"
+               tal:condition="not:nodeInfo/last-level-node" alt="" border="0" />
+          <img tal:attributes="src context/++resource++tree_images/lline.png"
+               tal:condition="nodeInfo/last-level-node" alt="" border="0" />
+        </tal:block>
+      </td>
+      <td style="width:16px"
+          tal:define="object nocall:node/context;
+                      icon   object/@@zmi_icon | nothing">
+        <img src="" tal:replace="structure icon" />
+      </td>
+      <td class="list-item"
+          tal:attributes="colspan python:maxDepth-len(nodeInfo['row-state'])+1">
+        &nbsp;<a href=""
+           tal:attributes="href 
+               string:${node/context/@@absolute_url}/@@SelectedManagementView.html"
+           tal:content="node/context/zope:name">
+          node/id
+        </a>
+      </td>
     </tal:block>
-  </td>
+    </tr>
+  </table>
+  </metal:block>
+  </tal:block>
+</metal:block>
 
-  <td style="width:16px"
-      tal:define="object nocall:node/context;
-                  icon   object/@@zmi_icon | nothing">
-    <img src="" tal:replace="structure icon" />
-  </td>
-
-  <td class="list-item"
-      tal:attributes="colspan python:maxDepth-len(nodeInfo['row-state'])+1">
-    &nbsp;<a href=""
-       tal:attributes="href 
-           string:${node/context/@@absolute_url}/@@SelectedManagementView.html"
-       tal:content="node/context/zope:name">
-      node/id
-    </a>
-  </td>
-
-</tal:block>
-</tr>
-
-</table>
-
-		</metal:block>
-
-	</tal:block>
-</div>
-
 </body>
 </html>

Modified: Zope3/trunk/src/zope/app/skintools/zmicookietreebox/browser/zmicookietreebox_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/zmicookietreebox/browser/zmicookietreebox_layout.pt	2005-03-18 02:05:00 UTC (rev 29539)
+++ Zope3/trunk/src/zope/app/skintools/zmicookietreebox/browser/zmicookietreebox_layout.pt	2005-03-18 02:08:59 UTC (rev 29540)
@@ -2,22 +2,18 @@
 <body>
 
 <metal:block define-macro="zmicookietreebox_layout">
-	<div class="slotbox" id="zmicookietreebox">
-		<div class="header"> 
-	
-			<metal:block define-slot="header">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
-	
-		</div>
-		<div class="toggle treebody">
-	
-			<metal:block define-slot="body">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
-	
-		</div>
-	</div>
+  <div class="slotbox" id="zmicookietreebox">
+    <div class="header">
+      <metal:block define-slot="header">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
+    </div>
+    <div class="toggle treebody">
+      <metal:block define-slot="body">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
+    </div>
+  </div>
 </metal:block>
 
 </body>



More information about the Zope3-Checkins mailing list