Commit edbc7008 authored by Ivan Tyagov's avatar Ivan Tyagov

Show toolbar for logged in users.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35160 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 575a0d2d
...@@ -151,7 +151,9 @@ ...@@ -151,7 +151,9 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
...@@ -218,7 +220,7 @@ ...@@ -218,7 +220,7 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string>hiddenLabel</string> </value> <value> <string>hidden_label</string> </value>
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
...@@ -310,4 +312,20 @@ ...@@ -310,4 +312,20 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>not: here/portal_membership/isAnonymousUser</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -71,8 +71,8 @@ ...@@ -71,8 +71,8 @@
<string>headline</string> <string>headline</string>
<string>bottom gadget (Bottom Gadget)</string> <string>bottom gadget (Bottom Gadget)</string>
<string>right column gadget (Right Gadget)</string> <string>right column gadget (Right Gadget)</string>
<string>footer</string>
<string>web-toolbar</string> <string>web-toolbar</string>
<string>footer</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -938,6 +938,7 @@ fieldset.right .gadget {\n ...@@ -938,6 +938,7 @@ fieldset.right .gadget {\n
\toverflow: hidden;\n \toverflow: hidden;\n
\tposition: relative;\n \tposition: relative;\n
\tmargin-top: -4.6em;\n \tmargin-top: -4.6em;\n
\tpadding-bottom: 20px;\n
\n \n
}\n }\n
\n \n
...@@ -1390,6 +1391,19 @@ fieldset.right_registration select {\n ...@@ -1390,6 +1391,19 @@ fieldset.right_registration select {\n
max-width: 170px;\n max-width: 170px;\n
\n \n
}\n }\n
\n
/* Web Toolbar */\n
div.web-toolbar{\n
padding-left: 200px;\n
color: auto;\n
height: 30px;\n
}\n
\n
div.web-toolbar h3{\n
color:#000000;\n
height: 30px;\n
}\n
\n
]]></string> </value> ]]></string> </value>
......
...@@ -111,6 +111,7 @@ ...@@ -111,6 +111,7 @@
layout_form.id == \'erp5_km_minimal_front_layout\';\n layout_form.id == \'erp5_km_minimal_front_layout\';\n
global header_title python:\'%s | %s\' % (here.getTranslatedTitleOrId(), website.getTranslatedTitleOrId());\n global header_title python:\'%s | %s\' % (here.getTranslatedTitleOrId(), website.getTranslatedTitleOrId());\n
global css_list_template python:[\n global css_list_template python:[\n
\'%s/erp5_web_toolbar.css\' % portal_path,\n
\'%s/km_css/layout.css\' % portal_path,\n \'%s/km_css/layout.css\' % portal_path,\n
\'%s/km_css/splash.css\' % portal_path,\n \'%s/km_css/splash.css\' % portal_path,\n
\'%s/km_css/color.css\' % portal_path,\n \'%s/km_css/color.css\' % portal_path,\n
...@@ -119,7 +120,7 @@ ...@@ -119,7 +120,7 @@
\'%s/km_css/erp5_km_common.css\' % portal_path,\n \'%s/km_css/erp5_km_common.css\' % portal_path,\n
\'%s/km_css/erp5_knowledge_box.css\' % portal_path,\n \'%s/km_css/erp5_knowledge_box.css\' % portal_path,\n
\'%s/km_css/erp5_knowledge_box_web.css\' % portal_path,\n \'%s/km_css/erp5_knowledge_box_web.css\' % portal_path,\n
\'%s/erp5_web_toolbar.css\' % portal_path,\n \n
];\n ];\n
global js_list python:[\n global js_list python:[\n
\'%s/erp5_km_utils.js\' % portal_path,\n \'%s/erp5_km_utils.js\' % portal_path,\n
...@@ -192,6 +193,10 @@ ...@@ -192,6 +193,10 @@
<tal:block metal:use-macro="here/aggregate_render/macros/aggregate_render"/>\n <tal:block metal:use-macro="here/aggregate_render/macros/aggregate_render"/>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
<!-- Web toolbar -->\n
<tal:block tal:repeat="aggregate python: [(\'toolbox\', splash_area)]">\n
<tal:block metal:use-macro="here/aggregate_render/macros/aggregate_render"/>\n
</tal:block>\n
<div id="content_back_km">\n <div id="content_back_km">\n
<!-- Headline Box -->\n <!-- Headline Box -->\n
<!-- Layout form rendering -->\n <!-- Layout form rendering -->\n
......
1372 1373
\ 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