Subversion Repositories wimsdev

Rev

Rev 11369 | Rev 12355 | 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.  !form reply name="replyform" onsubmit="return formcheck();" autocomplete="off" id="a_oefform"
  6.  !set q_form=yes
  7. !else
  8.  !set m_status=end
  9. !endif
  10.  
  11. <div class="oefstatement">
  12. !if $format=tex
  13.  <div class="oef_tex_format" style="text-align:center">
  14.  !if $question_url=$empty or $cmd=resume
  15.   !set quest_=!replace &#36; by $$$$ in $question
  16.  !set wims_texsize=1
  17.   !instex \narrower\narrower {\bf $name_exo} $quest_
  18.   !set wims_texsize=0
  19.   !set question_url=$ins_url
  20.  !else
  21.   <img src="$question_url" alt="question" />
  22.  !endif
  23.  </div>
  24. !endif
  25.  
  26. !if $format=html or $format=
  27.  
  28.  !if $executed_str!=$question or $oef2wims_version<3.10
  29.   $question
  30.  !else
  31.   !read $deffile question
  32.  
  33.   !if $credits!=$empty and .. notin $credits and \ notin $credits \
  34.     and ($wims_user iswordof supervisor or $wims_user=$empty)
  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. <br class="clearall" />
  49.  
  50. <!-- End Present.phtml-->
  51.