diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_getPropertyDictFromContent.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_getPropertyDictFromContent.xml index 5f791766edca944a18f7ca237d233f4a59fe308e..ec85e1505e96dd6f90f4fdabc98748b6cfd0ed62 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_getPropertyDictFromContent.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_getPropertyDictFromContent.xml @@ -94,7 +94,7 @@ for k, v in information.items(): \n elif key == \'author\':\n p = context.portal_catalog.getResultValue(title = v)\n if p is not None:\n - result[contributor] = p.getRelativeUrl()\n + result[\'contributor\'] = p.getRelativeUrl()\n elif key == \'keywords\':\n result[\'subject_list\'] = v.split()\n \n @@ -180,7 +180,6 @@ return result\n <string>_write_</string> <string>p</string> <string>None</string> - <string>contributor</string> <string>title</string> </tuple> </value> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_hashBaseCategoryList.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_hashBaseCategoryList.xml index 94a16c68590cb4d2981fea1d9ecbec12eb65fc41..8da44fb5720d5bbd0f2251ed7daeef299702e139 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_hashBaseCategoryList.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_hashBaseCategoryList.xml @@ -114,9 +114,6 @@ for base_category in item_list:\n sub_field_dict[base_category] = sub_field_property_dict\n \n return sub_field_dict.values()\n -\n -\n -# vim: syntax=python shiftwidth=2\n </string> </value> </item> <item>