[Erp5-report] r24761 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Dec 2 11:32:42 CET 2008


Author: jerome
Date: Tue Dec  2 11:32:40 2008
New Revision: 24761

URL: http://svn.erp5.org?rev=24761&view=rev
Log:
generate a link that will be valid xhtml

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getMirrorAccountUrl.xml
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getMirrorAccountUrl.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getMirrorAccountUrl.xml?rev=24761&r1=24760&r2=24761&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getMirrorAccountUrl.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getMirrorAccountUrl.xml [utf8] Tue Dec  2 11:32:40 2008
@@ -61,7 +61,7 @@
 if object is None:\n
   url = None\n
 else:\n
-  url = object.absolute_url() + \'/view?selection_index=%s&selection_name=%s&reset=1\' % (index, selection_name)\n
+  url = object.absolute_url() + \'/view?selection_index=%s&selection_name=%s&reset=1\' % (index, selection_name)\n
 \n
 return url\n
 

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml?rev=24761&r1=24760&r2=24761&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml [utf8] Tue Dec  2 11:32:40 2008
@@ -54,6 +54,7 @@
         <item>
             <key> <string>_body</string> </key>
             <value> <string>from ZTUtils import make_query\n
+from Products.PythonScripts.standard import html_quote\n
 \n
 index = context.portal_selections.getSelectionIndexFor(selection_name)\n
 object = brain.getObject()\n
@@ -68,7 +69,7 @@
        \'reset\' : \'1\', \n
      }\n
 \n
-return \'%s/%s?%s\' % (object.absolute_url(), method, make_query(kw))\n
+return html_quote(\'%s/%s?%s\' % (object.absolute_url(), method, make_query(kw)))\n
 </string> </value>
         </item>
         <item>
@@ -111,6 +112,8 @@
                             <string>kwd</string>
                             <string>ZTUtils</string>
                             <string>make_query</string>
+                            <string>Products.PythonScripts.standard</string>
+                            <string>html_quote</string>
                             <string>_getattr_</string>
                             <string>context</string>
                             <string>index</string>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=24761&r1=24760&r2=24761&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Tue Dec  2 11:32:40 2008
@@ -1,1 +1,1 @@
-817
+819




More information about the Erp5-report mailing list