Commit 304a00ca authored by Mame Coumba Sall's avatar Mame Coumba Sall

2009-04-06 mame

* modified to set all available languages just after the creation of the website

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26288 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc59e3c8
...@@ -61,6 +61,9 @@ ...@@ -61,6 +61,9 @@
context.setContainerLayout(\'erp5_web_layout\')\n context.setContainerLayout(\'erp5_web_layout\')\n
context.setContentLayout(\'erp5_web_content_layout\')\n context.setContentLayout(\'erp5_web_content_layout\')\n
context.setLayoutConfigurationFormId(\'WebSection_viewDefaultThemeConfiguration\')\n context.setLayoutConfigurationFormId(\'WebSection_viewDefaultThemeConfiguration\')\n
lang_list = context.Localizer.get_supported_languages()\n
context.setAvailableLanguageSet(lang_list)\n
context.setStaticLanguageSelection(1)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -101,6 +104,7 @@ context.setLayoutConfigurationFormId(\'WebSection_viewDefaultThemeConfiguration\ ...@@ -101,6 +104,7 @@ context.setLayoutConfigurationFormId(\'WebSection_viewDefaultThemeConfiguration\
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>lang_list</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
771 772
\ 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