[CMF-checkins] CVS: Products/CMFDefault/skins/zpt_generic - actions_box.pt:1.5

Yvo Schubbe y.2004_ at wcm-solutions.de
Tue Aug 3 09:35:08 EDT 2004


Update of /cvs-repository/Products/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv5601/CMFDefault/skins/zpt_generic

Modified Files:
	actions_box.pt 
Log Message:
- marked actions_box as deprecated


=== Products/CMFDefault/skins/zpt_generic/actions_box.pt 1.4 => 1.5 ===
--- Products/CMFDefault/skins/zpt_generic/actions_box.pt:1.4	Sun Jul 21 21:53:50 2002
+++ Products/CMFDefault/skins/zpt_generic/actions_box.pt	Tue Aug  3 09:35:08 2004
@@ -1,16 +1,18 @@
+<!--this template is deprecated; please use main_template/macros/actions_box-->
+
 <div metal:define-macro="actions">
 <div tal:define="isAnon python:here.portal_membership.isAnonymousUser();
                  AuthClass python:isAnon and 'GuestActions' or 'MemberActions';
                  member here/portal_membership/getAuthenticatedMember;
-				 uname python: isAnon and 'Guest' or member.getUserName();
+                 uname python: isAnon and 'Guest' or member.getUserName();
                  a_tool here/portal_actions;
                  wf_tool here/portal_workflow;
-				 actions python:a_tool.listFilteredActionsFor(here);
-				 user_actions actions/user;
-				 folder_actions actions/folder;
-				 object_actions python:( actions['object']
+                 actions python:a_tool.listFilteredActionsFor(here);
+                 user_actions actions/user;
+                 folder_actions actions/folder;
+                 object_actions python:( actions['object']
                                        + actions['workflow'] );
-				 global_actions actions/global;
+                 global_actions actions/global;
                 ">
 <table class="ActionBox" width="100%">
  <tbody tal:condition="object_actions">
@@ -18,12 +20,12 @@
      tal:attributes="class AuthClass">
   <td class="ActionTitle"
       tal:define="getIcon python:hasattr(here, 'getIcon') and here.getIcon();
-	              icon python:getIcon or getattr(here, 'icon', '');
-				  typ python:getattr(here, 'Type', '');
-				  objID python:here.getId()">
+                  icon python:getIcon or getattr(here, 'icon', '');
+                  typ python:getattr(here, 'Type', '');
+                  objID python:here.getId()">
      <img src=""
-	      tal:condition="icon" align="left" alt="Type"
-		  tal:attributes="src string:${here/portal_url}/${icon};
+          tal:condition="icon" align="left" alt="Type"
+          tal:attributes="src string:${here/portal_url}/${icon};
                           alt typ" />
      <span tal:replace="structure python: here.truncID(objID, size=15)"
      >ObjectID</span>
@@ -43,8 +45,8 @@
 </tbody>
 <tr class=""
      tal:attributes="class AuthClass"
-	 tal:condition="folder_actions">
-  <td> 
+     tal:condition="folder_actions">
+  <td>
     <span tal:repeat="action folder_actions"
     ><a href="" tal:attributes="href action/url"
         tal:content="action/name">Action</a><br></span>
@@ -52,7 +54,7 @@
  </tr>
  <tr class=""
      tal:attributes="class AuthClass"
-	 tal:condition="global_actions">
+     tal:condition="global_actions">
   <td>
    <span tal:repeat="action global_actions"
    ><a href="" tal:attributes="href action/url"
@@ -62,4 +64,3 @@
 </table>
 </div>
 </div>
-



More information about the CMF-checkins mailing list