diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewInlinePageRenderer.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewInlinePageRenderer.xml index 2ce17c3c4cd892cc7277a35d4d73d608282aadb1..8cbea47daf8626634edd0b9b16bc0b69333fad75 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewInlinePageRenderer.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewInlinePageRenderer.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> </pickle> <pickle> <dictionary> @@ -68,9 +65,9 @@ def getInlinePage(reference, language):\n return None\n \n from Products.ERP5Type.Cache import CachingMethod\n -web_site_path = context.getWebSectionValue().getPhysicalPath()\n +web_site_url = context.getWebSectionValue().absolute_url()\n getInlinePage = CachingMethod(getInlinePage, \n - id=(\'WebSection_getInlinePageRenderer\', web_site_path))\n + id=(\'WebSection_getInlinePageRenderer\', web_site_url))\n language = context.Localizer.get_selected_language()\n return getInlinePage(reference, language)\n </string> </value> @@ -115,7 +112,7 @@ return getInlinePage(reference, language)\n <string>CachingMethod</string> <string>_getattr_</string> <string>context</string> - <string>web_site_path</string> + <string>web_site_url</string> <string>language</string> </tuple> </value> diff --git a/bt5/erp5_web/bt/copyright_list b/bt5/erp5_web/bt/copyright_list index 5107f9c9be2d7fe263edd0fa6f845ccf616df469..9b89dfdfd2caa0183825157703f67d14600bd66a 100644 --- a/bt5/erp5_web/bt/copyright_list +++ b/bt5/erp5_web/bt/copyright_list @@ -1 +1 @@ -Copyright (c) 2006,2008 Nexedi SARL \ No newline at end of file +Copyright (c) 2006-2010 Nexedi SA \ No newline at end of file diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 8ea0a3e6f1099fb1b729b3dfc57bbf3c120f451d..1c4af3a9338ac27d5f3355de8c0739fb88616201 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -971 \ No newline at end of file +972 \ No newline at end of file