Subversion Repositories wimsdev

Rev

Rev 338 | Rev 1158 | 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.    <form name="mydefaultform">
  18.         !read $phtmldir/myfreestyle.phtml
  19.    </form>
  20. !exit
  21. !endif    
  22.  
  23. !if $questiontype=1
  24.    !form reply
  25.         !read $phtmldir/mymultiplechoice.phtml
  26.    </form>
  27. !exit
  28. !endif
  29.  
  30. !if $questiontype=2
  31.    !form reply
  32.         !read $phtmldir/mydragdrop.phtml
  33.    </form>
  34. !exit
  35. !endif
  36.  
  37. !if $questiontype=3
  38.    !form reply
  39.         !read $phtmldir/myhotspot.phtml
  40.    </form>
  41. !exit
  42. !endif
  43.  
  44. !if $questiontype=4
  45.    !read $phtmldir/mygeogebra.phtml
  46. !exit
  47. !endif
  48.  
  49. !if $questiontype=7
  50.    !read $phtmldir/myjavascript.phtml
  51. !exit
  52. !endif    
  53.  
  54. !! latest emergency    
  55. !form reply
  56.    !read $phtmldir/myfreestyle.phtml
  57. </form>
  58.