Subversion Repositories wimsdev

Rev

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

  1. !nocache
  2.  
  3. !! get the "presentgood" var to know if good answers must be displayed.
  4. !read oef/testseedscore.phtml
  5. !readproc oef/get_presentgood.proc
  6.  
  7. <!-- Begin oef/present.phtml -->
  8. !if $status=waiting and $cmd!=hint and $hasembedding=yes
  9.   <datalist id="emptylist"><option value="??"></datalist>
  10.   !form reply name="replyform" onsubmit="return formcheck();" id="a_oefform" autocomplete="off" spellcheck="false"
  11.   !set q_form=yes
  12. !else
  13.   !set m_status=end
  14. !endif
  15.  
  16. <div class="oefstatement">
  17.   !if $format=tex
  18.     <div class="oef_tex_format" style="text-align:center">
  19.       !if $question_url=$empty or $cmd=resume
  20.         !set quest_=!replace &#36; by $$$$ in $question
  21.        !set wims_texsize=1
  22.         !instex \narrower\narrower {\bf $name_exo} $quest_
  23.         !set wims_texsize=0
  24.         !set question_url=$ins_url
  25.       !else
  26.         <img src="$question_url" alt="question">
  27.       !endif
  28.     </div>
  29.   !endif
  30.  
  31.   !if $format=html or $format=
  32.  
  33.     !if $executed_str!=$question or $oef2wims_version<3.10
  34.       $question
  35.     !else
  36.       !if $q_form!=yes
  37.         !set wims_parm_detag=label
  38.       !endif
  39.       !read $deffile question
  40.       !reset wims_parm_detag
  41.       !if $credits!=$empty and .. notin $credits and \ notin $credits \
  42.           and ($wims_user iswordof supervisor or $wims_user=$empty)
  43.         !set credits=!replace internal < by &lt; in $credits
  44.         !!!if .png isin $credits
  45.         !!  !set logo_img=!nospace $credits
  46.         !!  !set credits=<img src="$module_dir/images/$logo_img" alt="logo">
  47.         !!!endif
  48.         <div class="wims_credits"><cite>$credits</cite></div>
  49.       !endif
  50.     !endif
  51.   !endif
  52.  
  53.   !if $plot_fn!=$empty
  54.     <p style="text-align:center" class="oef_plot_fn">
  55.       !insplot $plot_fn notitle
  56.     </p>
  57.   !endif
  58.   <br class="clearall">
  59. </div>
  60.  
  61. <!-- End oef/present.phtml -->
  62.