From: Godefroid C. <go...@us...> - 2004-04-30 20:55:54
|
Update of /cvsroot/collective/CompositePack/composite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4469/composite Modified Files: cmfcompositepage.py Log Message: -fix bug introduced when fixing change viewlet in vhm Index: cmfcompositepage.py =================================================================== RCS file: /cvsroot/collective/CompositePack/composite/cmfcompositepage.py,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- cmfcompositepage.py 30 Apr 2004 10:44:49 -0000 1.11 +++ cmfcompositepage.py 30 Apr 2004 20:55:46 -0000 1.12 @@ -17,7 +17,7 @@ edit_tag = '''<div class="slot_element" source_path="%s" icon="%s" title="%s" -allowed_viewlets_ids="%s" allowed_viewlets_titles="%s"> +allowed_viewlets_ids="%s" allowed_viewlets_titles="%s" full_path="%s"> <div class="slot_element_body">%s</div> </div>''' @@ -28,7 +28,8 @@ o2 = obj.dereference() icon = escape(getIconURL(o2, icon_base_url).encode('utf8')) title = escape(o2.title_and_id().encode('utf8')) - path = obj.absolute_url() + path = escape('/'.join(obj.getPhysicalPath())) + full_path = obj.absolute_url() composite_tool = getToolByName(self, TOOL_ID) viewlets_info = composite_tool.getViewletsFor(o2) allowed_viewlets_ids = [] @@ -48,6 +49,7 @@ title, allowed_viewlets_ids, allowed_viewlets_titles, + full_path, text) return result |