Maintenance : bugfix, jslint.
[Plinn.git] / skins / content / file_view.py
1 ##parameters=
2
3 options = {}
4
5 if context.content_type == 'application/x-shockwave-flash' :
6 options['width'] = context.getProperty('width', 600)
7 options['height'] = context.getProperty('height', 600)
8 return context.flash_view_template(**options)
9
10 return context.file_view_template(**options)