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