From e50f062aa590d7644031fc0d90fbbec25ac269ea Mon Sep 17 00:00:00 2001 From: Kevin Deldycke <kevin@nexedi.com> Date: Mon, 18 Sep 2006 16:01:31 +0000 Subject: [PATCH] Outdated code used in the first old version of the toolbox git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10116 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../admin_tool_duplicate_section.xml | 95 --------------- .../medicentre_admin_toolbox_widget.xml | 111 ------------------ .../medicentre_tool_clone_document.xml | 104 ---------------- 3 files changed, 310 deletions(-) delete mode 100644 bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/admin_tool_duplicate_section.xml delete mode 100644 bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/medicentre_admin_toolbox_widget.xml delete mode 100644 bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/medicentre_tool_clone_document.xml diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/admin_tool_duplicate_section.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/admin_tool_duplicate_section.xml deleted file mode 100644 index 917013bd16..0000000000 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/admin_tool_duplicate_section.xml +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_text</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -<tal:block metal:define-macro="master"\n - tal:define="url context/WebSite_getDocumentUrl;\n - section context/WebSite_getSectionValue;">\n -<h3>Clone section</h3>\n -<form name="tool_create" method="post" action="WebSite_newContent">\n -<table border="0" cellspacing="1" cellpadding="0">\n - <tr>\n - <td class="article">Id</td>\n - <td class="article"><input class="input" type="text" name="id" tal:attributes="value section/getId | nothing"/></td>\n - </tr>\n - <tr>\n - <td class="article">Title</td>\n - <td class="article"><input class="input" type="text" name="title" tal:attributes="value section/getTitle | nothing"/></td>\n - </tr>\n - <tr>\n - <td colspan="2" class="article" align="center">\n - <input type="image" alt="Clone" title="Clone" src="pictures/clone.png" name="WebSite_createContent:method"/> Clone\n - </td>\n - </tr>\n -</table>\n -</form>\n -</tal:block> - -]]></string> </value> - </item> - <item> - <key> <string>content_type</string> </key> - <value> <string>text/html</string> </value> - </item> - <item> - <key> <string>expand</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>admin_tool_duplicate_section</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/medicentre_admin_toolbox_widget.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/medicentre_admin_toolbox_widget.xml deleted file mode 100644 index 52761f1b63..0000000000 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/medicentre_admin_toolbox_widget.xml +++ /dev/null @@ -1,111 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_text</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -<tal:block metal:define-macro="master"\n - tal:define="layout_form python: context.medicentre_admin_toolbox_layout;\n - widget_list python: context.WebSite_getGroupWidgetList(layout_form, group=\'toolbox\')">\n -\n - <div id="adminToolBox" tal:condition="python: len(widget_list) > 0">\n -\n - <h3 class="warning"><img src="pictures/admin-tool-box.png"/> Admin Tool Box</h3>\n -\n - <script type=\'text/javascript\' src=\'js/nav_bar.js\'></script>\n -\n - <!-- Menu bar -->\n - <div class="dynToolbar">\n - <tal:block tal:repeat="widget python: widget_list">\n - <tal:block\n - tal:define="widget_object python: widget[\'widget\'];\n - order python: widget[\'order\'];\n - click_attr python: \'return buttonClick(event, \\\'menu%s\\\');;\' % (order);\n - mouseover_attr python: \'buttonMouseover(event, \\\'menu%s\\\');;\' % (order);">\n - <a class="dynToolbarButton" href="#"\n - tal:attributes="onclick click_attr;\n - onmouseover mouseover_attr"><tal:block metal:use-macro="widget_object/macros/title"/></a>\n - </tal:block>\n - </tal:block>\n -\n - <!-- Menu items -->\n - <tal:block tal:repeat="widget python: widget_list">\n - <tal:block tal:define="widget_object python: widget[\'widget\'];\n - menuX python: \'menu%s\' % (widget[\'order\'])">\n - <div tal:attributes="id menuX" class="dynToolbarItem">\n - <tal:block metal:use-macro="widget_object/macros/master"/>\n - </div>\n - </tal:block>\n - </tal:block>\n -\n - </div>\n - </div>\n -\n -</tal:block> - -]]></string> </value> - </item> - <item> - <key> <string>content_type</string> </key> - <value> <string>text/html</string> </value> - </item> - <item> - <key> <string>expand</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>medicentre_admin_toolbox_widget</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Used ?</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/medicentre_tool_clone_document.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/medicentre_tool_clone_document.xml deleted file mode 100644 index 2564062a68..0000000000 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/admin_toolboxXXX/medicentre_tool_clone_document.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_text</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -<tal:block metal:define-macro="master"\n - tal:condition="python: (is_section and valid_default_doc and not is_edit_mode) or is_webdoc">\n -\n -<form name="tool_create" method="post" action="WebSite_newContent">\n -\n - <input id="document_action_mode" name="document_action_mode" value="clone_to" type="hidden"/>\n -\n - <h3>Clone Current Page</h3>\n -\n -<table cellspacing="1" cellpadding="0" border="0">\n - <tr>\n - <td>Destination Section</td>\n - <td>\n - <select class="input" name="destination_section" size="1">\n - <tal:block tal:repeat="top_section python: context.WebSite_getSiteValue().WebSite_getMainSectionList()">\n - <option tal:content="python: top_section.getTitle()"\n - tal:attributes="value python: top_section.getId()"/>\n - </tal:block>\n - </select>\n - </td>\n - </tr>\n - <tr>\n - <td colspan="2" align="center">\n - <input type="image" alt="Clone & Edit" title="Clone & Edit" src="pictures/clone-document.png" id="clone_action_icon"/> Clone & Edit\n - </td>\n - </tr>\n -</table>\n -\n -</form>\n -\n -</tal:block> - -]]></string> </value> - </item> - <item> - <key> <string>content_type</string> </key> - <value> <string>text/html</string> </value> - </item> - <item> - <key> <string>expand</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>medicentre_tool_clone_document</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Used ?</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> -- 2.30.9