<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
      lang="en"
      metal:use-macro="context/prefs_main_template/macros/master"
      i18n:domain="plone">

  <metal:javascript fill-slot="javascript_head_slot">
    <script src="${portal_url}/++plone++castle/components/audit.js"></script>
  </metal:javascript>

<body>

<metal:main metal:fill-slot="prefs_configlet_main"
            tal:define="connected view/el_connected;
                        site_path python: '/'.join(context.getPhysicalPath())">

    <a href=""
       id="setup-link"
       tal:attributes="href string:$portal_url/plone_control_panel"
       i18n:translate=""
       tal:condition="not: view/user">
        Site Setup
    </a>


    <h1 class="documentFirstHeading" tal:content="view/label">View Title</h1>

    <div metal:use-macro="context/global_statusmessage/macros/portal_message">
      Portal status message
    </div>

    <div id="content-core">
      <div tal:replace="structure view/render_inner" />
    </div>

</metal:main>
</body>
</html>
