diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage.xml new file mode 100644 index 0000000000000000000000000000000000000000..04a08d13275f5dc098a0085f14542ee63ba373ac --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Folder" module="OFS.Folder"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>business_template_skin_layer_priority</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>float</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>business_template_skin_layer_priority</string> </key> + <value> <float>100.0</float> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_new_toppage</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_contributeContent.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_contributeContent.xml new file mode 100644 index 0000000000000000000000000000000000000000..a84986f2530eed0427dfb5128a2b53b09057626d --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_contributeContent.xml @@ -0,0 +1,245 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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>"""\n + A method invoked with parameters provided by the \n + contribute widget.\n +\n + **kw -- remaining params passed to the constructor\n +"""\n +from Products.ERP5.Document.Document import ConversionError\n +from xmlrpclib import Fault\n +from socket import error as SocketError\n +\n +# Do some processing of parameters cause we do not use ERP5 Form here\n +if contribute_classification:\n + kw[\'classification\'] = contribute_classification\n +\n +if contribute_source_project:\n + kw[\'follow_up\'] = contribute_source_project\n +\n +if contribute_portal_type:\n + kw[\'portal_type\'] = contribute_portal_type\n +\n +if contribute_file is not None:\n + kw[\'file\'] = contribute_file\n +\n +# We want to discover metadata synchronously\n +kw[\'discover_metadata\'] = 0\n +\n +editable_mode = 1\n +file_name = getattr(contribute_file, \'filename\', None)\n +# try to ingest file\n +failure = 0\n +new_content = None\n +merged_content = None\n +\n +try:\n + new_content = context.portal_contributions.newContent(**kw)\n + new_content.processFile()\n + merged_content = new_content.Document_convertToBaseFormatAndDiscoverMetadata(file_name=file_name)\n +except ConversionError, Fault:\n + # there are errors during ingestion content\n + failure = 1\n + msg = \'Sorry, there was a problem during conversion of your document.\'\n +except SocketError:\n + # conversion server is down\n + failure = 1\n + msg = \'Sorry, the conversion server is down. Please try again later.\'\n +except (TypeError, KeyError, AttributeError):\n + # there\'s an unknow error occured\n + failure = 1\n + msg = \'Sorry, unknow error occured.\'\n +\n +target = None\n +if merged_content is not None:\n + target = merged_content\n +elif new_content is not None:\n + target = new_content\n +else:\n + target = context\n +\n +if failure:\n + msg = context.Base_translateString(msg)\n + return target.Base_redirect(\'view\',\n + keep_items=dict(portal_status_message=msg,\n + editable_mode=0))\n +# successful ingestion, show appropriate message\n +if merged_content is not None and merged_content is not new_content:\n + msg = context.Base_translateString(\'Document successfully updated\')\n + target = merged_content\n +else:\n + msg = context.Base_translateString(\'Document successfully created\')\n + target = new_content\n +\n +return target.Base_redirect(\'view\',\n + keep_items=dict(portal_status_message=msg, \n + editable_mode=editable_mode))\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>_params</string> </key> + <value> <string>contribute_file=None, contribute_classification=None, contribute_source_project=None, contribute_portal_type=None, **kw</string> </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>4</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>contribute_file</string> + <string>contribute_classification</string> + <string>contribute_source_project</string> + <string>contribute_portal_type</string> + <string>kw</string> + <string>Products.ERP5.Document.Document</string> + <string>ConversionError</string> + <string>xmlrpclib</string> + <string>Fault</string> + <string>socket</string> + <string>error</string> + <string>SocketError</string> + <string>_write_</string> + <string>None</string> + <string>editable_mode</string> + <string>getattr</string> + <string>file_name</string> + <string>failure</string> + <string>new_content</string> + <string>merged_content</string> + <string>_apply_</string> + <string>_getattr_</string> + <string>context</string> + <string>msg</string> + <string>TypeError</string> + <string>KeyError</string> + <string>AttributeError</string> + <string>target</string> + <string>dict</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + <none/> + <none/> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_contributeContent</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_countAdvancedSearchResultList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_countAdvancedSearchResultList.xml new file mode 100644 index 0000000000000000000000000000000000000000..582a536ba5e13d9694e86acf741a375f8375fd49 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_countAdvancedSearchResultList.xml @@ -0,0 +1,151 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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>if search_section_path is not None:\n + section_value = context.getPortalObject().restrictedTraverse(search_section_path)\n + return section_value.countResults(**kw)\n +\n +return context.portal_catalog.countResults(**kw)\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>_params</string> </key> + <value> <string>search_section_path=None, **kw</string> </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>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>search_section_path</string> + <string>kw</string> + <string>None</string> + <string>_getattr_</string> + <string>context</string> + <string>section_value</string> + <string>_apply_</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_countAdvancedSearchResultList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getAdvancedSearchResultList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getAdvancedSearchResultList.xml new file mode 100644 index 0000000000000000000000000000000000000000..3bc01715ba26c5e4a4b689e9de8d976c9c88535c --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getAdvancedSearchResultList.xml @@ -0,0 +1,150 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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>if search_section_path is not None:\n + section_value = context.getPortalObject().restrictedTraverse(search_section_path)\n + return section_value.searchResults(**kw)\n +return context.portal_catalog(**kw)\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>_params</string> </key> + <value> <string>search_section_path=None, **kw</string> </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>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>search_section_path</string> + <string>kw</string> + <string>None</string> + <string>_getattr_</string> + <string>context</string> + <string>section_value</string> + <string>_apply_</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_getAdvancedSearchResultList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getCategorizedModuleActionInformationDict.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getCategorizedModuleActionInformationDict.xml new file mode 100644 index 0000000000000000000000000000000000000000..d5d5a0bef4867a3f217f1b52aa70f98ab5ca513e --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getCategorizedModuleActionInformationDict.xml @@ -0,0 +1,306 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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>def getModuleActionInformationDict(**kw):\n + N_ = context.Base_translateString\n + result_dict = {}\n +\n + # If the user is not allowed to get the category, return immediately.\n + portal = context.getPortalObject()\n + business_application = portal.restrictedTraverse(\'portal_categories/business_application\',\n + None)\n + if business_application is None:\n + return result_dict\n +\n + renderCustomLink = portal.ERP5Site_renderCustomLink\n + listFilteredActionsFor = portal.portal_actions.listFilteredActionsFor\n + cancel_url = portal.absolute_url()\n +\n + # Use searchFolder, because security checks are required, and sorting\n + # is not supported by listFolderContents.\n + for o in business_application.searchFolder(sort_on=\'int_index\'):\n + module_category = o.getObject()\n + module_list = module_category.getBusinessApplicationRelatedValueList(\n + checked_permission=\'View\',\n + portal_type=portal.getPortalModuleTypeList())\n +\n + # It is necessary to sort the modules by translated titles for convenience.\n + titled_module_list = [(module.getTranslatedTitle(), module) for module in module_list]\n + titled_module_list.sort(lambda a,b: cmp(a[0], b[0]))\n +\n + view_list = []\n + add_list = []\n + search_list = []\n + exchange_list = []\n + report_list = []\n + print_list = []\n +\n + for translated_title, module in titled_module_list:\n + module_url = module.absolute_url()\n + action_dict = module.Base_filterDuplicateActions(listFilteredActionsFor(module))\n +\n + # Obtain a form id and a selection name from the view.\n + form_id = \'view\'\n + selection_name = \'default_selection\'\n + type_info = module.getTypeInfo()\n + expr = None\n + for ai in type_info.listActions():\n + if ai.getId() == \'view\':\n + break\n + else:\n + ai = None\n + if ai is not None:\n + form_id = str(ai.getActionExpression()).rsplit(\'/\', 1)[-1]\n + form = getattr(portal, form_id, None)\n + if form is not None:\n + listbox = form.Form_getListbox()\n + if listbox is not None:\n + selection_name = listbox.get_value(\'selection_name\')\n +\n + # Collect view actions.\n + module_view_list = [(None, \'%s/view\' % module_url)]\n + view_list.append((translated_title, module_view_list))\n +\n + # Collect add actions.\n + module_add_list = []\n + for content_type in module.getVisibleAllowedContentTypeList():\n + action = \'add %s\' % content_type\n + url = renderCustomLink(\'%s/Base_doAction\' % module_url,\n + dict(cancel_url=cancel_url,\n + form_id=form_id,\n + selection_name=selection_name,\n + select_action=action))\n + module_add_list.append((content_type, url))\n + for template in module.getDocumentTemplateList():\n + action = \'template %s\' % template.getRelativeUrl()\n + url = renderCustomLink(\'%s/Base_doAction\' % module_url,\n + dict(cancel_url=cancel_url,\n + form_id=form_id,\n + selection_name=selection_name,\n + select_action=action))\n + template_name = N_(\'${template_title} (Template)\',\n + mapping=dict(template_title=template.getTitle()))\n + module_add_list.append((template_name, url))\n + for add_action in action_dict.get(\'object_add\', ()):\n + url = renderCustomLink(add_action[\'url\'],\n + dict(cancel_url=cancel_url,\n + form_id=form_id,\n + selection_name=selection_name,\n + select_action=action))\n + module_add_list.append((add_action[\'name\'], url))\n + if module_add_list:\n + add_list.append((translated_title, module_add_list))\n +\n + # Collect search actions.\n + module_search_list = []\n + for search_action in action_dict.get(\'object_search\', ()):\n + url = renderCustomLink(search_action[\'url\'],\n + dict(cancel_url=cancel_url,\n + form_id=form_id,\n + selection_name=selection_name,\n + dialog_category=\'object_search\')).strip()\n + module_search_list.append((search_action[\'name\'], url))\n + if module_search_list:\n + search_list.append((translated_title, module_search_list))\n +\n + # Collect exchange actions.\n + module_exchange_list = []\n + for exchange_action in action_dict.get(\'object_exchange\', ()):\n + url = renderCustomLink(exchange_action[\'url\'],\n + dict(cancel_url=cancel_url,\n + form_id=form_id,\n + selection_name=selection_name,\n + dialog_category=\'object_exchange\')).strip()\n + module_exchange_list.append((exchange_action[\'name\'], url))\n + if module_exchange_list:\n + exchange_list.append((translated_title, module_exchange_list))\n +\n + # Collect report actions.\n + module_report_list = []\n + for report_action in action_dict.get(\'object_report\', ()):\n + url = renderCustomLink(report_action[\'url\'],\n + dict(cancel_url=cancel_url,\n + form_id=form_id,\n + selection_name=selection_name,\n + dialog_category=\'object_report\')).strip()\n + module_report_list.append((report_action[\'name\'], url))\n + if module_report_list:\n + report_list.append((translated_title, module_report_list))\n +\n + # Collect print actions.\n + module_print_list = []\n + for print_action in action_dict.get(\'object_print\', ()):\n + url = renderCustomLink(print_action[\'url\'],\n + dict(cancel_url=cancel_url,\n + form_id=form_id,\n + selection_name=selection_name,\n + dialog_category=\'object_print\')).strip()\n + module_print_list.append((print_action[\'name\'], url))\n + if module_print_list:\n + print_list.append((translated_title, module_print_list))\n +\n + # Add the actions, only if they are not empty.\n + action_list_dict = {}\n + for k, v in ((\'add\', add_list), (\'search\', search_list),\n + (\'exchange\', exchange_list), (\'report\', report_list),\n + (\'print\', print_list), (\'view\', view_list)):\n + if v:\n + result_dict.setdefault(k, []).append((module_category.getTitle(), v))\n +\n + return result_dict\n +\n +from Products.ERP5Type.Cache import CachingMethod\n +from AccessControl import getSecurityManager\n +\n +getModuleActionInformationDict = CachingMethod(getModuleActionInformationDict,\n + id=\'ERP5Site_getModuleActionInformationDict\',\n + cache_factory=\'erp5_ui_long\')\n +return getModuleActionInformationDict(user=getSecurityManager().getUser(),\n + language=context.Localizer.get_selected_language())\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>_params</string> </key> + <value> <string></string> </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>getModuleActionInformationDict</string> + <string>Products.ERP5Type.Cache</string> + <string>CachingMethod</string> + <string>AccessControl</string> + <string>getSecurityManager</string> + <string>_getattr_</string> + <string>context</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>ERP5Site_getCategorizedModuleActionInformationDict</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getConfiguredStatusDict.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getConfiguredStatusDict.xml new file mode 100644 index 0000000000000000000000000000000000000000..48c7cdb1528a43db624b4c4866eb5a8a1430471e --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getConfiguredStatusDict.xml @@ -0,0 +1,209 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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># Probe known skins to determine whether erp5_base and erp5_dms are installed.\n +basic_mode = (getattr(context, \'Currency_view\', None) is not None)\n +dms_mode = (getattr(context, \'DocumentModule_viewDocumentList\', None) is not None)\n +\n +express_pref_dict = context.ERP5Site_getExpressPreferenceDict()\n +subscription_status = express_pref_dict.get(\'subscription_status\')\n +configuration_status = express_pref_dict.get(\'configuration_status\')\n +user_id = express_pref_dict.get(\'user_id\')\n +\n +SUPPORT_ENABLED = \'support_enabled\'\n +SUPPORT_DISABLED = \'support_disabled\'\n +ADVERTISEMENT_ENABLED = \'advertisement_enabled\'\n +\n +portal = context.getPortalObject()\n +\n +if getattr(portal, \'portal_wizard\', None) is None:\n + express_mode = SUPPORT_DISABLED\n +elif subscription_status:\n + if user_id:\n + express_mode = SUPPORT_ENABLED\n + else:\n + express_mode = SUPPORT_DISABLED\n +else:\n + express_mode = ADVERTISEMENT_ENABLED\n +\n +# One more test for express\n +# If a user uses an account for configurator, only express tab will be displayed.\n +member = portal.portal_membership.getAuthenticatedMember()\n +role_list = list(member.getRoles())\n +role_list.sort()\n +group_list = ()\n +getGroups = getattr(member, \'getGroups\', None)\n +if role_list == [\'Authenticated\', \'Member\'] and not getGroups():\n + basic_mode = False\n + dms_mode = False\n +\n +return {\'basic_mode\': basic_mode,\n + \'dms_mode\': dms_mode,\n + \'express_mode\': express_mode,}\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>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>_proxy_roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </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>getattr</string> + <string>context</string> + <string>None</string> + <string>basic_mode</string> + <string>dms_mode</string> + <string>_getattr_</string> + <string>express_pref_dict</string> + <string>subscription_status</string> + <string>configuration_status</string> + <string>user_id</string> + <string>SUPPORT_ENABLED</string> + <string>SUPPORT_DISABLED</string> + <string>ADVERTISEMENT_ENABLED</string> + <string>portal</string> + <string>express_mode</string> + <string>member</string> + <string>list</string> + <string>role_list</string> + <string>group_list</string> + <string>getGroups</string> + <string>False</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>ERP5Site_getConfiguredStatusDict</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>ProxyRole(Manager)</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getExpressPreferenceDict.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getExpressPreferenceDict.xml new file mode 100644 index 0000000000000000000000000000000000000000..9549ea22923c9d2bc3f11d8ff63a4ac1af0afa36 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getExpressPreferenceDict.xml @@ -0,0 +1,151 @@ +<?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>tool = context.portal_preferences\n +subscription_status = tool.getPreference(\'preferred_express_subscription_status\')\n +configuration_status = tool.getPreference(\'preferred_express_configuration_status\')\n +user_id = tool.getPreference(\'preferred_express_user_id\')\n +\n +return {\'subscription_status\':subscription_status,\n + \'configuration_status\':configuration_status,\n + \'user_id\':user_id,\n + }\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>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>_getattr_</string> +<string>context</string> + <string>tool</string> + <string>subscription_status</string> + <string>configuration_status</string> + <string>user_id</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>ERP5Site_getExpressPreferenceDict</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getExpressSupportHTML.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getExpressSupportHTML.xml new file mode 100644 index 0000000000000000000000000000000000000000..a0ee8623f86d136493fae30dffe7bda56dadd1ce --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getExpressSupportHTML.xml @@ -0,0 +1,169 @@ +<?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>language = context.Localizer.get_selected_language()\n +\n +SUPPORT_ENABLED = \'support_enabled\'\n +SUPPORT_DISABLED = \'support_disabled\'\n +ADVERTISEMENT_ENABLED = \'advertisement_enabled\'\n +\n +if express_mode==SUPPORT_ENABLED:\n + # For Express users.\n + proxy_path = \'web_site_module/express_frame/WebSite_viewExpressCustomerSupportMenu\'\n +elif express_mode==SUPPORT_DISABLED:\n + return \'\'\n +else:\n + # Advertisement\n + # XXXX FIX THIS URL!!!\n + proxy_path = \'web_site_module/express_frame/WebSite_viewDummyAdvertisement\'\n +\n +# XXX we need to think about https\n +traverse_subpath = proxy_path.split(\'/\')\n +context.REQUEST.set(\'traverse_subpath\', traverse_subpath)\n +return context.portal_wizard.proxy()\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>_params</string> </key> + <value> <string>express_mode</string> </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>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>express_mode</string> + <string>_getattr_</string> + <string>context</string> + <string>language</string> + <string>SUPPORT_ENABLED</string> + <string>SUPPORT_DISABLED</string> + <string>ADVERTISEMENT_ENABLED</string> + <string>proxy_path</string> + <string>traverse_subpath</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>ERP5Site_getExpressSupportHTML</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getSelectedTab.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getSelectedTab.xml new file mode 100644 index 0000000000000000000000000000000000000000..147bb8dfe96c747c660f6c6a3670f12347132c48 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getSelectedTab.xml @@ -0,0 +1,169 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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>tab_list = context.ERP5Site_getTabList()\n +if tab_list:\n + # Obtain the selected tab from the request. This is typically a cookie.\n + selected_tab = context.REQUEST.get(\'erp5_site_selected_tab\', None)\n + for tab in tab_list:\n + if tab[\'id\'] == selected_tab:\n + break\n + else:\n + # If not matched, use the first one.\n + tab = tab_list[0]\n +else:\n + tab = None\n +\n +# Renew a cookie, if possible.\n +if tab is not None:\n + context.REQUEST.RESPONSE.setCookie(\'erp5_site_selected_tab\', tab[\'id\'])\n +\n +return tab\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>_params</string> </key> + <value> <string></string> </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>_getattr_</string> + <string>context</string> + <string>tab_list</string> + <string>None</string> + <string>selected_tab</string> + <string>_getiter_</string> + <string>tab</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>ERP5Site_getSelectedTab</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getTabList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getTabList.xml new file mode 100644 index 0000000000000000000000000000000000000000..138ab110170a169fbe834fe2705f3b14db174ca0 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_getTabList.xml @@ -0,0 +1,201 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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>def getTabList(**kw):\n + tab_list = []\n +\n + status_dict = context.ERP5Site_getConfiguredStatusDict()\n + basic_mode = status_dict[\'basic_mode\']\n + dms_mode = status_dict[\'dms_mode\']\n + express_mode = status_dict[\'express_mode\']\n +\n + info_dict = context.ERP5Site_getCategorizedModuleActionInformationDict()\n +\n + if dms_mode:\n + tab_list.append({\'id\': \'quick_search_tab\',\n + \'renderer\': \'ERP5Site_renderQuickSearchDialog\',\n + \'title\': \'Quick Search\'})\n +\n + tab_list.append({\'id\': \'contribution_tab\',\n + \'renderer\': \'ERP5Site_renderContributionDialog\',\n + \'title\': \'Contribute\'})\n +\n + if basic_mode:\n + if info_dict.get(\'view\'):\n + tab_list.append({\'id\': \'browse_tab\',\n + \'renderer\': \'ERP5Site_renderViewActionList\',\n + \'title\': \'Browse\'})\n + if info_dict.get(\'add\'):\n + tab_list.append({\'id\': \'document_creation_tab\',\n + \'renderer\': \'ERP5Site_renderDocumentCreationActionList\',\n + \'title\': \'New\'})\n +\n + if info_dict.get(\'search\'):\n + tab_list.append({\'id\': \'document_search_tab\',\n + \'renderer\': \'ERP5Site_renderDocumentSearchActionList\',\n + \'title\': \'Dig\'})\n +\n + if info_dict.get(\'report\'):\n + tab_list.append({\'id\': \'report_tab\',\n + \'renderer\': \'ERP5Site_renderReportActionList\',\n + \'title\': \'Reports\'})\n +\n + if info_dict.get(\'print\'):\n + tab_list.append({\'id\': \'printout_tab\',\n + \'renderer\': \'ERP5Site_renderPrintActionList\',\n + \'title\': \'Printouts\'})\n +\n + if info_dict.get(\'exchange\'):\n + tab_list.append({\'id\': \'exchange_tab\',\n + \'renderer\': \'ERP5Site_renderExchangeActionList\',\n + \'title\': \'Exchange\'})\n +\n + if express_mode in (\'support_enabled\', \'advertisement_enabled\'):\n + tab_list.append({\'id\': \'express_support_tab\',\n + \'renderer\': \'ERP5Site_renderExpressSupport\',\n + \'title\': \'Express Support\'})\n +\n + return tab_list\n +\n +return getTabList()\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>_params</string> </key> + <value> <string></string> </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>getTabList</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>ERP5Site_getTabList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderContributionDialog.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderContributionDialog.xml new file mode 100644 index 0000000000000000000000000000000000000000..93de7408e948920251c072f90888fed810d58cd0 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderContributionDialog.xml @@ -0,0 +1,120 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n + <div class="fieldset hidden_label">\n + \n + <div>\n + <input type="file" name="contribute_file" size="30" />\n + </div>\n + <tal:block tal:define="contribute_prefix string:contribute_">\n + <div>\n + <label for="classification" value="" i18n:translate="" i18n:domain="ui">Classification</label>\n + <select size="1" name="classification" id="classification"\n + tal:attributes="name string:${contribute_prefix}classification">\n + <option value="" value="" i18n:translate="" i18n:domain="ui">-- Select Classification --</option>\n + <option tal:repeat="item python:[c for c in here.portal_categories.classification.getCategoryChildLogicalPathItemList()[1:] if len(c[1].split(\'/\'))>1]" tal:content="python:item[0]" tal:attributes="value python:item[1]">\n + Agricultural Development\n + </option>\n + </select>\n + </div>\n + <div>\n + <label for="source_project" value="" i18n:translate="" i18n:domain="ui">Programme</label>\n + <select size="1" id="source_project" name="source_project"\n + tal:attributes="name string:${contribute_prefix}source_project"\n + tal:define="ticket_module nocall:here/ticket_module|nothing;\n + project_module nocall:here/project_module|nothing;">\n + <option value="" value="" i18n:translate="" i18n:domain="ui">-- Select Programme --</option>\n + <option tal:condition="project_module"\n + tal:repeat="item python:[(o.getTitle(),o.getRelativeUrl()) for o in project_module.searchFolder()]" tal:content="python:item[0]" tal:attributes="value python:item[1]">\n + Project Name\n + </option>\n + <option tal:condition="ticket_module"\n + tal:repeat="item python:[(o.getTitle(),o.getRelativeUrl()) for o in ticket_module.searchFolder()]" tal:content="python:item[0]" tal:attributes="value python:item[1]">\n + Ticket Name\n + </option>\n + </select>\n + </div>\n + </tal:block>\n + \n + <p class="clear" />\n + <div style="float:none; margin-top:10px;">\n + <input type="submit" name="ERP5Site_uploadContributeContent:method" value="Contribute"/>\n + </div>\n + </div>\n +</tal:block>\n + + +]]></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>ERP5Site_renderContributionDialog</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderDocumentCreationActionList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderDocumentCreationActionList.xml new file mode 100644 index 0000000000000000000000000000000000000000..2136c24546f3e12e7897ccbdf6c9548be133ddd9 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderDocumentCreationActionList.xml @@ -0,0 +1,116 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n + add_info info_dict/add | nothing">\n + <div>\n + <tal:block tal:repeat="module_category add_info">\n + <div style="width:25%; min-width:150px; float:left;"\n + tal:define="module_list python:module_category[1]">\n + <ul style="list-style-type:none; padding-left:10px;">\n + <li style="font-weight:bold; color:#002e3f;"\n + tal:content="python:module_category[0]"/>\n + <ul style="list-style-type:none; padding-left:0;">\n + <tal:block tal:repeat="module module_list">\n + <tal:block tal:define="action_list python:module[1];\n + default_action python:test(len(action_list) > 1, None, action_list[0])"\n + tal:condition="python:action_list">\n + <li style="color:#002e3f;">\n + <a href=""\n + tal:omit-tag="python:default_action is None"\n + tal:attributes="href python:default_action and default_action[1]"\n + tal:content="python:default_action and default_action[0] or module[0]">\n + </a>\n + </li>\n + <ul tal:condition="python:default_action is None"\n + style="list-style-type:none; padding-left:15px;">\n + <li tal:repeat="action action_list">\n + <a style="color:#3d7474"\n + tal:content="python:action[0]"\n + tal:attributes="href python:action[1]"/>\n + </li>\n + </ul>\n + </tal:block>\n + </tal:block>\n + </ul>\n + </ul>\n + </div>\n + </tal:block>\n + </div>\n +</tal:block>\n + + +]]></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>ERP5Site_renderDocumentCreationActionList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderDocumentSearchActionList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderDocumentSearchActionList.xml new file mode 100644 index 0000000000000000000000000000000000000000..34bb82abaed7a27c43f96630ddbac29ff3903b7d --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderDocumentSearchActionList.xml @@ -0,0 +1,117 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n + module_category_list info_dict/search">\n + <tal:block tal:repeat="module_category module_category_list">\n + <div style="width:25%; min-width:150px; float:left;"\n + class="tabbertabcont"\n + tal:define="module_list python:module_category[1]">\n + <ul style="list-style-type:none; padding-left:10px;"\n + tal:condition="python:module_list">\n + <li style="font-weight:bold; color:#002e3f;"\n + tal:content="python:module_category[0]" />\n + <ul style="list-style-type:none; padding-left:0;">\n + <tal:block tal:repeat="module module_list">\n + <tal:block tal:define="action_list python:module[1];\n + default_action python:test(len(action_list) > 1, None, action_list[0])"\n + tal:condition="python:action_list">\n + <li style="color:#002e3f;">\n + <span style="color:#002e3f;"\n + tal:condition="not:default_action"\n + tal:content="python:module[0]"></span>\n + <a tal:condition="default_action"\n + tal:content="python:module[0]"\n + tal:attributes="href python:default_action[1]"></a>\n + </li>\n + <ul tal:condition="not:default_action"\n + style="list-style-type:none; padding-left:15px;">\n + <li tal:repeat="action action_list">\n + <a style="color:#3d7474"\n + tal:content="python:action[0]"\n + tal:attributes="href python:action[1]"></a>\n + </li>\n + </ul>\n + </tal:block>\n + </tal:block>\n + </ul>\n + </ul>\n + </div>\n + </tal:block>\n +</tal:block>\n + + +]]></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>ERP5Site_renderDocumentSearchActionList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderExchangeActionList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderExchangeActionList.xml new file mode 100644 index 0000000000000000000000000000000000000000..2f336c2cac0718b3e0694fb86e7891f4f2212f38 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderExchangeActionList.xml @@ -0,0 +1,117 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n + module_category_list info_dict/exchange">\n + <tal:block tal:repeat="module_category module_category_list">\n + <div style="width:25%; min-width:150px; float:left;"\n + class="tabbertabcont"\n + tal:define="module_list python:module_category[1]">\n + <ul style="list-style-type:none; padding-left:10px;"\n + tal:condition="python:module_list">\n + <li style="font-weight:bold; color:#002e3f;"\n + tal:content="python:module_category[0]" />\n + <ul style="list-style-type:none; padding-left:0;">\n + <tal:block tal:repeat="module module_list">\n + <tal:block tal:define="action_list python:module[1];\n + default_action python:test(len(action_list) > 1, None, action_list[0])"\n + tal:condition="python:action_list">\n + <li style="color:#002e3f;">\n + <span style="color:#002e3f;"\n + tal:condition="not:default_action"\n + tal:content="python:module[0]"></span>\n + <a tal:condition="default_action"\n + tal:content="python:module[0]"\n + tal:attributes="href python:default_action[1]"></a>\n + </li>\n + <ul tal:condition="not:default_action"\n + style="list-style-type:none; padding-left:15px;">\n + <li tal:repeat="action action_list">\n + <a style="color:#3d7474"\n + tal:content="python:action[0]"\n + tal:attributes="href python:action[1]"></a>\n + </li>\n + </ul>\n + </tal:block>\n + </tal:block>\n + </ul>\n + </ul>\n + </div>\n + </tal:block>\n +</tal:block>\n + + +]]></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>ERP5Site_renderExchangeActionList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderExpressSupport.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderExpressSupport.xml new file mode 100644 index 0000000000000000000000000000000000000000..9c2456e652ec163a60cd1ae67d8bf90f7cb789c5 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderExpressSupport.xml @@ -0,0 +1,86 @@ +<?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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="configured_status_dict here/ERP5Site_getConfiguredStatusDict;\n + express_mode configured_status_dict/express_mode;">\n + <tal:block replace="structure python:here.ERP5Site_getExpressSupportHTML(express_mode)"></tal:block>\n +</tal:block>\n + + +]]></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>ERP5Site_renderExpressSupport</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderPrintActionList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderPrintActionList.xml new file mode 100644 index 0000000000000000000000000000000000000000..afcc53b934bd147186103001300976af3dbe3919 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderPrintActionList.xml @@ -0,0 +1,117 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n + module_category_list info_dict/print">\n + <tal:block tal:repeat="module_category module_category_list">\n + <div style="width:25%; min-width:150px; float:left;"\n + class="tabbertabcont"\n + tal:define="module_list python:module_category[1]">\n + <ul style="list-style-type:none; padding-left:10px;"\n + tal:condition="python:module_list">\n + <li style="font-weight:bold; color:#002e3f;"\n + tal:content="python:module_category[0]" />\n + <ul style="list-style-type:none; padding-left:0;">\n + <tal:block tal:repeat="module module_list">\n + <tal:block tal:define="action_list python:module[1];\n + default_action python:test(len(action_list) > 1, None, action_list[0])"\n + tal:condition="python:action_list">\n + <li style="color:#002e3f;">\n + <span style="color:#002e3f;"\n + tal:condition="not:default_action"\n + tal:content="python:module[0]"></span>\n + <a tal:condition="default_action"\n + tal:content="python:module[0]"\n + tal:attributes="href python:default_action[1]"></a>\n + </li>\n + <ul tal:condition="not:default_action"\n + style="list-style-type:none; padding-left:15px;">\n + <li tal:repeat="action action_list">\n + <a style="color:#3d7474"\n + tal:content="python:action[0]"\n + tal:attributes="href python:action[1]"></a>\n + </li>\n + </ul>\n + </tal:block>\n + </tal:block>\n + </ul>\n + </ul>\n + </div>\n + </tal:block>\n +</tal:block>\n + + +]]></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>ERP5Site_renderPrintActionList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderQuickSearchDialog.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderQuickSearchDialog.xml new file mode 100644 index 0000000000000000000000000000000000000000..a9dec24d3752567b6c2c325aebcebf38440b5e72 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderQuickSearchDialog.xml @@ -0,0 +1,99 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n + <div>\n + <input type="text" size="40" name="new_advanced_search_text" id="SearchableText" class="autofocus"/>\n + <tal:block i18n:translate="" i18n:domain="ui">in</tal:block>\n + <select size="1" class="input" name="new_advanced_search_portal_type">\n + <option value="" selected value="" i18n:translate="" i18n:domain="ui">Everything</option>\n + <option value="all" selected value="" i18n:translate="" i18n:domain="ui">All Documents</option>\n + <option tal:repeat="ptype here/getPortalDocumentTypeList"\n + tal:attributes="value ptype"\n + tal:content="python:ptype"\n + i18n:translate="" i18n:domain="ui">\n + Standard Type\n + </option>\n + <option value="" i18n:translate="" i18n:domain="ui">-- Directory --</option>\n + <option value="Person" i18n:translate="" i18n:domain="ui">Person</option>\n + <option value="Organisation" i18n:translate="" i18n:domain="ui">Organisation</option>\n + </select>\n + <input type="submit" name="ERP5Site_viewQuickSearchResultList:method" value="Search"\n + i18n:attributes="value" i18n:domain="ui"/>\n + </div>\n +</tal:block>\n + + +]]></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>ERP5Site_renderQuickSearchDialog</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderReportActionList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderReportActionList.xml new file mode 100644 index 0000000000000000000000000000000000000000..afd6bf5bea7325933cf07fb363fa00a9a5257ed7 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderReportActionList.xml @@ -0,0 +1,117 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n + module_category_list info_dict/report">\n + <tal:block tal:repeat="module_category module_category_list">\n + <div style="width:25%; min-width:150px; float:left;"\n + class="tabbertabcont"\n + tal:define="module_list python:module_category[1]">\n + <ul style="list-style-type:none; padding-left:10px;"\n + tal:condition="python:module_list">\n + <li style="font-weight:bold; color:#002e3f;"\n + tal:content="python:module_category[0]" />\n + <ul style="list-style-type:none; padding-left:0;">\n + <tal:block tal:repeat="module module_list">\n + <tal:block tal:define="action_list python:module[1];\n + default_action python:test(len(action_list) > 1, None, action_list[0])"\n + tal:condition="python:action_list">\n + <li style="color:#002e3f;">\n + <span style="color:#002e3f;"\n + tal:condition="not:default_action"\n + tal:content="python:module[0]"></span>\n + <a tal:condition="default_action"\n + tal:content="python:module[0]"\n + tal:attributes="href python:default_action[1]"></a>\n + </li>\n + <ul tal:condition="not:default_action"\n + style="list-style-type:none; padding-left:15px;">\n + <li tal:repeat="action action_list">\n + <a style="color:#3d7474"\n + tal:content="python:action[0]"\n + tal:attributes="href python:action[1]"></a>\n + </li>\n + </ul>\n + </tal:block>\n + </tal:block>\n + </ul>\n + </ul>\n + </div>\n + </tal:block>\n +</tal:block>\n + + +]]></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>ERP5Site_renderReportActionList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderTabList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderTabList.xml new file mode 100644 index 0000000000000000000000000000000000000000..5171f7fde8edc83c8a538e00aeda1d1e0342322e --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderTabList.xml @@ -0,0 +1,88 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="selected_tab options/selected_tab">\n + <ul id="tab_box" \n + tal:define="current_url here/absolute_url"><li tal:repeat="tab here/ERP5Site_getTabList"\n + id="quick_search_tab" class="selected"\n + tal:attributes="class python:test(selected_tab == tab[\'id\'], \'selected\', \'non_selected\');\n + id tab/id"><a href="view"\n + tal:attributes="href python:\'%s/view?erp5_site_selected_tab=%s\' % (current_url, tab[\'id\'])"><span i18n:translate="" i18n:domain="ui"\n + tal:content="tab/title">Quick Search</span></a></li></ul>\n +</tal:block>\n + + +]]></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>ERP5Site_renderTabList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderViewActionList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderViewActionList.xml new file mode 100644 index 0000000000000000000000000000000000000000..ab7694c438cd83724514ae5350873e64f11248be --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_renderViewActionList.xml @@ -0,0 +1,99 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n + module_category_list info_dict/view">\n + <tal:block tal:repeat="module_category module_category_list">\n + <div style="width:25%; min-width:150px; float:left;"\n + tal:define="module_list python:module_category[1]">\n + <ul style="list-style-type:none; padding-left:10px;">\n + <li style="font-weight:bold; color:#002e3f;"\n + tal:content="python:module_category[0]"/>\n + <ul style="list-style-type:none; padding-left:0;">\n + <tal:block tal:repeat="module module_list">\n + <li style="color:#002e3f;">\n + <a tal:content="python:module[0]"\n + tal:attributes="href python:module[1][0][1]"></a>\n + </li>\n + </tal:block>\n + </ul>\n + </ul>\n + </div>\n + </tal:block>\n +</tal:block>\n + + +]]></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>ERP5Site_renderViewActionList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_uploadContributeContent.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_uploadContributeContent.xml new file mode 100644 index 0000000000000000000000000000000000000000..6094abb01f04c94a4a0fe110a610f9d63f0654c7 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_uploadContributeContent.xml @@ -0,0 +1,172 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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>N_ = context.Base_translateString\n +REQUEST = context.REQUEST\n +portal = context.getPortalObject()\n +contribute_file = REQUEST.get(\'contribute_file\', None)\n +contribute_classification = REQUEST.get(\'contribute_classification\', None)\n +contribute_source_project = REQUEST.get(\'contribute_source_project\', None)\n +contribute_portal_type = REQUEST.get(\'contribute_portal_type\', None)\n +\n +\n +if contribute_file is None or not contribute_file.filename:\n + portal_status_message = N_(\'Please select upload file.\')\n + keep_items={\'portal_status_message\':portal_status_message}\n + portal.Base_redirect(form_view=\'view\', keep_items=keep_items)\n + return\n +\n +return context.ERP5Site_contributeContent(\n + contribute_file=contribute_file,\n + contribute_classification=contribute_classification,\n + contribute_source_project=contribute_source_project,\n + contribute_portal_type=contribute_portal_type\n + )\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>_params</string> </key> + <value> <string>*args, **kw</string> </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>args</string> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>N_</string> + <string>REQUEST</string> + <string>portal</string> + <string>None</string> + <string>contribute_file</string> + <string>contribute_classification</string> + <string>contribute_source_project</string> + <string>contribute_portal_type</string> + <string>portal_status_message</string> + <string>keep_items</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>ERP5Site_uploadContributeContent</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_view.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..7bc374a195928cf4cb2d506efcd5eccdebf36149 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_view.xml @@ -0,0 +1,101 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:metal="http://xml.zope.org/namespaces/metal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + tal:define="tab here/ERP5Site_getSelectedTab">\n + <tal:block tal:condition="python:tab is not None">\n + <metal:block use-macro="here/erp5_site_main_template/macros/master">\n + <metal:block fill-slot="tabs">\n + <tal:block tal:replace="structure python:here.ERP5Site_renderTabList(selected_tab=tab[\'id\'])" />\n + </metal:block>\n + <metal:block fill-slot="content">\n + <tal:block tal:replace="structure python:getattr(here, tab[\'renderer\'])()" />\n + </metal:block>\n + </metal:block>\n + </tal:block>\n + <tal:block tal:condition="python:tab is None">\n + <tal:block tal:replace="structure here/ERP5Site_viewClassicFrontPage" />\n + </tal:block>\n + <!-- Gadgets -->\n + <link href="erp5_knowledge_box_top_newpage.css" rel="stylesheet" type="text/css" />\n + <tal:block tal:condition="exists:here/ERP5Site_viewHomeAreaRenderer"\n + tal:replace="structure here/ERP5Site_viewHomeAreaRenderer" />\n +</tal:block>\n +\n +\n + + +]]></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>ERP5Site_view</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewAdvancedSearchResultList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewAdvancedSearchResultList.xml new file mode 100644 index 0000000000000000000000000000000000000000..a68f3fc35e907c3e28670020bd2a06fa7f836665 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewAdvancedSearchResultList.xml @@ -0,0 +1,151 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>ERP5Site_viewAdvancedSearchResultList</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>listbox</string> + </list> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_viewAdvancedSearchResultList</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>ERP5Site_viewSearchResult</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_list</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewAdvancedSearchResultList/listbox.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewAdvancedSearchResultList/listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..95f672b7f70219c50921c7b044bd280e3be7c202 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewAdvancedSearchResultList/listbox.xml @@ -0,0 +1,572 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Form.ListBox</string> + <string>ListBox</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>listbox</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>all_editable_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Title</string> + </tuple> + <tuple> + <string>translated_portal_type</string> + <string>Type</string> + </tuple> + <tuple> + <string>modification_date</string> + <string>Modification Date</string> + </tuple> + <tuple> + <string>translated_validation_state_title</string> + <string>Validation State</string> + </tuple> + <tuple> + <string>translated_simulation_state_title</string> + <string>Simulation State</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string>hiddenLabel</string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <int>15</int> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string>list</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>erp5site_quick_search_result_selection</string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Search Results</string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.TALESField</string> + <string>TALESMethod</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>string:${form/id}?list_style=${request/list_style|string:}</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.MethodField</string> + <string>Method</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>ERP5Site_countAdvancedSearchResultList</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.MethodField</string> + <string>Method</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>ERP5Site_getAdvancedSearchResultList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewClassicFrontPage.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewClassicFrontPage.xml new file mode 100644 index 0000000000000000000000000000000000000000..0e92370ad729cd17bd066107b5bbd14eaec84371 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewClassicFrontPage.xml @@ -0,0 +1,129 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block tal:replace="nothing"\n + xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:metal="http://xml.zope.org/namespaces/metal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n +<!--\n +Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.\n + Vincent Pelletier <vincent@nexedi.com>\n + Christophe Dumez <christophe@nexedi.com>\n +\n +This program is Free Software; you can redistribute it and/or\n +modify it under the terms of the GNU General Public License\n +as published by the Free Software Foundation; either version 2\n +of the License, or (at your option) any later version.\n +\n +This program is distributed in the hope that it will be useful,\n +but WITHOUT ANY WARRANTY; without even the implied warranty of\n +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n +GNU General Public License for more details.\n +\n +You should have received a copy of the GNU General Public License\n +along with this program; if not, write to the Free Software\n +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n +-->\n +</tal:block>\n +<tal:block tal:define="title here/Title">\n +<tal:block metal:use-macro="here/main_template/macros/master">\n + <tal:block metal:fill-slot="main">\n + <tal:block tal:condition="here/portal_membership/isAnonymousUser">\n + <tal:block tal:define="dummy python: request.RESPONSE.redirect(\'%s/login_form\' % url)" />\n + </tal:block>\n + <div tal:condition="python: not here.portal_membership.isAnonymousUser()"\n + class="index_html">\n + <h2 i18n:translate="" i18n:domain="ui">Welcome to ERP5</h2>\n + <table border="1">\n + <tr tal:define="module_list here/ERP5Site_getModuleItemList;\n + module_len python: len(module_list);\n + col_size python: 12;\n + col_len python: module_len % col_size and (module_len + col_size) / col_size or (module_len) / col_size">\n + <td><a href="http://www.erp5.org/"><img src="images/erp5_logo.png" alt="ERP5 Logo" /></a></td>\n + <tal:block tal:repeat="col_no python:range(col_len)">\n + <td valign="top" class="ModuleShortcut">\n + <tal:block tal:repeat="module python:module_list[col_size*col_no:min(col_size*(col_no+1),module_len)] ">\n + <div><a tal:content="python: module[0]"\n + tal:attributes="href python: module[1] + \'/view\'"></a></div>\n + </tal:block>\n + </td>\n + </tal:block>\n + </tr>\n + </table>\n + </div>\n + </tal:block>\n +</tal:block>\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>ERP5Site_viewClassicFrontPage</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewQuickSearchResultList.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewQuickSearchResultList.xml new file mode 100644 index 0000000000000000000000000000000000000000..9cc42eff7ca93122e375718959dd915e959d1438 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/ERP5Site_viewQuickSearchResultList.xml @@ -0,0 +1,175 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </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>"""\n + Prepare a new query by combining an advanced search string\n + with other options. We consider that parameters are received\n + in absolute values (ie. not translated) and that they will\n + be displayed translated. For this reason, we provide\n + a translated portal type.\n +"""\n +translateString = context.Base_translateString\n +if new_advanced_search_portal_type:\n + if new_advanced_search_portal_type == \'all\':\n + return context.Base_redirect(\'ERP5Site_viewAdvancedSearchResultList\',\n + keep_items = dict(reset = 1, \n + advanced_search_text = new_advanced_search_text,\n + list_style= \'table\',\n + portal_type=list(context.getPortalDocumentTypeList())))\n + translated_type = translateString(new_advanced_search_portal_type)\n + return context.Base_redirect(\'ERP5Site_viewAdvancedSearchResultList\',\n + keep_items = dict(\n + reset = 1,\n + advanced_search_text = new_advanced_search_text,\n + list_style= \'table\',\n + translated_portal_type=translated_type)\n + )\n +else:\n + return context.Base_redirect(\'ERP5Site_viewAdvancedSearchResultList\',\n + keep_items = dict(reset = 1,\n + list_style= \'table\',\n + advanced_search_text = new_advanced_search_text))\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>_params</string> </key> + <value> <string>new_advanced_search_text,new_advanced_search_portal_type=\'\'</string> </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>2</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>new_advanced_search_text</string> + <string>new_advanced_search_portal_type</string> + <string>_getattr_</string> + <string>context</string> + <string>translateString</string> + <string>dict</string> + <string>list</string> + <string>translated_type</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <string></string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_viewQuickSearchResultList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/erp5_site_main_template.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/erp5_site_main_template.xml new file mode 100644 index 0000000000000000000000000000000000000000..9b77c928d1d07b4d8012983c49ef99997276413c --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/erp5_site_main_template.xml @@ -0,0 +1,111 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:metal="http://xml.zope.org/namespaces/metal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n + <metal:block define-macro="master">\n + <tal:block tal:define="title here/Title;\n + enctype string:multipart/form-data;\n + portal context/portal_url/getPortalObject;\n + global css_list python:[\'%s/tabber_style.css\' % (portal.absolute_url(),)];\n + global js_list python:[\'%s/erp5_tabber.js\' % (portal.absolute_url(),)]">\n + <tal:block metal:use-macro="here/main_template/macros/master">\n + <tal:block metal:fill-slot="main">\n + <tal:block tal:condition="here/portal_membership/isAnonymousUser">\n + <tal:block tal:define="dummy python:request.RESPONSE.redirect(\'%s/login_form\' % portal.absolute_url())" />\n + </tal:block>\n + <tal:block tal:condition="python:not here.portal_membership.isAnonymousUser()">\n +<div class="index_html" style="margin:20px 40px 0 40px; padding:0; text-align:left;">\n + <div class="document">\n + <div class="actions">\n + <metal:block define-slot="tabs" />\n + </div>\n + <div class="content editable">\n +<div id="container" style="margin: 1em">\n + <metal:block define-slot="content" />\n +</div>\n + <p class="clear" />\n + </div>\n + </div>\n +</div>\n + </tal:block>\n + </tal:block>\n + </tal:block>\n + </tal:block>\n + </metal:block>\n +</tal:block>\n + + +]]></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>erp5_site_main_template</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/erp5_tabber.js.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/erp5_tabber.js.xml new file mode 100644 index 0000000000000000000000000000000000000000..6739ee9d93bcbcbc8e699a8c267bf9100425412e --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/erp5_tabber.js.xml @@ -0,0 +1,132 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="DTMLMethod" module="OFS.DTMLMethod"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>erp5_tabber.js</string> </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +var loading_deferred = undefined;\n +\n +function replaceContent(req) {\n + if (loading_deferred) {\n + loading_deferred.cancel();\n + loading_deferred = undefined;\n + }\n +\n + var container = $(\'container\');\n + //log(\'container is \', container);\n + //log(\'response is \', req.responseText);\n + // replaceChildNodes(container, req.responseXML);\n + container.innerHTML = req.responseText;\n +\n + addOnClickEventsToTabs(req);\n +}\n +\n +function showLoadingMessage() {\n + var container = $(\'container\');\n + container.innerHTML = \'<div><p style="text-align: left; vertical-align: middle; font-size: large;">Loading...</p></div>\';\n + loading_deferred = undefined;\n +}\n +\n +function selectTab(e) {\n + var tab_box = $(\'tab_box\');\n + var item_list = tab_box.getElementsByTagName(\'li\');\n + for (var i = 0; i < item_list.length; i++) {\n + var item = item_list[i];\n + var node = item.getElementsByTagName(\'a\')[0];\n + if (this == node) {\n + if (getNodeAttribute(item, \'class\') != \'selected\') {\n + setNodeAttribute(item, \'class\', \'selected\');\n + }\n + node.blur();\n + } else {\n + if (getNodeAttribute(item, \'class\') != \'non_selected\') {\n + setNodeAttribute(item, \'class\', \'non_selected\');\n + }\n + }\n + disconnectAll(node, \'onclick\');\n + connect(node, \'onclick\', function (e) { e.stop(); });\n + }\n +\n + var mapping = {\n +<dtml-in prefix="tab" expr="ERP5Site_getTabList()">\n + <dtml-var expr="tab_item[\'id\']">: "<dtml-var expr="tab_item[\'renderer\']">"<dtml-if sequence-end><dtml-else>,</dtml-if>\n +\n +</dtml-in>\n + };\n +\n + var url = mapping[this.parentNode.id];\n + //log(\'calling \', this, url);\n + var d = doSimpleXMLHttpRequest(url);\n + d.addBoth(replaceContent)\n + //var container = $(\'container\');\n + //container.innerHTML = \'\';\n + e.stop();\n +\n + loading_deferred = callLater(0.3, showLoadingMessage);\n +\n + // Set a cookie.\n + document.cookie = \'erp5_site_selected_tab=\' + escape(this.parentNode.id);\n +}\n +\n +function addOnClickEventsToTabs(e) {\n + var tab_box = $(\'tab_box\');\n + var item_list = tab_box.getElementsByTagName(\'li\');\n + for (var i = 0; i < item_list.length; i++) {\n + //connect(item_list[i], \'onclick\', function(e){e.stop();})\n + var node = item_list[i].getElementsByTagName(\'a\')[0];\n + disconnectAll(node, \'onclick\');\n + connect(node, \'onclick\', selectTab);\n + //log(node);\n + }\n + return true;\n +}\n +\n +connect(window, \'onload\', addOnClickEventsToTabs); + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/index_html.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/index_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..42a5b3f6e05ffe2c0ff3ea53706d5187fb0547a3 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/index_html.xml @@ -0,0 +1,108 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </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[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:metal="http://xml.zope.org/namespaces/metal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n + <tal:block tal:replace="nothing">\n +<!--\n +Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.\n +Vincent Pelletier <vincent@nexedi.com>\n +Christophe Dumez <christophe@nexedi.com>\n +\n +This program is Free Software; you can redistribute it and/or\n +modify it under the terms of the GNU General Public License\n +as published by the Free Software Foundation; either version 2\n +of the License, or (at your option) any later version.\n +\n +This program is distributed in the hope that it will be useful,\n +but WITHOUT ANY WARRANTY; without even the implied warranty of\n +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n +GNU General Public License for more details.\n +\n +You should have received a copy of the GNU General Public License\n +along with this program; if not, write to the Free Software\n +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n +-->\n + </tal:block>\n + <tal:block tal:condition="here/portal_membership/isAnonymousUser">\n + <tal:block tal:define="dummy python:request.RESPONSE.redirect(\'%s/login_form\' % context.absolute_url())" />\n + </tal:block>\n + <tal:block tal:condition="python:not here.portal_membership.isAnonymousUser()">\n + <tal:block tal:replace="structure here/ERP5Site_view" />\n + </tal:block>\n +</tal:block>\n + + +]]></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>index_html</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/tabber_style.css.xml b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/tabber_style.css.xml new file mode 100644 index 0000000000000000000000000000000000000000..acbef6f62e4df5930de76c4deead467f9a181722 --- /dev/null +++ b/bt5/erp5_new_toppage/SkinTemplateItem/portal_skins/erp5_new_toppage/tabber_style.css.xml @@ -0,0 +1,156 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="DTMLDocument" module="OFS.DTMLDocument"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Cacheable__manager_id</string> </key> + <value> <string>style_cache</string> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>tabber_style.css</string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>/*========================================================================================\n +** tabber.js default style\n +**========================================================================================*/\n +\n +/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */\n +\n +/*--------------------------------------------------\n + REQUIRED to hide the non-active tab content.\n + But do not hide them in the print stylesheet!\n + --------------------------------------------------*/\n +.tabberlive .tabbertabhide {\n + display: none;\n +}\n +\n +/*--------------------------------------------------\n + .tabber = before the tabber interface is set up\n + .tabberlive = after the tabber interface is set up\n + --------------------------------------------------*/\n +.tabber {\n +}\n +.tabberlive {\n +}\n +\n +/*--------------------------------------------------\n + ul.tabbernav = the tab navigation list\n + li.tabberactive = the active tab\n + --------------------------------------------------*/\n +ul.tabbernav {\n + margin: 0;\n + padding: 3px 0;\n + border-bottom: 1px solid #778;\n +}\n +\n +ul.tabbernav li {\n + list-style: none;\n + margin: 0;\n + display: inline;\n +}\n +\n +ul.tabbernav li a {\n + padding: 3px .5em;\n + margin-left: 3px;\n + border: 1px solid #778;\n + border-bottom: none;\n + background: #dde;\n + text-decoration: none;\n + font-weight: bold;\n +}\n +\n +ul.tabbernav li a:link {color: #448}\n +ul.tabbernav li a:visited {color: #667}\n +\n +ul.tabbernav li a:hover\n +{\n + color: #000;\n + background: #aae;\n + border-color: #227;\n +}\n +\n +.index_html ul.tabbernav li a,\n +.index_html ul.tabbernav,\n +.index_html .tabberlive .tabbertab {\n + border-color:#5b7c9b;\n +}\n +\n +.index_html ul.tabbernav li a {\n + background: #BDD0E0;\n +}\n +\n +.index_html ul.tabbernav li a:hover{\n + background: #BDD0E0;\n +}\n +\n +ul.tabbernav li.tabberactive a\n +{\n + background-color: #fff;\n + border-bottom: 1px solid #fff;\n +}\n +\n +ul.tabbernav li.tabberactive a:hover\n +{\n + color: #000;\n + background: white;\n + border-bottom: 1px solid white;\n +}\n +\n +/*--------------------------------------------------\n + .tabbertab = the tab content\n + Add style only after the tabber interface is set up (.tabberlive)\n + --------------------------------------------------*/\n +.tabberlive .tabbertab {\n + padding:5px;\n + border: 1px solid #778;\n + border-top: 0;\n + background-color: white;\n +}\n +\n +/* If desired, hide the heading since a heading is provided by the tab */\n +.tabberlive .tabbertab h2 {\n + display: none;\n +}\n +.tabberlive .tabbertab h3 {\n + display: none;\n +}\n +\n +\n +\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_new_toppage/bt/categories_list b/bt5/erp5_new_toppage/bt/categories_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/change_log b/bt5/erp5_new_toppage/bt/change_log new file mode 100644 index 0000000000000000000000000000000000000000..3f7ad0f5484a5f07eef700c50c62632a9cb029e3 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/change_log @@ -0,0 +1,35 @@ +2008-04-16 yusei +* Only express tab will be displayed for expres s configurator user. + +2008-04-07 kazuhiko +* disable express tab if portal_wizard is missing. + +2008-03-31 jerome +* Fix template name in 'Create' tab. + +2008-1-30 yusei +* Remove custom template of context_box_render. + +2007-12-21 yusei +* Update contribution script. Please update erp5_dms together. + +2007-11-13 yusei +* Update html to adjust recent changes of xhtml style. + +2007-10-03 yusei +* Fix to use preference to get subscription status. + +2007-09-28 yusei +* Remove iframe from express tab and use portal_wizard's reverse proxy functionality. + +2007-09-25 yo +* Refactor the backend scripts for speedup. + +2007-09-24 yo +* Set a cookie to store a selected tab as before. + +2007-09-24 yo +* A lot of rewrite to use AJAX and support browsers which do not have javascript support. + +2007-09-19 yo +* Remove erp5.css and navigation_box_render. \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/comment b/bt5/erp5_new_toppage/bt/comment new file mode 100644 index 0000000000000000000000000000000000000000..db3fc81e7694023c1ad46f64d2a375f9bd45fa58 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/comment @@ -0,0 +1,4 @@ +This is a snapshot of my work.(yusei) + +I'll remove this from repository when I finish and +merge to erp5_xhtml_style. \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/copyright_list b/bt5/erp5_new_toppage/bt/copyright_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/dependency_list b/bt5/erp5_new_toppage/bt/dependency_list new file mode 100644 index 0000000000000000000000000000000000000000..e05eeee0ff7a93916534ca0b533f358cbaff4825 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/dependency_list @@ -0,0 +1 @@ +erp5_knowledge_pad \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/description b/bt5/erp5_new_toppage/bt/description new file mode 100644 index 0000000000000000000000000000000000000000..64e772836a358c7ea6c88624b1be41c2096646be --- /dev/null +++ b/bt5/erp5_new_toppage/bt/description @@ -0,0 +1 @@ +It provides a experimental new top page for erp5. \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/license b/bt5/erp5_new_toppage/bt/license new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/maintainer_list b/bt5/erp5_new_toppage/bt/maintainer_list new file mode 100644 index 0000000000000000000000000000000000000000..58288948d92a54d12fd8a5945458f4439436cbd1 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/maintainer_list @@ -0,0 +1 @@ +yusei \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/provision_list b/bt5/erp5_new_toppage/bt/provision_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/publication_url b/bt5/erp5_new_toppage/bt/publication_url new file mode 100644 index 0000000000000000000000000000000000000000..4af18322e32f3dd19579c80e26e4a306ad11e049 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/publication_url @@ -0,0 +1 @@ +None \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/revision b/bt5/erp5_new_toppage/bt/revision new file mode 100644 index 0000000000000000000000000000000000000000..ac4213d6e97d9cfeb1d7bc8f948c06114a56de18 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/revision @@ -0,0 +1 @@ +43 \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/short_title b/bt5/erp5_new_toppage/bt/short_title new file mode 100644 index 0000000000000000000000000000000000000000..4af18322e32f3dd19579c80e26e4a306ad11e049 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/short_title @@ -0,0 +1 @@ +None \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/template_action_path_list b/bt5/erp5_new_toppage/bt/template_action_path_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_base_category_list b/bt5/erp5_new_toppage/bt/template_base_category_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_datetime_key_list b/bt5/erp5_new_toppage/bt/template_catalog_datetime_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_full_text_key_list b/bt5/erp5_new_toppage/bt/template_catalog_full_text_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_keyword_key_list b/bt5/erp5_new_toppage/bt/template_catalog_keyword_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_local_role_key_list b/bt5/erp5_new_toppage/bt/template_catalog_local_role_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_method_id_list b/bt5/erp5_new_toppage/bt/template_catalog_method_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_multivalue_key_list b/bt5/erp5_new_toppage/bt/template_catalog_multivalue_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_related_key_list b/bt5/erp5_new_toppage/bt/template_catalog_related_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_request_key_list b/bt5/erp5_new_toppage/bt/template_catalog_request_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_result_key_list b/bt5/erp5_new_toppage/bt/template_catalog_result_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_result_table_list b/bt5/erp5_new_toppage/bt/template_catalog_result_table_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_role_key_list b/bt5/erp5_new_toppage/bt/template_catalog_role_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_scriptable_key_list b/bt5/erp5_new_toppage/bt/template_catalog_scriptable_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_catalog_topic_key_list b/bt5/erp5_new_toppage/bt/template_catalog_topic_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_constraint_id_list b/bt5/erp5_new_toppage/bt/template_constraint_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_document_id_list b/bt5/erp5_new_toppage/bt/template_document_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_extension_id_list b/bt5/erp5_new_toppage/bt/template_extension_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_format_version b/bt5/erp5_new_toppage/bt/template_format_version new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_new_toppage/bt/template_format_version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/template_local_roles_list b/bt5/erp5_new_toppage/bt/template_local_roles_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_message_translation_list b/bt5/erp5_new_toppage/bt/template_message_translation_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_module_id_list b/bt5/erp5_new_toppage/bt/template_module_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_path_list b/bt5/erp5_new_toppage/bt/template_path_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_new_toppage/bt/template_portal_type_allowed_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_portal_type_base_category_list b/bt5/erp5_new_toppage/bt/template_portal_type_base_category_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_new_toppage/bt/template_portal_type_hidden_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_portal_type_id_list b/bt5/erp5_new_toppage/bt/template_portal_type_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_portal_type_property_sheet_list b/bt5/erp5_new_toppage/bt/template_portal_type_property_sheet_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_portal_type_roles_list b/bt5/erp5_new_toppage/bt/template_portal_type_roles_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_portal_type_workflow_chain_list b/bt5/erp5_new_toppage/bt/template_portal_type_workflow_chain_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_preference_list b/bt5/erp5_new_toppage/bt/template_preference_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_product_id_list b/bt5/erp5_new_toppage/bt/template_product_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_property_sheet_id_list b/bt5/erp5_new_toppage/bt/template_property_sheet_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_role_list b/bt5/erp5_new_toppage/bt/template_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_site_property_id_list b/bt5/erp5_new_toppage/bt/template_site_property_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_skin_id_list b/bt5/erp5_new_toppage/bt/template_skin_id_list new file mode 100644 index 0000000000000000000000000000000000000000..5ed318d8a1b87857ffc56066be996f55c41075bc --- /dev/null +++ b/bt5/erp5_new_toppage/bt/template_skin_id_list @@ -0,0 +1 @@ +erp5_new_toppage \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/template_test_id_list b/bt5/erp5_new_toppage/bt/template_test_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_tool_id_list b/bt5/erp5_new_toppage/bt/template_tool_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/template_update_business_template_workflow b/bt5/erp5_new_toppage/bt/template_update_business_template_workflow new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/template_update_business_template_workflow @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/template_update_tool b/bt5/erp5_new_toppage/bt/template_update_tool new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/template_update_tool @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/template_workflow_id_list b/bt5/erp5_new_toppage/bt/template_workflow_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_new_toppage/bt/title b/bt5/erp5_new_toppage/bt/title new file mode 100644 index 0000000000000000000000000000000000000000..5ed318d8a1b87857ffc56066be996f55c41075bc --- /dev/null +++ b/bt5/erp5_new_toppage/bt/title @@ -0,0 +1 @@ +erp5_new_toppage \ No newline at end of file diff --git a/bt5/erp5_new_toppage/bt/version b/bt5/erp5_new_toppage/bt/version new file mode 100644 index 0000000000000000000000000000000000000000..2f4536184bcac31936bd15a5f9cf931dd526c022 --- /dev/null +++ b/bt5/erp5_new_toppage/bt/version @@ -0,0 +1 @@ +0.2 \ No newline at end of file