[Erp5-report] r36355 ivan - in /erp5/trunk/bt5/erp5_km: SkinTemplateItem/portal_skins/erp5_...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 15 14:31:54 CEST 2010


Author: ivan
Date: Tue Jun 15 14:31:51 2010
New Revision: 36355

URL: http://svn.erp5.org?rev=36355&view=rev
Log:
Obsolete icons for Web Page & Web Site.
Move all non KM theme parts outside theme skin.

Added:
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_page.png.xml
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_site.png.xml
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewDownloadWidget.xml
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/admin_toolbox.xml
Modified:
    erp5/trunk/bt5/erp5_km/bt/revision

Added: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_page.png.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_page.png.xml?rev=36355&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_page.png.xml (added)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_page.png.xml [utf8] Tue Jun 15 14:31:51 2010
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="Image" module="OFS.Image"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_Cacheable__manager_id</string> </key>
+            <value> <string>http_cache</string> </value>
+        </item>
+        <item>
+            <key> <string>_EtagSupport__etag</string> </key>
+            <value> <string>ts48773120.27</string> </value>
+        </item>
+        <item>
+            <key> <string>__name__</string> </key>
+            <value> <string>web_page.png</string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>image/png</string> </value>
+        </item>
+        <item>
+            <key> <string>data</string> </key>
+            <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABIAAAAOCAMAAAAVBLyFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
+bWFnZVJlYWR5ccllPAAAAV9QTFRF////8/Pz9fX15eXl8PDw9PT09vb27+/v8vLy/Pz8+Pj4u7v/
+M5kz/f39KY8px8fHsLCw5+fn+vr6+fn5lZW50NDQ+/v7r6+vb9VvVbtVcsVyveG9Xl6no6P0MzOZ
+e3vZR2GTed957u7u2traQkKoiO6Ira2t8fHxF30XH4Ufzs7OPaM92dnZkqzP9/f3d5HBrKzPa2uf
+R0etJ40nOqA6ZmbMycnJb2+3oLnTgJK3hrqG0tLSb7dvPHBvOJ44/v7+cIm8Npw2kavOk5PswMDA
+2NjYm5vsSWOVUrhSTk607OzsZMpk5OTkqampVVW7e3vhYmLIPz+lq6urYXurlLeUoNSguNu4LEZ4
+UZpR39/f7e3tw8PDR61HxMTEv7+/jIyMYGDGv+K/s7Oz19fXz8/PbKBs3t7eqKioUFC2SUmvPXBw
+6urqT7VP4+Pjm5ubVrxWEXcRvLy8bNJs6enpUWqd31JJ+QAAAOJJREFUeNpEymdbQWEAxvH7Ueh0
+9jn23puSIqW096BJmxAaRr7/1eOF/F7d1/+60aiefT6Q+uwUvjGWeCH/kADPgzn/edVM4B0Mw9Nf
+zG6zHtjs47QOVVEUBmvBr1V25+iWphhS81TN8pRk2aS1d6dFFhodlY8v7Dqd8eCwQPAMoqXaW9y1
+2815vVwYewjPUZ1LYbPr8Qingh4D+PRU7i1qWY6WDzMVHx5hUlOqaXFpYztyf1yK3JxAJDqgSOR0
+oD9auQg0W7/4CJklSTJfhQwOl8th2JdlzEz4jaJo9NPxJ8AAhPUgGPW8+2YAAAAASUVORK5CYII=</string> </value>
+        </item>
+        <item>
+            <key> <string>height</string> </key>
+            <value> <int>14</int> </value>
+        </item>
+        <item>
+            <key> <string>precondition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>size</string> </key>
+            <value> <long>683</long> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>width</string> </key>
+            <value> <int>18</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_site.png.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_site.png.xml?rev=36355&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_site.png.xml (added)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/old/web_site.png.xml [utf8] Tue Jun 15 14:31:51 2010
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="Image" module="OFS.Image"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_Cacheable__manager_id</string> </key>
+            <value> <string>http_cache</string> </value>
+        </item>
+        <item>
+            <key> <string>_EtagSupport__etag</string> </key>
+            <value> <string>ts48773120.43</string> </value>
+        </item>
+        <item>
+            <key> <string>__name__</string> </key>
+            <value> <string>web_site.png</string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>image/png</string> </value>
+        </item>
+        <item>
+            <key> <string>data</string> </key>
+            <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABIAAAAOCAMAAAAVBLyFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
+bWFnZVJlYWR5ccllPAAAAelQTFRFgoKC8/Pz5+fn6enp9PT09fX1KY8pM5kzu7v/2dnZF30XiO6I
+ycnJR2GTPaM93t7e3NzckqzPb9VvXl6nlpa6QkKoed95o6P00tLSe3vZH4UfMzOZ2NGJVbtVu9yX
+PXBw4ODg4diT2c6EtbW12NGE39/frK2XUFC2VrxW39WW2s1/sbGxEXcRy8OMYGDGjYt+T7VP///u
+///ntalbk5PsR61HR0etb8Jl+/jHZWKY2NGF6enbxcaAx8fH2NGGsa5w3NGQl5GIUZpR29KQ186D
+cIm8YXur3NagbNJsd5HB9u+7//i88eq0+vPF1dSPVFSIveC9oNSg9fLH8PDTj4x62NGH8ufA3d3d
+SWOV+vPM29CO3teVm5vs2dOJ2dCOjox7OqA60suE8Oe82s6D/PXGnc+CqqeR4+CgoLnT2dKFi4l7
+pqGGSUmvvr6+y8vL396f8Oe4b7dv7Oa45deVZMpk3tSEeIeae3vh39mOlLeU//bVt9u38Oe2xMTE
+qsx939SOjo154eHhPHBv2tGJ8+fBurJf2tKFUrhSvrNgfHx8Pz+l29ePJ40n4tqVLEZ42M6E2NOJ
+2s+EcsVy+/TK29GOVVW7UWqdTk609/O25+fMZmbM///TNpw249qWbaFt3tuVYmLIOJ44kavOsHcM
+0QAAAPJJREFUeNpiYKxlYGDQZkQCDLZp1oZGarmN/PzhCixgwMAw0yKoKjg7qyEkXl+ZFQQYGFJa
+wmbY+HkVFMmZy8ZMCgCpsm/tME709qlJ5TbI4FjUHggUmu0bOTnJPb9OyFSQg0NQVqOagSG9O1qx
+eK5mGZ+nibg4H7dHIQNDb31U3BRnB3VXdjdJSXYxMXYGhvkTmmVkQmNzytkWyvPyspWwMTBUaCX3
+T1RysdSTEkqQ6orocWJg0C3NbFOxs3I0a5rD1Td9AVclQx4DBHT6i+pMmzVVdJ4qAzMMcIoIS0sL
+i3AyMzDBgYAED4+EABMTQIABAAU8Nb6JCg6VAAAAAElFTkSuQmCC</string> </value>
+        </item>
+        <item>
+            <key> <string>height</string> </key>
+            <value> <int>14</int> </value>
+        </item>
+        <item>
+            <key> <string>precondition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>size</string> </key>
+            <value> <long>837</long> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>width</string> </key>
+            <value> <int>18</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewDownloadWidget.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewDownloadWidget.xml?rev=36355&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewDownloadWidget.xml (added)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewDownloadWidget.xml [utf8] Tue Jun 15 14:31:51 2010
@@ -0,0 +1,187 @@
+<?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>Script_magic</string> </key>
+            <value> <int>3</int> </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 encoding="cdata"><![CDATA[
+
+"""\n
+  This script creates a button with links to PDF or printable\n
+  formats of the current page.\n
+\n
+  TODO:\n
+    - support more portal types\n
+    - produce PDF from HTML\n
+    - add a button to make a page printage (this is another widget)\n
+    - make sure everything is well translated (ex. Format word)\n
+"""\n
+\n
+request = context.REQUEST\n
+portal_path = request.get(\'current_web_site_url\', context.getPortalObject().absolute_url())\n
+object_url = context.absolute_url()\n
+title = context.getShortTitle()\n
+if not title:\n
+  title = context.getReference()\n
+\n
+# Select the download format\n
+portal_type = context.getPortalType()\n
+if portal_type == \'Web Page\':\n
+  format = \'text\'\n
+elif portal_type == \'Presentation\':\n
+  format = \'pdf\'\n
+elif portal_type in (\'Text\', \'Presentation\', \'Spreadsheet\', \'Drawing\', \'PDF Document\'):\n
+  format = \'pdf\'\n
+else:\n
+  format = None\n
+\n
+if not format or not context.hasConversion(format=format):\n
+  converted_size_html = \'\'\n
+else:\n
+  converted_size = context.getConversionSize(format=format)\n
+  if converted_size < 1024:\n
+    converted_size_html = \'%sB - \' % converted_size\n
+  elif converted_size < 1048576:\n
+    converted_size_html = \'%.1fKB - \' % (converted_size / 1024.0)\n
+  else:\n
+    converted_size_html = \'%.1fMB - \' % (converted_size / 1048576.0)\n
+\n
+if format is None:\n
+  return \'\'\n
+\n
+# Produce the HTML snippet\n
+download_html = """<a href="%s?format=%s"><img src="%s/km_img/download_%s.png" alt="%s icon"/></a>\n
+                      <p>\n
+                        <a href="%s?format=%s">%s</a><br/>%s%s Format\n
+                      </p>\n
+                 """ % (object_url, format, portal_path, format, format, object_url, format, title, \n
+                                 converted_size_html, format.upper())\n
+\n
+return download_html\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>_code</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>request</string>
+                            <string>portal_path</string>
+                            <string>object_url</string>
+                            <string>title</string>
+                            <string>portal_type</string>
+                            <string>format</string>
+                            <string>None</string>
+                            <string>converted_size_html</string>
+                            <string>converted_size</string>
+                            <string>download_html</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>Document_viewDownloadWidget</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/admin_toolbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/admin_toolbox.xml?rev=36355&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/admin_toolbox.xml (added)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/admin_toolbox.xml [utf8] Tue Jun 15 14:31:51 2010
@@ -0,0 +1,251 @@
+<?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>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<!-- Floating Panel -->\n
+\n
+<!-- header_definitions must be re-called and is_web_mode redefined because calling\n
+     the current page template through editor_field in the form layout seems to reset\n
+     the context needed by action drop-down list.\n
+\n
+     TODO: Is this case should be handle by automatically by erp5_xhtml_style ?\n
+           More translation is required.\n
+-->\n
+\n
+<tal:block\n
+  tal:define="is_web_mode  python: True;\n
+              actions      request/actions | python:\n
+                           here.Base_filterDuplicateActions(\n
+                             here.portal_actions.listFilteredActionsFor(here));\n
+              dummy        python:request.set(\'actions\', actions);\n
+              portal_type  here/getPortalType">\n
+\n
+  <!-- XXX is this really useful - called how many times ?? - tried to removed but failed -->\n
+  <!-- <tal:block metal:use-macro="here/global_definitions/macros/header_definitions"/> -->\n
+\n
+\n
+  <!-- Edit button menu -->\n
+  <div class="inner section">\n
+    <h3 i18n:translate="" i18n:domain="ui">Edit</h3>\n
+    <tal:block tal:define="edit_link_list python: here.Base_getAdminToolboxEditShortcutList()">\n
+      <tal:block tal:repeat="link edit_link_list">\n
+        <a tal:attributes="href python: link[\'url\']" class=\'bt-edit\'>\n
+<strong>\n
+          <img tal:attributes="src   python: link[\'icon\'];\n
+                               title python: link[\'label\'];\n
+                               alt   python: \'%s Icon\' % link[\'label\'];"/>\n
+          <tal:block tal:replace="python: link[\'title\']"/>\n
+</strong>\n
+\n
+\n
+        </a>\n
+      </tal:block>\n
+    </tal:block>\n
+  </div>\n
+\n
+  <!-- A pop-up menu with all actions which can be applied to\n
+       the current object and which have no button equivalent\n
+\n
+       We need to setup the actions variable from the request because\n
+       this template is called from outside the main rendering process\n
+\n
+       XXX - the location of context_box_render is hardcoded.\n
+  -->\n
+  <div class="inner section">\n
+    <h3><tal:block tal:content="portal_type"/> Actions</h3>\n
+    <tal:block metal:use-macro="here/portal_skins/erp5_xhtml_style/context_box_render/macros/action"/>\n
+  </div>\n
+\n
+  <!-- Document creation panel.\n
+  \n
+       This part is displayed for any document apart Web Site and Web Section.\n
+       But if Web Site and Web Section have a default page, then it will be displayed anyway\n
+       in order to let the user clone the default page.\n
+\n
+       XXX - This is not so good to create new content in a section\n
+             Behaviour should be to create content in section / site\n
+  -->\n
+  <div class="inner section"\n
+       tal:condition="python: here.isDocument">\n
+      <h3>\n
+        <span id="create_new_document_title"></span>\n
+        <span id="clone_document_title">\n
+          <tal:block \n
+            tal:replace="python: \'Clone %s\' % portal_type"/>\n
+        </span>\n
+      </h3>\n
+\n
+      <fieldset>\n
+\n
+        <div class="field">\n
+          <label i18n:translate="" i18n:domain="ui">Title</label>\n
+          <div class="input">\n
+            <input class="input" size="12" \n
+                    type="text" name="clone_title"\n
+                    tal:attributes="value here/getTitle | nothing"/>\n
+          </div>\n
+        </div>\n
+\n
+        <div class="field">\n
+          <label i18n:translate="" i18n:domain="ui">Reference</label>\n
+          <div class="input">\n
+            <input class="input" size="12" \n
+                    type="text" name="clone_reference"\n
+                    tal:attributes="value here/getReference | nothing"/>\n
+          </div>\n
+        </div>\n
+\n
+        <div class="field">\n
+          <label i18n:translate="" i18n:domain="ui">Version</label>\n
+          <div class="input">\n
+            <input class="input" size="5" \n
+                    type="text" name="clone_version"\n
+                    tal:attributes="value here/getVersion | nothing"/>\n
+          </div>\n
+        </div>\n
+\n
+        <div class="field">\n
+          <label i18n:translate="" i18n:domain="ui">Language</label>\n
+          <div class="input">\n
+            <input class="input" size="5"  \n
+                    type="text" name="clone_language"\n
+                    tal:attributes="value here/getLanguage | nothing"/>\n
+          </div>\n
+        </div>\n
+\n
+        <div class="field">\n
+          <label i18n:translate="" i18n:domain="ui">Portal type</label>\n
+          <div class="input">\n
+            <select class="input" name="clone_portal_type" \n
+                    size="1" onchange="setCreationMode(this)">\n
+              <option value="None" selected="selected">&mdash; Same as Current &mdash;</option>\n
+              <option tal:repeat="portal_type python: here.getPortalWebDocumentTypeList()"\n
+                      tal:content="portal_type"\n
+                      tal:attributes="value portal_type"\n
+                      i18n:translate="" i18n:domain="ui">portal_type</option>\n
+            </select>\n
+          </div>\n
+        </div>\n
+\n
+        <br />\n
+        <div class="clone-button">\n
+          <div class="input">\n
+            <button id="bt-clone" class="bt-med"\n
+                    title=\'Clone &amp; Edit\'\n
+                    name="Base_cloneContent:method">\n
+              <span id="duplicate_document_action">Clone &amp; Edit</span>\n
+            </button>\n
+          </div>\n
+        </div>\n
+\n
+      </fieldset>\n
+\n
+      <script type="text/javascript">\n
+      <!--\n
+        // preload action icons\n
+        if (document.images) {\n
+          clone_icon = new Image();\n
+          new_icon   = new Image();\n
+          clone_icon.src = "admin_toolbox_clone_document.png";\n
+          new_icon.src   = "admin_toolbox_new_document.png";\n
+        }\n
+\n
+        function setCreationMode (sel) {\n
+          // default is cloning\n
+          var action      = \'clone\';\n
+          var action_name = \'Clone &amp; Edit\';\n
+          var icon        = \'admin_toolbox_clone_document.png\';\n
+          var name        = \'Base_cloneContent:method\';\n
+          var clone_display = \'inline\';\n
+          var new_title   = \'\';\n
+\n
+          // a portal type is given, so create a new document\n
+          var portal_type = sel.options[sel.selectedIndex].value;\n
+          if (portal_type != \'None\') {\n
+            action      = \'new\'\n
+            action_name = \'Create New &amp; Edit\';\n
+            icon        = \'admin_toolbox_new_document.png\';\n
+            name        = \'Base_newContent:method\';\n
+            clone_display = \'none\';\n
+            new_title   = \'Create New Document\';\n
+          }\n
+\n
+          // update action dependent values\n
+          document.getElementById(\'create_new_document_title\').innerHTML = new_title;\n
+          document.getElementById(\'clone_document_title\'     ).style.display = clone_display;\n
+          document.getElementById(\'duplicate_document_action\').innerHTML = action_name;\n
+\n
+          // replace the action icon\n
+          document.getElementById(\'clone_action_icon\').src = eval(action + "_icon.src");\n
+\n
+          // update action button alt & title\n
+          var button   = document.getElementById(\'clone_action_button\');\n
+          button.alt   = action_name;\n
+          button.title = action_name;\n
+          button.name  = name;\n
+        }\n
+      -->\n
+      </script>\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>admin_toolbox</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Deprecated</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_km/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/bt/revision?rev=36355&r1=36354&r2=36355&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/bt/revision [utf8] Tue Jun 15 14:31:51 2010
@@ -1 +1 @@
-1454
\ No newline at end of file
+1455
\ No newline at end of file




More information about the Erp5-report mailing list