Commit d7fc3ef5 authored by Fabien Morin's avatar Fabien Morin

make possible to pass all_languages as parameter. The default value False is kipped

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26120 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 95d7a3ce
...@@ -53,9 +53,8 @@ ...@@ -53,9 +53,8 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># In normal web sites, pages only in a selected language should be displayed.\n <value> <string># In normal web sites pages, if nothing is specify, only in a selected language should be displayed.\n
kw[\'all_languages\'] = False\n return context.WebSection_getDocumentValueListBase(all_languages=all_languages, **kw)\n
return context.WebSection_getDocumentValueListBase(**kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -66,7 +65,7 @@ return context.WebSection_getDocumentValueListBase(**kw)\n ...@@ -66,7 +65,7 @@ return context.WebSection_getDocumentValueListBase(**kw)\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>**kw</string> </value> <value> <string>all_languages=False, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -86,15 +85,14 @@ return context.WebSection_getDocumentValueListBase(**kw)\n ...@@ -86,15 +85,14 @@ return context.WebSection_getDocumentValueListBase(**kw)\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>all_languages</string>
<string>kw</string> <string>kw</string>
<string>False</string>
<string>_write_</string>
<string>_apply_</string> <string>_apply_</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
...@@ -109,7 +107,9 @@ return context.WebSection_getDocumentValueListBase(**kw)\n ...@@ -109,7 +107,9 @@ return context.WebSection_getDocumentValueListBase(**kw)\n
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<none/> <tuple>
<int>0</int>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
753 759
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment