[Erp5-report] r26120 - in /erp5/trunk/bt5/erp5_web: SkinTemplateItem/portal_skins/erp5_web/...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 20 15:07:13 CET 2009


Author: fabien
Date: Fri Mar 20 15:07:08 2009
New Revision: 26120

URL: http://svn.erp5.org?rev=26120&view=rev
Log:
make possible to pass all_languages as parameter. The default value False is kipped

Modified:
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml
    erp5/trunk/bt5/erp5_web/bt/revision

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml?rev=26120&r1=26119&r2=26120&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml [utf8] Fri Mar 20 15:07:08 2009
@@ -53,9 +53,8 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string># In normal web sites, pages only in a selected language should be displayed.\n
-kw[\'all_languages\'] = False\n
-return context.WebSection_getDocumentValueListBase(**kw)\n
+            <value> <string># In normal web sites pages, if nothing is specify, only in a selected language should be displayed.\n
+return context.WebSection_getDocumentValueListBase(all_languages=all_languages, **kw)\n
 </string> </value>
         </item>
         <item>
@@ -66,7 +65,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>**kw</string> </value>
+            <value> <string>all_languages=False, **kw</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -86,15 +85,14 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
+                        <value> <int>1</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
+                            <string>all_languages</string>
                             <string>kw</string>
-                            <string>False</string>
-                            <string>_write_</string>
                             <string>_apply_</string>
                             <string>_getattr_</string>
                             <string>context</string>
@@ -109,7 +107,9 @@
         <item>
             <key> <string>func_defaults</string> </key>
             <value>
-              <none/>
+              <tuple>
+                <int>0</int>
+              </tuple>
             </value>
         </item>
         <item>

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=26120&r1=26119&r2=26120&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision [utf8] Fri Mar 20 15:07:08 2009
@@ -1,1 +1,1 @@
-753
+759




More information about the Erp5-report mailing list