-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2825faa
commit b851193
Showing
25 changed files
with
766 additions
and
775 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,89 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
i18n_domain="plone"> | ||
i18n_domain="plone" | ||
> | ||
|
||
<!-- Standard view --> | ||
<browser:page | ||
for="..interfaces.IDexterityContent" | ||
name="view" | ||
class=".view.DefaultView" | ||
template="item.pt" | ||
permission="zope2.View" | ||
/> | ||
<!-- Standard view --> | ||
<browser:page | ||
name="view" | ||
for="..interfaces.IDexterityContent" | ||
class=".view.DefaultView" | ||
template="item.pt" | ||
permission="zope2.View" | ||
/> | ||
|
||
<!-- Content core views --> | ||
<!-- Note: the templaces are the same since the changes for | ||
<!-- Content core views --> | ||
<!-- Note: the templaces are the same since the changes for | ||
https://github.com/plone/Products.CMFPlone/issues/3177 | ||
That may be okay: makes it easier to customize | ||
only the template for items or for containers. --> | ||
<browser:page | ||
for="..interfaces.IDexterityItem" | ||
name="content-core" | ||
class=".view.DefaultView" | ||
template="itemcontentcore.pt" | ||
permission="zope2.View" | ||
/> | ||
<browser:page | ||
name="content-core" | ||
for="..interfaces.IDexterityItem" | ||
class=".view.DefaultView" | ||
template="itemcontentcore.pt" | ||
permission="zope2.View" | ||
/> | ||
|
||
<browser:page | ||
for="..interfaces.IDexterityContainer" | ||
name="content-core" | ||
class=".view.DefaultView" | ||
template="containercontentcore.pt" | ||
permission="zope2.View" | ||
/> | ||
<browser:page | ||
name="content-core" | ||
for="..interfaces.IDexterityContainer" | ||
class=".view.DefaultView" | ||
template="containercontentcore.pt" | ||
permission="zope2.View" | ||
/> | ||
|
||
<!-- Standard IPublishTraverse adapter --> | ||
<adapter factory=".traversal.DexterityPublishTraverse" /> | ||
<!-- Standard IPublishTraverse adapter --> | ||
<adapter factory=".traversal.DexterityPublishTraverse" /> | ||
|
||
<!-- Standard add view and form - invoked from ++add++ traverser --> | ||
<adapter | ||
for="Products.CMFCore.interfaces.IFolderish | ||
zope.publisher.interfaces.browser.IDefaultBrowserLayer | ||
..interfaces.IDexterityFTI" | ||
provides="zope.publisher.interfaces.browser.IBrowserPage" | ||
factory=".add.DefaultAddView" | ||
<!-- Standard add view and form - invoked from ++add++ traverser --> | ||
<adapter | ||
factory=".add.DefaultAddView" | ||
provides="zope.publisher.interfaces.browser.IBrowserPage" | ||
for="Products.CMFCore.interfaces.IFolderish | ||
zope.publisher.interfaces.browser.IDefaultBrowserLayer | ||
..interfaces.IDexterityFTI" | ||
/> | ||
<class class=".add.DefaultAddView"> | ||
<require | ||
permission="cmf.AddPortalContent" | ||
interface="zope.publisher.interfaces.browser.IBrowserPage" | ||
/> | ||
<class class=".add.DefaultAddView"> | ||
<require | ||
permission="cmf.AddPortalContent" | ||
interface="zope.publisher.interfaces.browser.IBrowserPage" | ||
/> | ||
</class> | ||
</class> | ||
|
||
<!-- Standard edit view --> | ||
<browser:page | ||
for="..interfaces.IDexterityContent" | ||
name="edit" | ||
class=".edit.DefaultEditView" | ||
permission="cmf.ModifyPortalContent" | ||
/> | ||
<!-- Standard edit view --> | ||
<browser:page | ||
name="edit" | ||
for="..interfaces.IDexterityContent" | ||
class=".edit.DefaultEditView" | ||
permission="cmf.ModifyPortalContent" | ||
/> | ||
|
||
<!-- FTI add form --> | ||
<browser:page | ||
for="zope.browser.interfaces.IAdding" | ||
name="plone.dexterity.fti" | ||
template="fti.pt" | ||
class=".fti.FTIAddView" | ||
permission="cmf.ManagePortal" | ||
/> | ||
<!-- FTI add form --> | ||
<browser:page | ||
name="plone.dexterity.fti" | ||
for="zope.browser.interfaces.IAdding" | ||
class=".fti.FTIAddView" | ||
template="fti.pt" | ||
permission="cmf.ManagePortal" | ||
/> | ||
|
||
<!-- Resources for icons --> | ||
<!-- Resources for icons --> | ||
|
||
<browser:resource | ||
name="plone.dexterity.item.gif" | ||
file="icons/item_icon.gif" | ||
/> | ||
<browser:resource | ||
name="plone.dexterity.item.gif" | ||
file="icons/item_icon.gif" | ||
/> | ||
|
||
<browser:resource | ||
name="plone.dexterity.container.gif" | ||
file="icons/container_icon.gif" | ||
/> | ||
<browser:resource | ||
name="plone.dexterity.container.gif" | ||
file="icons/container_icon.gif" | ||
/> | ||
|
||
<browser:resource | ||
name="plone.dexterity.fti.gif" | ||
file="icons/typeinfo.gif" | ||
/> | ||
<browser:resource | ||
name="plone.dexterity.fti.gif" | ||
file="icons/typeinfo.gif" | ||
/> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.