Subversion Repositories wimsdev

Rev

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

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