<!--
Copyright (c) 2002-2008 Infrae. All rights reserved.
See also LICENSE.txt
-->

<configure 
  xmlns="http://namespaces.zope.org/zope"
  xmlns:browser="http://namespaces.zope.org/browser"
  xmlns:five="http://namespaces.zope.org/five">
  
  <browser:page
    name="index.html"
    for="Products.Silva.interfaces.IContent"
    class="Products.SilvaLayout.browser.silvaview.Content"
    template="maintemplate.pt"
    permission="zope2.View"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="index.html"
    for="Products.Silva.interfaces.IContainer"
    class="Products.SilvaLayout.browser.silvaview.Container"
    template="maintemplate.pt"
    permission="zope2.View"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="treeview"
    for="Products.Silva.interfaces.ISilvaObject"
    class="Products.SilvaLayout.browser.tree.TreeView"
    permission="zope2.View"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="breadcrumbs"
    for="Products.Silva.interfaces.ISilvaObject"
    template="breadcrumbs.pt"
    permission="zope2.View"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="preview_html"
    for="Products.Silva.interfaces.IContainer"
    class="Products.SilvaLayout.browser.silvaview.Container"
    template="publicpreview.pt"
    permission="silva.ChangeSilvaContent"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="previewbuttons"
    for="Products.Silva.interfaces.IContainer"
    class="Products.SilvaLayout.browser.publicpreview.Buttons"
    template="preview_buttons.pt"
    permission="silva.ChangeSilvaContent"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="preview_html"
    for="Products.Silva.interfaces.IContent"
    class="Products.SilvaLayout.browser.silvaview.Content"
    template="publicpreview.pt"
    permission="silva.ChangeSilvaContent"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="previewbuttons"
    for="Products.Silva.interfaces.IContent"
    class="Products.SilvaLayout.browser.publicpreview.Buttons"
    template="preview_buttons.pt"
    permission="silva.ChangeSilvaContent"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="preview_publish_now"
    for="Products.Silva.interfaces.IContent"
    class="Products.SilvaLayout.browser.publicpreview.PublishAction"
    permission="silva.ChangeSilvaContent"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="contenttype"
    for="Products.Silva.interfaces.ISilvaObject"
    class="Products.SilvaLayout.browser.contenttype.ContentType"
    permission="zope2.View"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="catalogquery"
    for="Products.Silva.interfaces.ISilvaObject"
    class="Products.SilvaLayout.browser.query.CatalogQueryView"
    permission="zope2.View"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="recent"
    for="Products.Silva.interfaces.ISilvaObject"
    template="recentitems.pt"
    class="Products.SilvaLayout.browser.query.CatalogQueryView"
    permission="zope2.View"
    layer=".skin.ISilvaDefault"
  />

  <browser:page
    name="subscriptor"
    for="Products.Silva.interfaces.ISilvaObject"
    class="Products.SilvaLayout.browser.subscriptor.Subscriptor"
    permission="silva.ReadSilvaContent"
    template="subscriptor_view.pt"
    layer=".skin.ISilvaDefault"
  />

  <browser:resourceDirectory
    name="images"
    directory="images"
    permission="zope2.Public"
    layer=".skin.ISilvaDefault"
  />

  <browser:resourceDirectory
    name="styles"
    directory="css"
    permission="zope2.Public"
    layer=".skin.ISilvaDefault"
  />

  <interface
    interface=".skin.ISilvaDefault"
    type="zope.publisher.interfaces.browser.IBrowserSkinType"
    name="SilvaDefault"
  />

</configure>           
