/[pac]/pac/PACDefault/ActionPhone.py
ViewVC logotype

Diff of /pac/PACDefault/ActionPhone.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tvon, Wed Oct 8 00:44:40 2003 UTC revision 1.3 by tvon, Tue Nov 11 05:29:28 2003 UTC
# Line 3  from Products.Archetypes.TemplateMixin i Line 3  from Products.Archetypes.TemplateMixin i
3    
4  from Products.PACDefault.config import *  from Products.PACDefault.config import *
5    
6  schema = BaseSchema + Schema((  # Make this a folder so we can toss in some talking points
7    schema = BaseFolderSchema +  Schema((
8    
9      TextField('instructions',      TextField('instructions',
10          widget=RichWidget(label='Instructions'),          widget=RichWidget(label='Instructions'),
# Line 11  schema = BaseSchema + Schema(( Line 12  schema = BaseSchema + Schema((
12    
13      )) + TemplateMixin.schema      )) + TemplateMixin.schema
14    
15  class ActionPhone(TemplateMixin, BaseContent):  class ActionPhone(BaseFolder):
16      """Phone Action"""      """Phone Action"""
     schema = schema  
17      archetype_name = "Action (Phone)"      archetype_name = "Action (Phone)"
18      actions = TemplateMixin.actions      schema = schema
19        actions = ( {
20                'id': 'folder_contents',
21                'name': 'Action Contents',
22                'action': 'folder_contents',
23                'permissions': (CMFCorePermissions.ModifyPortalContent,)
24                },)
25    
26  registerType(ActionPhone)  registerType(ActionPhone)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26