<tal:block i18n:domain="zope">
<div class="body"
     metal:define-macro="body"
     tal:define="controller nocall:view/controller;
                 resourceBase controller/resourceBase;">

    <div id="global" metal:define-macro="global">
      <div class="top" metal:define-slot="top">
        <a href="#" name="top" metal:define-slot="logo"
           tal:attributes="href string:${request/URL/1}"><img class="logo"
               border="0" alt="Home"
               tal:attributes="src string:${resourceBase}logo.png" /></a>
        <div metal:define-slot="top-actions">
          <tal:action repeat="macro controller/macros/top_actions">
            <metal:action use-macro="macro" />
          </tal:action>
        </div>
      </div>
    </div>

    <div id="menu" metal:define-macro="menu">
      <tal:portlet repeat="macro controller/macros/portlet_left">
        <metal:portlet use-macro="macro" />
      </tal:portlet>
    </div>

    <div id="content" metal:define-macro="content">
      <div metal:define-slot="actions"></div>
      <div metal:define-slot="message"></div>
      <metal:content define-slot="content">
        <tal:content define="item nocall:view/item;
                             level level|python: 1;
                             macro item/macro;"
                     condition="macro">
          <metal:block use-macro="macro" />
        </tal:content>
      </metal:content>
    </div>

    <div id="sub-section"
         xtal:condition="view/isAuthenticated">
      <tal:portlet repeat="macro controller/macros/portlet_right">
        <metal:portlet use-macro="macro" />
      </tal:portlet>
    </div>

    <div id="footer" class="footer" metal:define-macro="footer">
      <metal:footer define-slot="footer">
      Powered by <b><a href="http://www.python.org">Python</a></b> &middot;
      <b><a href="http://wiki.zope.org/zope3">Zope 3</a></b> &middot;
      <b><a href="http://loops.cy55.de">
        loops</a></b>.
      </metal:footer>
    </div>

</div>
</tal:block>