Changeset 487:8fd6f26fe29e in documentViewer
- Timestamp:
- Aug 23, 2011, 1:05:11 PM (13 years ago)
- Branch:
- elementtree
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentViewer.py
r486 r487 1 1 from OFS.Folder import Folder 2 from OFS.Image import File3 2 from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate 4 3 from Products.PageTemplates.PageTemplateFile import PageTemplateFile 5 from Products.ZSimpleFile import ZSimpleFile 4 from App.ImageFile import ImageFile 5 #from Products.ZSimpleFile.ZSimpleFile import ZSimpleFile 6 6 from AccessControl import ClassSecurityInfo 7 7 from AccessControl import getSecurityManager … … 141 141 info_xml = PageTemplateFile('zpt/info_xml', globals()) 142 142 # TODO: can this be nicer? 143 docuviewer_css = ZSimpleFile(content_type='text/css',filename='css/docuviewer.css', id='docuviewer_css',_prefix=globals())143 docuviewer_css = ImageFile('css/docuviewer.css',globals()) 144 144 145 145
Note: See TracChangeset
for help on using the changeset viewer.