EduploneExam ExamFolder.py,1.20,1.21 version.txt,1.14,1.15
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-serv29746
Modified Files:
ExamFolder.py version.txt
Log Message:
added truefalse and singlechoice
Index: version.txt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/version.txt,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** version.txt 15 Dec 2004 13:56:02 -0000 1.14
--- version.txt 16 Dec 2004 13:28:18 -0000 1.15
***************
*** 1 ****
! 1.0-alpha build 31
--- 1 ----
! 1.0-alpha build 32
Index: ExamFolder.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/ExamFolder.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** ExamFolder.py 16 Dec 2004 11:01:20 -0000 1.20
--- ExamFolder.py 16 Dec 2004 13:28:18 -0000 1.21
***************
*** 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 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
***************
*** 36,42 ****
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,)
--- 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,)
***************
*** 54,58 ****
),
),
!
StringField('title',
accessor='''Title''',
--- 59,63 ----
),
),
!
StringField('title',
accessor='''Title''',
***************
*** 65,69 ****
),
),
!
),
)
--- 70,74 ----
),
),
!
),
)
***************
*** 129,138 ****
}
!
actions= (
)
!
registerType(ExamFolder)
--- 134,151 ----
}
!
actions= (
+
+ {'action': '''string:$object_url/exam_view''',
+ 'category': '''object''',
+ 'id': 'view',
+ 'name': 'exam_view',
+ 'permissions': ('''View''',),
+ 'condition' : 'python:1'},
+
)
!
registerType(ExamFolder)
***************
*** 141,142 ****
--- 154,157 ----
##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/