From efe1e4fdc568de8c377ac581c75c4f18f41e1504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 27 Nov 2007 10:13:34 +0000
Subject: [PATCH] Those skins are not used, and have bogus content

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17814 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_base/Organisation_edit.xml           | 174 ------------------
 .../erp5_base/Organisation_exportAsText.xml   |  69 -------
 bt5/erp5_base/bt/revision                     |   2 +-
 3 files changed, 1 insertion(+), 244 deletions(-)
 delete mode 100644 bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Organisation_edit.xml
 delete mode 100644 bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Organisation_exportAsText.xml

diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Organisation_edit.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Organisation_edit.xml
deleted file mode 100644
index 20513b8223..0000000000
--- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Organisation_edit.xml
+++ /dev/null
@@ -1,174 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.PythonScripts.PythonScript</string>
-          <string>PythonScript</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Python_magic</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <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_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <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>_body</string> </key>
-            <value> <string>from Products.Formulator.Errors import ValidationError, FormValidationError\n
-\n
-request=context.REQUEST\n
-\n
-try:\n
-  # Validate the form\n
-  context.Organisation_view.validate_all_to_request(request)\n
-  context.edit(id=request.my_id\n
-             , title=request.my_title\n
-             , corporate_name = request.my_corporate_name\n
-      , description = request.my_description)\n
-except FormValidationError, validation_errors:\n
-  # Pack errors into the request\n
-  field_errors = context.Organisation_view.ErrorFields(validation_errors)\n
-  request.set(\'field_errors\', field_errors)\n
-  return context.Organisation_view(request)\n
-else:\n
-  redirect_url = \'%s/Organisation_view?%s\' % ( context.absolute_url()\n
-                                  , \'portal_status_message=Data+Updated.\'\n
-                                  )\n
-\n
-request[ \'RESPONSE\' ].redirect( redirect_url )\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_filepath</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_owner</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>Products.Formulator.Errors</string>
-                            <string>ValidationError</string>
-                            <string>FormValidationError</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>request</string>
-                            <string>validation_errors</string>
-                            <string>field_errors</string>
-                            <string>redirect_url</string>
-                            <string>_getitem_</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Organisation_edit</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Organisation_exportAsText.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Organisation_exportAsText.xml
deleted file mode 100644
index a7fc396424..0000000000
--- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Organisation_exportAsText.xml
+++ /dev/null
@@ -1,69 +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>_owner</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_text</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-  <id tal:content="here/id"></id>\n
-
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Organisation_exportAsText</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision
index 37c3b662e1..b3b2268d23 100644
--- a/bt5/erp5_base/bt/revision
+++ b/bt5/erp5_base/bt/revision
@@ -1 +1 @@
-227
\ No newline at end of file
+228
\ No newline at end of file
-- 
2.30.9