Changeset 487:8fd6f26fe29e in documentViewer


Ignore:
Timestamp:
Aug 23, 2011, 1:05:11 PM (13 years ago)
Author:
casties
Branch:
elementtree
Message:

more new templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r486 r487  
    11from OFS.Folder import Folder
    2 from OFS.Image import File
    32from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
    43from Products.PageTemplates.PageTemplateFile import PageTemplateFile
    5 from Products.ZSimpleFile import ZSimpleFile
     4from App.ImageFile import ImageFile
     5#from Products.ZSimpleFile.ZSimpleFile import ZSimpleFile
    66from AccessControl import ClassSecurityInfo
    77from AccessControl import getSecurityManager
     
    141141    info_xml = PageTemplateFile('zpt/info_xml', globals())
    142142    # 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())
    144144   
    145145   
Note: See TracChangeset for help on using the changeset viewer.