added top_actions slot for providing language switching, search, etc

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2240 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2007-12-13 16:40:47 +00:00
parent 90fd32c305
commit 6b05dbd416
2 changed files with 12 additions and 0 deletions

View file

@ -29,6 +29,13 @@
</metal:js>
<metal:portlet define-macro="multi_actions">
<tal:sub repeat="macro macro/subMacros">
<metal:sub use-macro="macro" />
</tal:sub>
</metal:portlet>
<metal:portlet define-macro="portlet_left">
<div metal:use-macro="macro/template/macros/portlet" />
</metal:portlet>

View file

@ -10,6 +10,11 @@
tal:attributes="href string:${request/URL/1}"><img class="logo"
src="logo.gif" border="0" alt="Home"
tal:attributes="src string:${resourceBase}logo.gif" /></a>
<div class="top-actions" metal:define-slot="top-actions">
<tal:action repeat="macro controller/macros/top_actions">
<metal:action use-macro="macro" />
</tal:action>
</div>
</div>
</div>