EduploneExam ExamFolder.py,1.21,1.22
Jens Klein <[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-serv8356
Modified Files:
ExamFolder.py
Log Message:
import added
Index: ExamFolder.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/ExamFolder.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** ExamFolder.py 16 Dec 2004 13:28:18 -0000 1.21
--- ExamFolder.py 16 Dec 2004 14:16:46 -0000 1.22
***************
*** 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 14:21:01 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,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
***************
*** 36,39 ****
--- 31,35 ----
from Products.CMFCore.utils import getToolByName
from registry import getQuestionTypes
+ from Products.EduploneExam.userresponses.SessionResponse import SessionResponse
##/code-section module-header
***************
*** 41,47 ****
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,)
--- 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,)
***************
*** 59,63 ****
),
),
!
StringField('title',
accessor='''Title''',
--- 55,59 ----
),
),
!
StringField('title',
accessor='''Title''',
***************
*** 70,74 ****
),
),
!
),
)
--- 66,70 ----
),
),
!
),
)
***************
*** 134,151 ****
}
!
actions= (
-
- {'action': '''string:$object_url/exam_view''',
- 'category': '''object''',
- 'id': 'view',
- 'name': 'exam_view',
- 'permissions': ('''View''',),
- 'condition' : 'python:1'},
-
)
!
registerType(ExamFolder)
--- 130,139 ----
}
!
actions= (
)
!
registerType(ExamFolder)
***************
*** 154,157 ****
##code-section module-footer #fill in your manual code here
##/code-section module-footer
-
-
--- 142,143 ----
-------------------------------------------------------
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/