<?xml version="1.0"?>
<object name="portal_actions" meta_type="Plone Actions Tool">
 <action-provider name="portal_workflow"/>
 <action-provider name="portal_actions">
  <action title="RSS feed of this listing" action_id="rss"
     category="document_actions"
     condition_expr="python:portal.portal_syndication.isSyndicationAllowed(object)"
     url_expr="string:$object_url/RSS" visible="True">
   <permission>View</permission>
  </action>
  <action title="Send this page to somebody" action_id="sendto"
     category="document_actions" condition_expr=""
     url_expr="string:$object_url/sendto_form" visible="True">
   <permission>Allow sendto</permission>
  </action>
  <action title="Print this page" action_id="print"
     category="document_actions" condition_expr=""
     url_expr="string:javascript:this.print();" visible="True">
   <permission>View</permission>
  </action>
  <action title="Add to Favorites" action_id="addtofavorites"
     category="document_actions"
     condition_expr="python:(member is not None) and (portal.portal_membership.getHomeFolder() is not None)"
     url_expr="string:${object_url}/addtoFavorites" visible="False">
   <permission>View</permission>
  </action>
  <action title="Toggle full screen mode" action_id="full_screen"
     category="document_actions" condition_expr="python:member is not None"
     url_expr="string:javascript:toggleFullScreenMode();" visible="True">
   <permission>View</permission>
  </action>
  <action title="Site Map" action_id="sitemap" category="site_actions"
     condition_expr="" url_expr="string:$portal_url/sitemap" visible="True">
   <permission>View</permission>
  </action>
  <action title="Copy" action_id="copy" category="folder_buttons"
     condition_expr="" url_expr="string:folder_copy:method" visible="True">
   <permission>Copy or Move</permission>
  </action>
  <action title="Cut" action_id="cut" category="folder_buttons"
     condition_expr="python:checkPermission(&quot;Delete objects&quot;, object)"
     url_expr="string:folder_cut:method" visible="True">
   <permission>Copy or Move</permission>
  </action>
  <action title="Contents" action_id="folderContents" category="object"
     condition_expr="object/displayContentsTab"
     url_expr="string:${globals_view/getCurrentFolderUrl}/folder_contents"
     visible="True">
   <permission>List folder contents</permission>
  </action>
  <action
     title="Edit this file in an external application (Requires Zope ExternalEditor installed)"
     action_id="extedit" category="document_actions"
     condition_expr="object/externalEditorEnabled"
     url_expr="string:$object_url/external_edit" visible="True">
   <permission>Modify portal content</permission>
  </action>
  <action title="Accessibility" action_id="accessibility"
     category="site_actions" condition_expr=""
     url_expr="string:${portal_url}/accessibility-info" visible="True">
   <permission>View</permission>
  </action>
  <action title="Contact" action_id="contact" category="site_actions"
     condition_expr="" url_expr="string:${portal_url}/contact-info"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Site Setup" action_id="plone_setup" category="site_actions"
     condition_expr="" url_expr="string:${portal_url}/plone_control_panel"
     visible="True">
   <permission>Manage portal</permission>
  </action>
  <action title="Cut" action_id="cut" category="object_buttons"
     condition_expr="python:checkPermission(&quot;Delete objects&quot;, globals_view.getParentObject()) and checkPermission(&quot;Copy or Move&quot;, object) and not globals_view.isPortalOrPortalDefaultPage()"
     url_expr="string:${globals_view/getCurrentObjectUrl}/object_cut"
     visible="True">
   <permission>Delete objects</permission>
  </action>
  <action title="Copy" action_id="copy" category="object_buttons"
     condition_expr="python:checkPermission(&quot;Copy or Move&quot;, object) and not globals_view.isPortalOrPortalDefaultPage()"
     url_expr="string:${globals_view/getCurrentObjectUrl}/object_copy"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Paste" action_id="paste" category="object_buttons"
     condition_expr="folder/cb_dataValid|nothing"
     url_expr="string:${globals_view/getCurrentFolderUrl}/object_paste"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Delete" action_id="delete" category="object_buttons"
     condition_expr="python:checkPermission(&quot;Delete objects&quot;, globals_view.getParentObject()) and not globals_view.isPortalOrPortalDefaultPage()"
     url_expr="string:${globals_view/getCurrentObjectUrl}/delete_confirmation"
     visible="True">
   <permission>Delete objects</permission>
  </action>
  <action title="Rename" action_id="rename" category="object_buttons"
     condition_expr="python:checkPermission(&quot;Delete objects&quot;, globals_view.getParentObject()) and checkPermission(&quot;Copy or Move&quot;, object) and checkPermission(&quot;Add portal content&quot;, object) and not globals_view.isPortalOrPortalDefaultPage()"
     url_expr="string:${globals_view/getCurrentObjectUrl}/object_rename"
     visible="True">
   <permission>Add Portal Content</permission>
  </action>
  <action title="Home" action_id="index_html" category="portal_tabs"
     condition_expr="" url_expr="string:${globals_view/navigationRootUrl}"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Ownership" action_id="change_ownership"
     category="object_tabs" condition_expr=""
     url_expr="string:${object_url}/ownership_form" visible="False">
   <permission>Manage portal</permission>
  </action>
  <action title="Rename" action_id="rename" category="folder_buttons"
     condition_expr="" url_expr="string:folder_rename_form:method"
     visible="True">
   <permission>Add portal content</permission>
  </action>
  <action title="Paste" action_id="paste" category="folder_buttons"
     condition_expr="folder/cb_dataValid"
     url_expr="string:folder_paste:method" visible="True">
   <permission>Add portal content</permission>
  </action>
  <action title="Delete" action_id="delete" category="folder_buttons"
     condition_expr="" url_expr="string:folder_delete:method" visible="True">
   <permission>Delete objects</permission>
  </action>
  <action title="Change State" action_id="change_state"
     category="folder_buttons"
     condition_expr="python:checkPermission(&quot;Modify portal content&quot;, object) or checkPermission(&quot;Review portal content&quot;, object)"
     url_expr="string:content_status_history:method" visible="True">
   <permission>View</permission>
  </action>
 </action-provider>
 <action-provider name="portal_membership">
  <action title="My Folder" action_id="mystuff" category="user"
     condition_expr="python:(member is not None) and (portal.portal_membership.getHomeFolder() is not None)"
     url_expr="string:${portal/portal_membership/getHomeUrl}" visible="True">
   <permission>View</permission>
  </action>
  <action title="Workspace" action_id="myworkspace" category="user"
     condition_expr="python:(member is not None) and (portal.portal_membership.getHomeFolder() is not None)"
     url_expr="string:${portal/portal_membership/getHomeUrl}/workspace"
     visible="False">
   <permission>View</permission>
  </action>
  <action title="My favorites" action_id="favorites" category="user"
     condition_expr="python:(member is not None) and hasattr(portal.portal_membership.getHomeFolder(), &quot;Favorites&quot;)"
     url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents"
     visible="False">
   <permission>View</permission>
  </action>
  <action title="Preferences" action_id="preferences" category="user"
     condition_expr="python:member is not None"
     url_expr="string:${portal_url}/plone_memberprefs_panel" visible="True">
   <permission>View</permission>
  </action>
  <action title="Add to favorites" action_id="addFavorite" category="user"
     condition_expr="python: portal.portal_membership.getHomeFolder() is not None"
     url_expr="string:${object_url}/addtoFavorites" visible="False">
   <permission>View</permission>
  </action>
  <action title="Log in" action_id="login" category="user"
     condition_expr="python:member is None" url_expr="string:${portal_url}/login_form"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Manage members" action_id="manage_members" category="global"
     condition_expr="" url_expr="string:${portal_url}/members_manage_form"
     visible="True">
   <permission>Manage users</permission>
  </action>
  <action title="Logged in" action_id="logged_in" category="user"
     condition_expr="" url_expr="string:${portal_url}/logged_in"
     visible="False">
   <permission>View</permission>
  </action>
  <action title="Log out" action_id="logout" category="user"
     condition_expr="python:member is not None" url_expr="string:${portal_url}/logout"
     visible="True">
   <permission>View</permission>
  </action>
 </action-provider>
 <action-provider name="portal_registration">
  <action title="Join" action_id="join" category="user"
     condition_expr="python:member is None" url_expr="string:${portal_url}/join_form"
     visible="True">
   <permission>Add portal member</permission>
  </action>
 </action-provider>
 <action-provider name="portal_discussion">
  <action title="Reply" action_id="reply" category="object"
     condition_expr="python:object is not None and portal.portal_discussion.isDiscussionAllowedFor(object)"
     url_expr="string:${object_url}/discussion_reply_form" visible="False">
   <permission>Reply to item</permission>
  </action>
 </action-provider>
 <action-provider name="portal_undo">
  <action title="Undo" action_id="undo" category="user"
     condition_expr="python:member is not None" url_expr="string:${portal_url}/undo_form"
     visible="True">
   <permission>List undoable changes</permission>
  </action>
 </action-provider>
 <action-provider name="portal_syndication">
  <action title="Syndication" action_id="syndication" category="object"
     condition_expr="python:folder is object and portal.portal_syndication.isSiteSyndicationAllowed()"
     url_expr="string:${folder_url}/synPropertiesForm" visible="False">
   <permission>Manage properties</permission>
  </action>
 </action-provider>
 <action-provider name="portal_properties">
  <action title="Reconfigure Portal" action_id="configPortal"
     category="global" condition_expr=""
     url_expr="string:${portal_url}/reconfig_form" visible="False">
   <permission>Manage portal</permission>
  </action>
 </action-provider>
 <action-provider name="portal_types"/>
</object>
