Rev 12355 | Rev 15026 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !nocache |
12355 | obado | 2 | <!-- Begin present.phtml--> |
4780 | obado | 3 | <div class="oefform" id="oefform"> |
20 | reyssat | 4 | !if $status=waiting and $cmd!=hint and $hasembedding=yes |
12349 | bpr | 5 | !form reply name="replyform" onsubmit="return formcheck();" autocomplete="off" id="a_oefform" |
6 | !set q_form=yes |
||
20 | reyssat | 7 | !else |
12349 | bpr | 8 | !set m_status=end |
20 | reyssat | 9 | !endif |
10 | |||
4780 | obado | 11 | <div class="oefstatement"> |
20 | reyssat | 12 | !if $format=tex |
4780 | obado | 13 | <div class="oef_tex_format" style="text-align:center"> |
12349 | bpr | 14 | !if $question_url=$empty or $cmd=resume |
15 | !set quest_=!replace $ 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 |
||
12294 | bpr | 21 | <img src="$question_url" alt="question" /> |
12349 | bpr | 22 | !endif |
4780 | obado | 23 | </div> |
20 | reyssat | 24 | !endif |
25 | |||
26 | !if $format=html or $format= |
||
7680 | bpr | 27 | |
12349 | bpr | 28 | !if $executed_str!=$question or $oef2wims_version<3.10 |
29 | $question |
||
30 | !else |
||
31 | !read $deffile question |
||
4810 | bpr | 32 | |
12349 | bpr | 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 < in $credits |
||
14996 | bpr | 36 | !!!if .png isin $credits |
37 | !! !set logo_img=!nospace $credits |
||
38 | !! !set credits=<img src="$module_dir/images/$logo_img" alt="logo" /> |
||
39 | !!!endif |
||
12355 | obado | 40 | <div class="wims_credits"><cite>$credits</cite></div> |
12349 | bpr | 41 | !endif |
4810 | bpr | 42 | !endif |
20 | reyssat | 43 | !endif |
44 | |||
45 | !if $plot_fn!=$empty |
||
12349 | bpr | 46 | <p style="text-align:center" class="oef_plot_fn"> |
47 | !insplot $plot_fn notitle |
||
4780 | obado | 48 | </p> |
20 | reyssat | 49 | !endif |
4780 | obado | 50 | <!-- end of "oefstatement" --> |
51 | </div> |
||
6607 | bpr | 52 | <br class="clearall" /> |
53 | |||
1362 | obado | 54 | <!-- End Present.phtml--> |