Commit 05c3f5a8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not create default pad in force anonymous mode.

parent 8d15dbbf
...@@ -65,11 +65,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -65,11 +65,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tal:block metal:use-macro="here/main_template/macros/master">\n <tal:block metal:use-macro="here/main_template/macros/master">\n
<tal:block metal:fill-slot="main">\n <tal:block metal:fill-slot="main">\n
<div class="front_pad">\n <div class="front_pad">\n
<div tal:content="structure python: here.ERP5Site_viewHomeAreaRenderer(mode=\'web_front\', \n <div tal:define="force_anonymous python:context.getLayoutProperty(\'layout_force_anonymous_gadget\',False)"\n
tal:content="structure python: here.ERP5Site_viewHomeAreaRenderer(mode=\'web_front\', \n
default_pad_group=\'\',\n default_pad_group=\'\',\n
create_default_pad=True, \n create_default_pad=not force_anonymous, \n
make_security_check=True,\n make_security_check=True,\n
use_anonymous_knowledge_pad=context.getLayoutProperty(\'layout_force_anonymous_gadget\',False))"\n use_anonymous_knowledge_pad=force_anonymous)"\n
class="draggable_wrapper"/>\n class="draggable_wrapper"/>\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
......
1812 1813
\ 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