Changeset 28 for abstract.jwrotator
- Timestamp:
- 04/23/08 12:44:09 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
abstract.jwrotator/branches/2.5_compat/browser/browser.py
r27 r28 11 11 global default_values 12 12 13 default_values = {'height': '200', 'width': '400' }13 default_values = {'height': '200', 'width': '400', 'shownavigation':'false', 'transition':'random' , 'rotatetime':5} 14 14 15 15 class jwr_view(BrowserView): … … 69 69 70 70 class IJWRSettings(Interface): 71 height = schema.TextLine(title=u'Height', 72 required=False,) 71 height = schema.TextLine(title=u'Height', required=False,) 73 72 74 width = schema.TextLine(title=u'Width', 75 required=False,) 73 width = schema.TextLine(title=u'Width', required=False,) 74 75 shownavigation = schema.Choice(title=u"ShowNavigation", values = ['true','false'], default = 'true') 76 77 transition = schema.Choice(title=u"Transition", values = ['random','fade', 'bgfade', 'blocks', 'bubbles', 'circles', 'flash', 'fluids', 'lines' , 'slowfade'], default = 'random') 78 79 rotatetime = schema.Int(title=u"RotateTime", required = False) 76 80 77 81 class jwr_settings_form(formbase.PageForm):
