EduploneTypes/types EduploneQTIAnswer.py,1.2,1.3 EduploneQTIQuestion.py,1.3,1.4

Jens Klein <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneTypes/types
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19884/types

Modified Files:
	EduploneQTIAnswer.py EduploneQTIQuestion.py 
Log Message:
some fixes in qti-types


Index: EduploneQTIAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTypes/types/EduploneQTIAnswer.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** EduploneQTIAnswer.py	25 May 2004 21:59:41 -0000	1.2
--- EduploneQTIAnswer.py	6 Aug 2004 12:48:04 -0000	1.3
***************
*** 57,69 ****
  
      schema = BaseContent.schema + schema
!     portal_type = meta_type = "eduplone QTI Answer"
!     archetype_name = "Answer"
!     #actions=actions
! 
!     factory_type_information = {
!         #'content_icon':'canvasqti_icon.gif',
!         'global_allow':0,
!         'filter_content_types':1,
!     }
  
      def getAnswer(self):
--- 57,67 ----
  
      schema = BaseContent.schema + schema
!     archetype_name = "QTIAnswer"
!     
!     # FTI start        
!     portal_type          = meta_type = "eduplone QTI Answer"
!     global_allow         = 0
!     filter_content_types = 1
!     # FTI end
  
      def getAnswer(self):

Index: EduploneQTIQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTypes/types/EduploneQTIQuestion.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** EduploneQTIQuestion.py	16 Jun 2004 12:17:05 -0000	1.3
--- EduploneQTIQuestion.py	6 Aug 2004 12:48:05 -0000	1.4
***************
*** 59,66 ****
      schema                = BaseFolder.schema + schema
      portal_type           = meta_type = "eduplone QTI Question"
!     archetype_name        = "Question"
      
      # FTI start
!     allowed_content_types = ('EduploneQTIAnswer',)
      content_icon          = 'canvasqti_icon.gif'
      global_allow          = 0
--- 59,66 ----
      schema                = BaseFolder.schema + schema
      portal_type           = meta_type = "eduplone QTI Question"
!     archetype_name        = "QTIQuestion"
      
      # FTI start
!     allowed_content_types = ('Eduplone QTI Answer',)
      content_icon          = 'canvasqti_icon.gif'
      global_allow          = 0



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.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.