r13436 - ArchGenXML/trunk/src/archgenxml/templates
"Philipp Auersperg" <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: zworkb
Date: Tue Jan 25 12:04:30 2011
New Revision: 13436
Modified:
ArchGenXML/trunk/src/archgenxml/templates/browser.zcml
ArchGenXML/trunk/src/archgenxml/templates/configure.zcml
Log:
view permissions can now additionally be specified in the dependency association to the content class
Modified: ArchGenXML/trunk/src/archgenxml/templates/browser.zcml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/browser.zcml (original)
+++ ArchGenXML/trunk/src/archgenxml/templates/browser.zcml Tue Jan 25 12:04:30 2011
@@ -6,6 +6,9 @@
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="<dtml-var "i18ndomain">">
+<!-- ##code-section BROWSER_HEADER #fill in your manual code here -->
+<!-- ##/code-section BROWSER_HEADER -->
+
<dtml-if portletViews>
<include package="plone.app.portlets" />
</dtml-if>
@@ -19,7 +22,7 @@
name="<dtml-var "(not dep.getName()[0].isdigit() and dep.getName()) or klass.getTaggedValue('name') or klass.getName()">"
class="Products.<dtml-var "klass.getQualifiedName(includeRoot=True)">"
template="templates/<dtml-var "dep.getTaggedValue('template_name') or klass.getTaggedValue('template_name')">"
- permission="<dtml-var "klass.getTaggedValue('permission') or 'zope2.View'">"
+ permission="<dtml-var "dep.getTaggedValue('permission') or klass.getTaggedValue('permission') or 'zope2.View'">"
/>
</dtml-let>
Modified: ArchGenXML/trunk/src/archgenxml/templates/configure.zcml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/configure.zcml (original)
+++ ArchGenXML/trunk/src/archgenxml/templates/configure.zcml Tue Jan 25 12:04:30 2011
@@ -4,6 +4,9 @@
xmlns:i18n="http://namespaces.zope.org/i18n"
i18n_domain="<dtml-var "i18ndomain">">
+ <!-- ##code-section configure.zcml.header -->
+ <!-- ##/code-section configure.zcml.header -->
+
<i18n:registerTranslations directory="locales" />
<include file="profiles.zcml" />
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d