[Erp5-report] r20275 - in /experimental/bt5/erp5_xhtml_style_experimental: SkinTemplateItem...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 2 16:40:09 CEST 2008


Author: bartek
Date: Wed Apr  2 16:40:09 2008
New Revision: 20275

URL: http://svn.erp5.org?rev=20275&view=rev
Log:
use the new portal_html_includes tool

Added:
    experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/global_definitions.xml
Modified:
    experimental/bt5/erp5_xhtml_style_experimental/bt/revision

Added: experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/global_definitions.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/global_definitions.xml?rev=20275&view=auto
==============================================================================
--- experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/global_definitions.xml (added)
+++ experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/global_definitions.xml Wed Apr  2 16:40:09 2008
@@ -1,0 +1,123 @@
+<?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
+  <tal:block metal:define-macro="header_definitions">\n
+    <tal:block tal:define="\n
+      global portal              here/portal_url/getPortalObject;\n
+      global portal_path         portal/absolute_url;\n
+            local_parameter_list  local_parameter_list | python: {};\n
+      global actions          python: here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(here));\n
+      global url              here/absolute_url;\n
+      global current_form_id  python: local_parameter_list.get(\'dialog_id\', local_parameter_list.get(\'form_id\', \'view\'));\n
+           dummy            python: request.set(\'current_form_id\', current_form_id);\n
+           global current_url      python: \'%s/%s\' % (url, current_form_id);\n
+           global current_action   python: portal.ERP5Site_getCurrentAction(current_url, actions);\n
+           cancel_url       request/cancel_url | current_url;\n
+           dummy            python: local_parameter_list.update({\'cancel_url\': cancel_url});\n
+           dummy       python: request.RESPONSE.setHeader(\'Content-Type\', \'text/html;; charset=utf-8\');\n
+           dummy  python: request.set(\'here\', here);\n
+           global css_list  css_list | python: [];\n
+           css_list_template css_list_template | python: [\'%s/erp5.css\' % (portal_path, )];\n
+           dummy     python: css_list.extend(css_list_template);\n
+           global js_list   js_list | python: [\'%s/erp5_xhtml_appearance.js\' % portal_path,];\n
+           global js_list   python:[\'%s/MochiKit/MochiKit.js\' % portal_path,\n
+           \'%s/erp5.js\' % portal_path, ] + js_list;\n
+           html_include_tool     python: here.restrictedTraverse(\'portal_html_includes\', None);\n
+           more_js_list       python: html_include_tool is not None and [\'%s/%s\' % (portal_path, name) for name in html_include_tool.getJavascriptList()] or [];\n
+           more_css_list       python: html_include_tool is not None and [\'%s/%s\' % (portal_path, name) for name in html_include_tool.getCssList()] or [];\n
+           dummy    python: js_list.extend(more_js_list);\n
+           dummy    python: css_list.extend(more_css_list);\n
+           global http_parameter_list  python: portal.ERP5Site_filterParameterList(request.form);\n
+           dummy                python: http_parameter_list.update(local_parameter_list);\n
+           global http_parameters      python: portal.ERP5Site_renderHTTPParameterList(http_parameter_list);\n
+           global form                 nocall:form | nothing;\n
+           portal_preferences   python: portal.portal_preferences;\n
+           global preferred_html_style_developper_mode   portal_preferences/getPreferredHtmlStyleDevelopperMode;\n
+           global preferred_html_style_translator_mode   portal_preferences/getPreferredHtmlStyleTranslatorMode;\n
+           global preferred_html_style_contextual_help   portal_preferences/getPreferredHtmlStyleContextualHelp;\n
+           global developper_shortcut_render             python: (preferred_html_style_developper_mode or preferred_html_style_translator_mode) and portal.developper_shortcut_render;\n
+           global selected_language    portal/Localizer/get_selected_language;\n
+           " />\n
+  </tal:block>\n
+  <tal:block metal:define-macro="http_definitions">\n
+    <tal:block tal:replace="structure python: modules[\'ZTUtils\'].make_hidden_input(**http_parameter_list).replace(\'>\', \' />\')" />\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>global_definitions</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: experimental/bt5/erp5_xhtml_style_experimental/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_xhtml_style_experimental/bt/revision?rev=20275&r1=20274&r2=20275&view=diff
==============================================================================
--- experimental/bt5/erp5_xhtml_style_experimental/bt/revision (original)
+++ experimental/bt5/erp5_xhtml_style_experimental/bt/revision Wed Apr  2 16:40:09 2008
@@ -1,1 +1,1 @@
-16
+17




More information about the Erp5-report mailing list