[Erp5-report] r36383 ivan - in /erp5/trunk/bt5/erp5_km: PathTemplateItem/portal_gadgets/ Pa...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 16 12:32:41 CEST 2010


Author: ivan
Date: Wed Jun 16 12:32:40 2010
New Revision: 36383

URL: http://svn.erp5.org?rev=36383&view=rev
Log:
Move away non generic advertisement gadget.

Removed:
    erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/express_advertisement/
    erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/express_advertisement.xml
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/WebSite_viewExpressAdvertisementGadget.xml

Removed: erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/express_advertisement.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/express_advertisement.xml?rev=36382&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/express_advertisement.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/express_advertisement.xml (removed)
@@ -1,168 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="Gadget" module="Products.ERP5.Document.Gadget"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_Access_contents_information_Permission</string> </key>
-            <value>
-              <list>
-                <string>Anonymous</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>_View_Permission</string> </key>
-            <value>
-              <list>
-                <string>Anonymous</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>_count</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>_folder_handler</string> </key>
-            <value> <string>CMFBTreeFolderHandler</string> </value>
-        </item>
-        <item>
-            <key> <string>_local_properties</string> </key>
-            <value>
-              <tuple>
-                <dictionary>
-                  <item>
-                      <key> <string>id</string> </key>
-                      <value> <string>view_form_id</string> </value>
-                  </item>
-                  <item>
-                      <key> <string>type</string> </key>
-                      <value> <string>string</string> </value>
-                  </item>
-                </dictionary>
-                <dictionary>
-                  <item>
-                      <key> <string>id</string> </key>
-                      <value> <string>render_type</string> </value>
-                  </item>
-                  <item>
-                      <key> <string>type</string> </key>
-                      <value> <string>string</string> </value>
-                  </item>
-                </dictionary>
-                <dictionary>
-                  <item>
-                      <key> <string>id</string> </key>
-                      <value> <string>multiple_instances_allowed</string> </value>
-                  </item>
-                  <item>
-                      <key> <string>type</string> </key>
-                      <value> <string>int</string> </value>
-                  </item>
-                </dictionary>
-                <dictionary>
-                  <item>
-                      <key> <string>id</string> </key>
-                      <value> <string>image_id</string> </value>
-                  </item>
-                  <item>
-                      <key> <string>type</string> </key>
-                      <value> <string>string</string> </value>
-                  </item>
-                </dictionary>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_mt_index</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>_tree</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>gadget_type/web_front</string>
-                <string>gadget_type/erp5_front</string>
-                <string>gadget_type/web_section</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string>Gadget that will show a random Express advertisement.</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>express_advertisement</string> </value>
-        </item>
-        <item>
-            <key> <string>image_id</string> </key>
-            <value> <string>1</string> </value>
-        </item>
-        <item>
-            <key> <string>last_id</string> </key>
-            <value> <string>1</string> </value>
-        </item>
-        <item>
-            <key> <string>multiple_instances_allowed</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Gadget</string> </value>
-        </item>
-        <item>
-            <key> <string>render_type</string> </key>
-            <value> <string>synchronous</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Express Advertisment</string> </value>
-        </item>
-        <item>
-            <key> <string>view_form_id</string> </key>
-            <value> <string>WebSite_viewExpressAdvertisementGadget</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <global name="Length" module="BTrees.Length"/>
-    </pickle>
-    <pickle> <int>0</int> </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
-    </pickle>
-    <pickle>
-      <none/>
-    </pickle>
-  </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
-    <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
-    </pickle>
-    <pickle>
-      <none/>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/WebSite_viewExpressAdvertisementGadget.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/WebSite_viewExpressAdvertisementGadget.xml?rev=36382&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/WebSite_viewExpressAdvertisementGadget.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/WebSite_viewExpressAdvertisementGadget.xml (removed)
@@ -1,108 +0,0 @@
-<?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[
-
-<div class="express-advertisement-gadget">\n
-\n
-  <script type="text/javascript" language="javascript">\n
-    var url = "express_frame/advertisement_section/installation/WebSection_getTextContentAsJSON";\n
-    var advertisement_list = new Array();\n
-\n
-    function handleServerSuccess(meta){\n
-      var array_index = 0;\n
-      forEach(meta[\'km\'], function(item){\n
-                            advertisement_list[array_index] = item[\'content\'];\n
-                            array_index = array_index +1;});\n
-       showNextSlide();}\n
-\n
-    function refreshSlide() {\n
-      d = loadJSONDoc(url, {\'type_list\': \'km\'});\n
-      d.addCallback(handleServerSuccess);}\n
-\n
-    function showNextSlide() {\n
-      var all_ads = advertisement_list.length;\n
-      ad_index = Math.floor(Math.random()*all_ads);\n
-      var div_container = getElement("km_remote_slide");\n
-      div_container.style.display = \'none\';\n
-      div_container.innerHTML = advertisement_list[ad_index];\n
-      appear(div_container);}\n
-\n
-      connect(window, \'onload\', refreshSlide);\n
-  </script>\n
-\n
-  <div class="content">\n
-      <div id="km_remote_slide"> Loading ... </div>\n
-  </div>\n
-\n
-  <div class="subscribe" \n
-      tal:define="website here/getWebSiteValue;\n
-       portal_path website/absolute_url;">\n
-    <a href="https://www.myerp5.com/express/SubscriptionRequest_viewDialog">\n
-      <img src="km_gadget_images/gadget-subscribe-express-button"\n
-          tal:attributes="src string:${portal_path}/km_gadget_images/gadget-subscribe-express-button" \n
-           alt="Subscribe to ERP5 Express"/>\n
-    </a>\n
-  </div>\n
-\n
-</div>\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>WebSite_viewExpressAdvertisementGadget</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Express Advertisement</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>




More information about the Erp5-report mailing list