~ubuntu-branches/ubuntu/trusty/boa-constructor/trusty

« back to all changes in this revision

Viewing changes to ZopeLib/zoa/props/PageTemplate.py

  • Committer: Bazaar Package Importer
  • Author(s): Cédric Delfosse
  • Date: 2007-01-23 21:32:29 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070123213229-1d9lxp9c4dutjwv5
Add a .desktop file (Closes: #349081)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Script (Python) "PageTemplate"
2
 
##bind container=container
3
 
##bind context=context
4
 
##bind namespace=
5
 
##bind script=script
6
 
##bind subpath=traverse_subpath
7
 
##parameters=name
8
 
##title=PageTemplates
9
 
##
10
 
ctx = context.aq_parent.aq_parent
11
 
pt = ctx.zoa.subobj_(name)
12
 
return {'title': pt.title,
13
 
        'content_type': pt.content_type,
14
 
        'expand': pt.expand}
 
1
## Script (Python) "PageTemplate"
 
2
##bind container=container
 
3
##bind context=context
 
4
##bind namespace=
 
5
##bind script=script
 
6
##bind subpath=traverse_subpath
 
7
##parameters=name
 
8
##title=PageTemplates
 
9
##
 
10
ctx = context.aq_parent.aq_parent
 
11
pt = ctx.zoa.subobj_(name)
 
12
return {'title': pt.title,
 
13
        'content_type': pt.content_type,
 
14
        'expand': pt.expand}