Subversion Repositories wimsdev

Rev

Rev 6607 | Rev 12294 | 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 id="a_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.     and ($wims_user iswordof supervisor or $wims_user=$empty)
  36.    !set credits=!replace internal < by &lt; in $credits
  37.     <div class="wims_credits">$credits</div>
  38.   !endif
  39.  !endif
  40. !endif
  41.  
  42. !if $plot_fn!=$empty
  43.  <p style="text-align:center" class="oef_plot_fn">
  44.  !insplot $plot_fn notitle
  45.  </p>
  46. !endif
  47. <!-- end of "oefstatement" -->
  48. </div>
  49. <br class="clearall" />
  50.  
  51. <!-- End Present.phtml-->
  52.