EduploneExam ExamFolder.py,1.22,1.23 version.txt,1.15,1.16

Nils Haagen <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22204

Modified Files:
	ExamFolder.py version.txt 
Log Message:
security SOLVED cd EduploneExam/cd EduploneExam/

Index: version.txt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/version.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** version.txt	16 Dec 2004 13:28:18 -0000	1.15
--- version.txt	16 Dec 2004 15:18:16 -0000	1.16
***************
*** 1 ****
! 1.0-alpha build 32
--- 1 ----
! 1.0-alpha build 33

Index: ExamFolder.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/ExamFolder.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** ExamFolder.py	16 Dec 2004 14:16:46 -0000	1.22
--- ExamFolder.py	16 Dec 2004 15:18:16 -0000	1.23
***************
*** 1,11 ****
  # File: ExamFolder.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! #
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
--- 1,16 ----
  # File: ExamFolder.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! # 
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
***************
*** 37,43 ****
  class ExamFolder(OrderedBaseFolder):
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'ExamFolder'
!     archetype_name = 'ExamFolder'   #this name appears in the 'add' box
!     allowed_content_types = []
  
      __implements__ = getattr(OrderedBaseFolder,'__implements__',()) + (IExamContext,)
--- 42,48 ----
  class ExamFolder(OrderedBaseFolder):
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'ExamFolder' 
!     archetype_name = 'ExamFolder'   #this name appears in the 'add' box 
!     allowed_content_types = [] 
  
      __implements__ = getattr(OrderedBaseFolder,'__implements__',()) + (IExamContext,)
***************
*** 55,59 ****
              ),
          ),
! 
          StringField('title',
              accessor='''Title''',
--- 60,64 ----
              ),
          ),
!         
          StringField('title',
              accessor='''Title''',
***************
*** 66,70 ****
              ),
          ),
! 
      ),
      )
--- 71,75 ----
              ),
          ),
!         
      ),
      )
***************
*** 130,139 ****
          }
  
! 
      actions=  (
  
  
            )
! 
  
  registerType(ExamFolder)
--- 135,152 ----
          }
  
!         
      actions=  (
+         
  
+        {'action':      '''string:$object_url/exam_view''',
+         'category':    '''object''',
+         'id':          'view',
+         'name':        'exam_view',
+         'permissions': ('''View''',),
+         'condition'  : 'python:1'},
+         
  
            )
!         
  
  registerType(ExamFolder)
***************
*** 142,143 ****
--- 155,158 ----
  ##code-section module-footer #fill in your manual code here
  ##/code-section module-footer
+ 
+ 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.