/[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.3 by tvon, Tue Nov 11 05:29:28 2003 UTC revision 1.4 by tvon, Tue Nov 11 05:39:53 2003 UTC
# Line 6  from Products.PACDefault.config import * Line 6  from Products.PACDefault.config import *
6  # Make this a folder so we can toss in some talking points  # Make this a folder so we can toss in some talking points
7  schema = BaseFolderSchema +  Schema((  schema = BaseFolderSchema +  Schema((
8    
9        StringField('title',
10            required=1,
11            searchable=1,
12            default='',
13            accessor='Title',
14            widget=StringWidget(label_msgid="label_title",
15                description_msgid="help_title",
16                i18n_domain="plone"),
17            ),
18        IntegerField('talkingPoints',
19            widget=IntegerWidget(label='Number of Talking Points'),
20            ),
21      TextField('instructions',      TextField('instructions',
22          widget=RichWidget(label='Instructions'),          widget=RichWidget(label='Instructions'),
23          ),          ),
# Line 15  schema = BaseFolderSchema +  Schema(( Line 27  schema = BaseFolderSchema +  Schema((
27  class ActionPhone(BaseFolder):  class ActionPhone(BaseFolder):
28      """Phone Action"""      """Phone Action"""
29      archetype_name = "Action (Phone)"      archetype_name = "Action (Phone)"
30        allowed_content_types = ('TalkingPoint',)
31      schema = schema      schema = schema
32      actions = ( {      actions = ( {
33              'id': 'folder_contents',              'id': 'folder_contents',

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

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