Subversion Repositories wimsdev

Rev

Rev 15184 | Rev 17106 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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