Subversion Repositories wimsdev

Rev

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

  1. !nocache
  2. <!-- Begin Present.phtml-->
  3.  <div class="oefform" id="oefform">
  4. !if $status=waiting and $cmd!=hint and $hasembedding=yes
  5.  <a name="oefform" > </a>
  6.  !form reply name="replyform" onsubmit="return formcheck();"
  7.  !set q_form=yes
  8. !else
  9.  !set m_status=end
  10. !endif
  11.  
  12. <div class="oefstatement">
  13. !if $format=tex
  14.  <div class="oef_tex_format" style="text-align:center">
  15.  !if $question_url=$empty or $cmd=resume
  16.   !set quest_=!replace &#36; by $$$$ in $question
  17.  !set wims_texsize=1
  18.   !instex \narrower\narrower {\bf $name_exo} $quest_
  19.   !set wims_texsize=0
  20.   !set question_url=$ins_url
  21.  !else
  22.   <img src="$question_url" alt="question"/>
  23.  !endif
  24.  </div>
  25. !endif
  26.  
  27. !if $format=html or $format=
  28.  
  29.  !if $executed_str!=$question or $oef2wims_version<3.10
  30.   $question
  31.  !else
  32.   !read $deffile question
  33.  
  34.   !if $credits!=$empty and .. notin $credits and \ notin $credits
  35.    !set credits=!replace internal < by &lt; in $credits
  36.     <div class="wims_credits">$credits</div>
  37.   !endif
  38.  !endif
  39. !endif
  40.  
  41. !if $plot_fn!=$empty
  42.  <p style="text-align:center" class="oef_plot_fn">
  43.  !insplot $plot_fn notitle
  44.  </p>
  45. !endif
  46. <!-- end of "oefstatement" -->
  47. </div>
  48. <!-- End Present.phtml-->
  49.