Subversion Repositories wimsdev

Rev

Rev 14018 | Rev 16082 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14018 Rev 14558
Line 1... Line 1...
1
!nocache
1
!nocache
2
!set wims_html_header=!append line $oefcss to $wims_html_header
2
!set wims_html_header=!append line $oefcss to $wims_html_header
3
!header1
3
!header1
4
!set module_title=!module title_$lang $module
4
!set module_title=!module title_$lang $module
5
!default module_title=!module title $module
5
!default module_title=!module title $module
6
<h3 class="wimscenter">
6
<h1 class="wimscenter">
7
!href module=$module&cmd=intro WIMS
7
!href module=$module&cmd=intro WIMS
8
 $module_title<br />
8
 $module_title<br />
9
<span class="smaller">--- $name_print ---</span></h3>
9
<span class="smaller">--- $name_print ---</span></h1>
10
 
10
 
11
!if $error!=$empty
11
!if $error!=$empty
12
  !changeto oef/msg.phtml
12
  !changeto oef/msg.phtml
13
!endif
13
!endif
14
 
14
 
15
!if ($wims_developer!= or $wims_user=supervisor) and $latex_exists=1
15
!if ($wims_developer!= or $wims_user=supervisor) and $latex_exists=1
16
  <div class="wimscenter">
16
  <div class="wimscenter">
17
  !read oef/latex.proc print
17
  !read oef/latex.proc print
18
  </div>
18
  </div>
19
!endif
19
!endif
-
 
20
<h2 class="wimscenter">$wims_name_Exercices</h2>
20
!for iii=1 to $n
21
!for iii=1 to $n
21
  <h4>
22
  <h3>
22
  !href target=wims_light module=$module&exo=$(name_$iii)&cmd=new <span class="bold">$name_exo</span> $iii.
23
  !href target=wims_light module=$module&exo=$(name_$iii)&cmd=new <span class="bold">$name_exo</span> $iii.
23
  <span id="title_$iii">$(title_$iii)</span>
24
  <span id="title_$iii">$(title_$iii)</span>
24
  </h4>
25
  </h3>
25
  !if $(question_$iii)=$empty
26
  !if $(question_$iii)=$empty
26
    ($name_noprint)
27
    ($name_noprint)
27
  !else
28
  !else
28
    !if __EXECUTED_ isin $(question_$iii) and _EXERCISE__ isin $(question_$iii)
29
    !if __EXECUTED_ isin $(question_$iii) and _EXERCISE__ isin $(question_$iii)
29
      !set thisexo=$(name_$iii)
30
      !set thisexo=$(name_$iii)
Line 81... Line 82...
81
  !goto noans
82
  !goto noans
82
!endif
83
!endif
83
 
84
 
84
!if $test_print=1
85
!if $test_print=1
85
  <div class="wims_solution">
86
  <div class="wims_solution">
86
  <h3 class="wimscenter">$name_answers</h3>
87
  <h2 class="wimscenter">$name_answers</h2>
87
  !for iii=1 to $n
88
  !for iii=1 to $n
88
    !set t=!linecnt $(ans_$iii)
89
    !set t=!linecnt $(ans_$iii)
89
    !if $t>0
90
    !if $t>0
90
      <div id="answer_$iii">
91
      <div id="answer_$iii">
91
      <h4>$name_answer_i $iii.</h4>
92
      <h3>$name_answer_i $iii.</h3>
92
      !if $t>1
93
      !if $t>1
93
        <ol style="list-style-type:square;">
94
        <ol style="list-style-type:square;">
94
      !endif
95
      !endif
95
      !for k=1 to $t
96
      !for k=1 to $t
96
        !if $(Replytype$iii[$k]) iswordof coord clock jsxgraphcurve jsxgraph draw
97
        !if $(Replytype$iii[$k]) iswordof coord clock jsxgraphcurve jsxgraph draw