Subversion Repositories wimsdev

Rev

Rev 1158 | Rev 3183 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! no need for translation
  2. !!<select name="questiontype">                                                                                
  3. !!<option value=0>Freestyle answers</option>                                                                  
  4. !!<option value=1>Multiplechoice</option>                                                                      
  5. !!<option value=2>Drag & Drop</option>                                                                        
  6. !!<option value=3>Hotspot</option>                                                                            
  7. !!<option value=4>GeoGebra</option>                                                                            
  8. !!<option value=5>GeoGebra+image</option>                                                                      
  9. !!<option value=6>Roll your own(some howto info included)                                                      
  10. !!</option  
  11. !set n=$counter
  12. !! don't like to type counter over and over again...
  13. !! myheader has commonstyle for my...
  14. !read $phtmldir/myheader.phtml
  15.  
  16. !if $questiontype=0
  17.    !read $phtmldir/myfreestyle.phtml
  18. !exit
  19. !endif    
  20.  
  21. !if $questiontype=1
  22.    !form reply
  23.         !read $phtmldir/mymultiplechoice.phtml
  24.    </form>
  25. !exit
  26. !endif
  27.  
  28. !if $questiontype=2
  29.    !form reply
  30.         !read $phtmldir/mydragdrop.phtml
  31.    </form>
  32. !exit
  33. !endif
  34.  
  35. !if $questiontype=3
  36.    !form reply
  37.         !read $phtmldir/myhotspot.phtml
  38.    </form>
  39. !exit
  40. !endif
  41.  
  42. !if $questiontype=4
  43.    !read $phtmldir/mygeogebra.phtml
  44. !exit
  45. !endif
  46.  
  47. !if $questiontype=5
  48.    !read $phtmldir/myzirkel.phtml
  49. !exit
  50. !endif
  51.  
  52. !if $questiontype=7
  53.    !read $phtmldir/myjavascript.phtml
  54. !exit
  55. !endif    
  56.  
  57. !! emergency
  58. !if $questiontype notin 012347
  59.    !read $phtmldir/myfreestyle.phtml
  60. !exit
  61. !endif