From 6b9f2ee936dbd0bd47e45aab609b3021e60b676b Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 14 Apr 2006 14:05:35 +0000 Subject: [PATCH] Return an url, not a title. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6657 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_web/WebSite_getSection.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_getSection.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_getSection.xml index badca07b1f..7dac581994 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_getSection.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_getSection.xml @@ -14,7 +14,7 @@ <dictionary> <item> <key> <string>Python_magic</string> </key> - <value> <string encoding="base64">O/INCg==</string> </value> + <value> <string encoding="base64">bfINCg==</string> </value> </item> <item> <key> <string>Script_magic</string> </key> @@ -68,7 +68,7 @@ <key> <string>_body</string> </key> <value> <string>section = context.WebSite_getSectionValue()\n if section is not None:\n - return section.getTitle()\n + return section.WebSite_getUrl()\n return None\n </string> </value> </item> @@ -80,7 +80,7 @@ return None\n </item> <item> <key> <string>_filepath</string> </key> - <value> <string>Script (Python):/nexedi/portal_skins/erp5_web/WebSite_getSection</string> </value> + <value> <string>Script (Python):/erp5/portal_skins/erp5_web/WebSite_getSection</string> </value> </item> <item> <key> <string>_owner</string> </key> -- 2.30.9