Diff for /OSAS/OSA_system/OSAS_show.py between versions 1.7 and 1.8

version 1.7, 2003/10/12 21:19:13 version 1.8, 2003/12/05 14:57:03
Line 6  from OFS.Folder import Folder Line 6  from OFS.Folder import Folder
 from OFS.SimpleItem import SimpleItem  from OFS.SimpleItem import SimpleItem
 from Products.PageTemplates.PageTemplateFile import PageTemplateFile  from Products.PageTemplates.PageTemplateFile import PageTemplateFile
 from Products.PageTemplates.PageTemplate import PageTemplate  from Products.PageTemplates.PageTemplate import PageTemplate
   from AccessControl import ClassSecurityInfo
   from Globals import InitializeClass
   
 class OSAS_ShowOnline(SimpleItem):  class OSAS_ShowOnline(SimpleItem):
       security=ClassSecurityInfo()
       
     """OnlineBrowser"""      """OnlineBrowser"""
     def __init__(self,id):      def __init__(self,id):
         """initialize a new instance"""          """initialize a new instance"""
Line 15  class OSAS_ShowOnline(SimpleItem): Line 19  class OSAS_ShowOnline(SimpleItem):
   
     meta_type="OSAS_ShowOnline"      meta_type="OSAS_ShowOnline"
   
       security.declareProtected('View','index_html')
     def index_html(self):      def index_html(self):
         """main view"""          """main view"""
         pt=PageTemplateFile('Products/OSA_system/OSAS_ViewFiles.zpt').__of__(self)          pt=PageTemplateFile('Products/OSA_system/OSAS_ViewFiles.zpt').__of__(self)
Line 53  class OSAS_ShowOnline(SimpleItem): Line 58  class OSAS_ShowOnline(SimpleItem):
         self.tree(path).toggle(path,file)          self.tree(path).toggle(path,file)
         return self.REQUEST.RESPONSE.redirect(self.REQUEST['URL1']+"?path="+path)          return self.REQUEST.RESPONSE.redirect(self.REQUEST['URL1']+"?path="+path)
           
   InitializeClass(OSAS_ShowOnline)
   
 def manage_AddOSAS_ShowOnlineForm(self):  def manage_AddOSAS_ShowOnlineForm(self):
     """interface for adding the OSAS_root"""      """interface for adding the OSAS_root"""
     pt=PageTemplateFile('Products/OSA_system/AddOSAS_ShowOnline.zpt').__of__(self)      pt=PageTemplateFile('Products/OSA_system/AddOSAS_ShowOnline.zpt').__of__(self)
Line 68  def manage_AddOSAS_ShowOnline(self,id,RE Line 75  def manage_AddOSAS_ShowOnline(self,id,RE
   
 class OSAS_StoreOnline(SimpleItem):  class OSAS_StoreOnline(SimpleItem):
     """Webfrontend für das Storagesystem"""      """Webfrontend für das Storagesystem"""
       security=ClassSecurityInfo()
       
     def __init__(self,id):      def __init__(self,id):
         """initialize a new instance"""          """initialize a new instance"""
         self.id = id          self.id = id
   
     meta_type="OSAS_StoreOnline"      meta_type="OSAS_StoreOnline"
   
           security.declareProtected('View','index_html')
     def index_html(self):      def index_html(self):
         """main view"""          """main view"""
         pt=PageTemplateFile('Products/OSA_system/OSAS_StoreFiles.zpt').__of__(self)          pt=PageTemplateFile('Products/OSA_system/OSAS_StoreFiles.zpt').__of__(self)
Line 180  class OSAS_StoreOnline(SimpleItem): Line 189  class OSAS_StoreOnline(SimpleItem):
         pt=PageTemplateFile('Products/OSA_system/OSAS_addmetadata.zpt').__of__(self)          pt=PageTemplateFile('Products/OSA_system/OSAS_addmetadata.zpt').__of__(self)
         return pt()          return pt()
   
   InitializeClass(OSAS_StoreOnline)
           
 def manage_AddOSAS_StoreOnlineForm(self):  def manage_AddOSAS_StoreOnlineForm(self):
     """interface for adding the OSAS_root"""      """interface for adding the OSAS_root"""

Removed from v.1.7  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>