EduploneExam/skins/EduploneExam exam_matching.pt,1.11,1.11.2.1 exam_multiplechoice.pt,1.15,1.15.2.1 exam_questionHeader.pt,1.7.2.1,1.7.2.2 exam_singlechoice.pt,1.13,1.13.2.1 exam_truefalse.pt,1.13,1.13.2.1

Nils Haagen <[email protected]> Mon, 03 Oct 2005 10:01:52 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam/skins/EduploneExam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22190

Modified Files:
      Tag: exam-1_1
	exam_matching.pt exam_multiplechoice.pt exam_questionHeader.pt 
	exam_singlechoice.pt exam_truefalse.pt 
Log Message:
fixes AT1.3.4-ImageField troubles...

Index: exam_matching.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/exam_matching.pt,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -C2 -d -r1.11 -r1.11.2.1
*** exam_matching.pt	11 Sep 2005 16:22:43 -0000	1.11
--- exam_matching.pt	3 Oct 2005 10:01:49 -0000	1.11.2.1
***************
*** 15,21 ****
                  <tr tal:condition="answer/challenge">
                      <td>
!                         <span tal:condition="python:answer.getPicture().getSize() > 0"
!                               tal:content="structure python:answer.getPicture()" />
!               
                          <span tal:content="python: answer.getChallenge()" />
                      </td>
--- 15,21 ----
                  <tr tal:condition="answer/challenge">
                      <td>
!                          <span tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                                tal:content="structure python: answer.getPicture()"/>
! 
                          <span tal:content="python: answer.getChallenge()" />
                      </td>
***************
*** 67,72 ****
              <tal:condition tal:condition="answer/challenge">
                  <td>
!                     <span tal:condition="python:answer.getPicture().getSize() > 0"
!                           tal:content="structure python:answer.getPicture()" />
  
                      <span tal:content="python: answer.getChallenge()" />
--- 67,74 ----
              <tal:condition tal:condition="answer/challenge">
                  <td>
! 
!                     <span tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                           tal:content="structure python: answer.getPicture()"/>
! 
  
                      <span tal:content="python: answer.getChallenge()" />

Index: exam_questionHeader.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/exam_questionHeader.pt,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -C2 -d -r1.7.2.1 -r1.7.2.2
*** exam_questionHeader.pt	2 Oct 2005 21:21:12 -0000	1.7.2.1
--- exam_questionHeader.pt	3 Oct 2005 10:01:49 -0000	1.7.2.2
***************
*** 17,22 ****
  
          <b tal:content="structure python:currentQuestion.getQuestion()" />
!         <div tal:condition="python:currentQuestion.getPicture()"
!              tal:content="structure python:currentQuestion.getPicture()" />
  
          <br tal:condition="python:currentQuestion.getQuestion() != ''" />
--- 17,24 ----
  
          <b tal:content="structure python:currentQuestion.getQuestion()" />
!         
!         <div tal:condition="python:currentQuestion.getField('picture').get_size(currentQuestion) > 0" 
!                              tal:content="structure python: currentQuestion.getPicture()"/>
!         
  
          <br tal:condition="python:currentQuestion.getQuestion() != ''" />

Index: exam_truefalse.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/exam_truefalse.pt,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -C2 -d -r1.13 -r1.13.2.1
*** exam_truefalse.pt	11 Sep 2005 16:22:43 -0000	1.13
--- exam_truefalse.pt	3 Oct 2005 10:01:49 -0000	1.13.2.1
***************
*** 13,18 ****
  
              <td>
!                 <span tal:condition="python:answer.getPicture()"
!                       tal:content="structure python:answer.getPicture()" />
  
                  <span tal:content="python: answer.getChallenge()" />
--- 13,18 ----
  
              <td>
!                  <span tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                        tal:content="structure python: answer.getPicture()"/>
  
                  <span tal:content="python: answer.getChallenge()" />
***************
*** 66,71 ****
  
              <td>
!                  <span tal:condition="python:answer.getPicture()"
!                        tal:content="structure python:answer.getPicture()" />
  
                   <span tal:content="python: answer.getChallenge()" />
--- 66,72 ----
  
              <td>
!                  <span tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                        tal:content="structure python: answer.getPicture()"/>
! 
  
                   <span tal:content="python: answer.getChallenge()" />

Index: exam_singlechoice.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/exam_singlechoice.pt,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -C2 -d -r1.13 -r1.13.2.1
*** exam_singlechoice.pt	11 Sep 2005 16:22:43 -0000	1.13
--- exam_singlechoice.pt	3 Oct 2005 10:01:49 -0000	1.13.2.1
***************
*** 19,24 ****
                  </td>
                  <td>
!                     <span tal:condition="python: answer.getPicture().getSize() > 0"
!                           tal:content="structure python:answer.getPicture()" />
  
                      <span tal:content="python: answer.getChallenge()" />
--- 19,24 ----
                  </td>
                  <td>
!                     <span tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                           tal:content="structure python: answer.getPicture()"/>
  
                      <span tal:content="python: answer.getChallenge()" />
***************
*** 56,61 ****
  
              <td>
!                 <span tal:condition="python:answer.getPicture().getSize() > 0"
!                        tal:content="structure python:answer.getPicture()" />
  
                   <span tal:content="python: answer.getChallenge()" />
--- 56,62 ----
  
              <td>
! 
!                   <span tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                         tal:content="structure python: answer.getPicture()"/>
  
                   <span tal:content="python: answer.getChallenge()" />

Index: exam_multiplechoice.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/exam_multiplechoice.pt,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -C2 -d -r1.15 -r1.15.2.1
*** exam_multiplechoice.pt	11 Sep 2005 16:22:43 -0000	1.15
--- exam_multiplechoice.pt	3 Oct 2005 10:01:49 -0000	1.15.2.1
***************
*** 20,25 ****
                  </td>
                  <td>
!                     <span tal:condition="python:answer.getPicture().getSize() > 0"
!                           tal:content="structure python:answer.getPicture()" />
  
                      <span tal:content="python: answer.getChallenge()" />
--- 20,25 ----
                  </td>
                  <td>
!                     <span tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                           tal:content="structure python: answer.getPicture()"/>
  
                      <span tal:content="python: answer.getChallenge()" />
***************
*** 64,69 ****
  
              <td>
!                  <span tal:condition="python:answer.getPicture().getSize() > 0"
!                        tal:content="structure python:answer.getPicture()" />
  
                   <span tal:content="python: answer.getChallenge()" />
--- 64,69 ----
  
              <td>
!                  <span tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                        tal:content="structure python: answer.getPicture()"/>
  
                   <span tal:content="python: answer.getChallenge()" />



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl