Completely purge personal tool-bar
Stefan Bund [Fri, 23 Oct 2009 11:10:22 +0000 (13:10 +0200)]
src/koehsel.theme/koehsel/theme/profiles/default/actions.xml [deleted file]
src/koehsel.theme/koehsel/theme/viewlets/personal_bar.pt

diff --git a/src/koehsel.theme/koehsel/theme/profiles/default/actions.xml b/src/koehsel.theme/koehsel/theme/profiles/default/actions.xml
deleted file mode 100644 (file)
index bdc985f..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<object name="portal_actions" meta_type="Plone Actions Tool"
-   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
-
- <object name="user" meta_type="CMF Action Category">
-  <object name="login" meta_type="CMF Action" i18n:domain="plone">
-   <property name="visible">False</property>
-  </object>
-  <object name="logout" meta_type="CMF Action" i18n:domain="plone">
-   <property name="visible">False</property>
-  </object>
-  <object name="join" meta_type="CMF Action" i18n:domain="plone">
-   <property name="visible">False</property>
-  </object>
- </object>
-
-</object>
index 7858aef..6e16f2a 100644 (file)
@@ -1,37 +1,6 @@
 <div id="portal-personaltools-wrapper"
      i18n:domain="plone">
 
-<h5 class="hiddenStructure" i18n:translate="heading_personal_tools">Personal tools</h5>
+<div id="portal-personaltools" class="visualInline">&nbsp;</div>
 
-<ul id="portal-personaltools"
-    class="visualInline">
-  <li>&nbsp;</li>
-   <tal:block condition="not: view/anonymous">
-       <li><a 
-           id="user-name"
-           tal:attributes="href view/homelink_url"
-          ><img src="" tal:replace="structure here/user.gif" />
-            <span class="visualCaseSensitive"
-                 tal:content="view/user_name">
-                John
-           </span
-       ></a></li>
-   </tal:block>
-
-    <tal:actions tal:repeat="action view/user_actions">
-        <li tal:define="icon action/icon | nothing;
-                        icon python:icon is not None and icon or view.getIconFor(action['category'], action['id'], None);
-                        class_name string:visualIcon actionicon-${action/category}-${action/id};
-                        class_name python:icon is not None and class_name or nothing;"
-            tal:attributes="class class_name">
-            <a href=""
-               tal:attributes="href action/url;
-                               class python:icon is not None and 'visualIconPadding' or nothing;"
-            ><tal:actionname i18n:translate="" 
-                             tal:content="action/title">dummy</tal:actionname
-            ></a>
-        </li>
-    </tal:actions>
-
-</ul>
 </div>