Subversion Repositories wimsdev

Rev

Rev 7464 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !set n=$counter
  2. <!-- begin myheader.phtml -->
  3. !read $phtmldir/myheader.phtml
  4. <!-- end myheader.phtml -->
  5. !if $mathview=5
  6. <!-- begin mymathinput.phtml mathview=5 questiontype=10 -->
  7.     !read $phtmldir/mymathinput.phtml
  8. <!-- end mymathinput.phtml mathview=5 questiontype=10 -->
  9.  !exit
  10. !endif
  11.  
  12. !if $questiontype=0
  13. <!-- begin myfreestyle.phtml questiontype=0 -->
  14.     !read $phtmldir/myfreestyle.phtml
  15. <!-- end myfreestyle.phtml questiontype=0 -->
  16.  !exit
  17. !endif
  18.  
  19. !if $questiontype=1
  20. <!-- begin mymultiplechoice.phtml questiontype=1 -->
  21.     !read $phtmldir/mymultiplechoice.phtml
  22. <!-- end mymultiplechoice.phtml questiontype=1 -->
  23.  !exit
  24. !endif
  25.  
  26. !if $questiontype=2
  27. <!-- begin mydragdrop.phtml questiontype=2 -->
  28.     !read $phtmldir/mydragdrop.phtml
  29. <!-- end mydragdrop.phtml questiontype=2 -->
  30.  !exit
  31. !endif
  32.  
  33. !if $questiontype=2B
  34. <!-- begin mydragdrop2.phtml questiontype=2B -->
  35.     !read $phtmldir/mydragdrop2.phtml
  36. <!-- end mydragdrop2.phtml questiontype=2B -->
  37.  !exit
  38. !endif
  39.  
  40. !if $questiontype=3
  41. <!-- begin myhotspot.phtml questiontype=3 -->
  42.     !read $phtmldir/myhotspot.phtml
  43. <!-- end myhotspot.phtml questiontype=3 -->
  44.  !exit
  45. !endif
  46.  
  47. !if $questiontype=4
  48. <!-- begin mygeogebra.phtml questiontype=4 -->
  49.     !read $phtmldir/mygeogebra.phtml
  50. <!-- end mygeogebra.phtml questiontype=4 -->
  51.  !exit
  52. !endif
  53.  
  54. !if $questiontype=5
  55. <!-- begin myzirkel.phtml questiontype=5 -->
  56.     !read $phtmldir/myzirkel.phtml
  57. <!-- end myzirkel.phtml questiontype=5 -->
  58.  !exit
  59. !endif
  60.  
  61. !if $questiontype=7
  62. <!-- begin myjavascript.phtml questiontype=7 -->
  63.     !read $phtmldir/myjavascript.phtml
  64. <!-- end myjavascript.phtml questiontype=7 -->
  65.  !exit
  66. !endif
  67.  
  68. !if $questiontype=8
  69. <!-- begin myhotspot2.phtml questiontype=8 -->
  70.     !read $phtmldir/myhotspot2.phtml
  71. <!-- end myhotspot2.phtml questiontype=8 -->
  72.  !exit
  73. !endif
  74.  
  75. !if $questiontype=9
  76. <!-- begin mytexinput.phtml questiontype=9 -->
  77.     !read $phtmldir/mytexinput.phtml
  78. <!-- end mytexinput.phtml questiontype=9 -->
  79.  !exit
  80. !endif
  81.  
  82. !if $questiontype=10
  83. <!-- begin mymathinput.phtml questiontype=10 -->
  84.     !read $phtmldir/mymathinput.phtml
  85. <!-- end mymathinput.phtml questiontype=10 -->
  86.  !exit
  87. !endif
  88.  
  89. !if $questiontype=11
  90. <!-- begin myrooster.phtml questiontype=11 -->
  91.     !read $phtmldir/myrooster.phtml
  92. <!-- end myclicktile.phtml questiontype=11 -->
  93.  !exit
  94. !endif
  95.  
  96. !! emergency
  97. !if $questiontype notin 01234789
  98. <!-- begin questiontype != 012345789 ERROR -->
  99.     !read $phtmldir/myfreestyle.phtml
  100. <!-- begin questiontype != 012345789 ERROR -->
  101.  !exit
  102. !endif
  103.