Rev 1336 | Rev 1664 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1336 | Rev 1361 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | 35 | ||
36 | !if $wims_user!=$empty and $wims_user!=supervisor |
36 | !if $wims_user!=$empty and $wims_user!=supervisor |
37 | !goto noans |
37 | !goto noans |
38 | !endif |
38 | !endif |
39 | 39 | ||
40 |
|
40 | !if $test_print=1 |
41 | <hr> |
41 | <p><hr> |
42 | <div class="wims_solution"> |
42 | <div class="wims_solution"> |
43 | <center><h3>Soluzione</h3></center |
43 | <center><h3>Soluzione</h3></center> |
44 | !for i=1 to $n |
44 | !for i=1 to $n |
45 | !set t=!linecnt $(ans_$i) |
45 | !set t=!linecnt $(ans_$i) |
46 | !if $t>0 |
46 | !if $t>0 |
47 | <p><b>Risposta all'esercizio $i.</b><ul> |
47 | <p><b>Risposta all'esercizio $i.</b><ul> |
48 | !for k=1 to $t |
48 | !for k=1 to $t |
- | 49 | !set l__=!line $k of $(ans_$i) |
|
- | 50 | !if $l__ != |
|
49 | <li> |
51 | <li value=$k> |
50 | !line $k of $(ans_$i) |
52 | !line $k of $(ans_$i) |
- | 53 | </li> |
|
- | 54 | !reset l__ |
|
- | 55 | !endif |
|
51 | !next k |
56 | !next k |
52 | </ul> |
57 | </ul> |
53 | !endif |
58 | !endif |
54 | !next i |
59 | !next i |
55 | </div> |
60 | </div> |
- | 61 | !endif |
|
56 | 62 | ||
57 | :noans |
63 | :noans |
- | 64 | </div> |
|
58 | !!<div class="wims_noprint"><hr> |
65 | !!<div class="wims_noprint"><hr> |
59 | !!!href cmd=reply&print=yes Un'altra |
66 | !!!href cmd=reply&print=yes Un'altra |
60 | !! |
67 | !! |
61 | !!!href module=$module&cmd=intro Torna alla versione interattiva |
68 | !!!href module=$module&cmd=intro Torna alla versione interattiva |
62 | !!</div> |
69 | !!</div> |
63 | !!</body></html> |
- | |
64 | !set wims_menu_items=!append line renew,1,cmd=reply&print=yes\ |
70 | !set wims_menu_items=!append line renew,1,cmd=reply&print=yes\ |
65 | back2,1,module=$module&cmd=intro\ |
71 | back2,1,module=$module&cmd=intro\ |
66 | to $wims_menu_items |
72 | to $wims_menu_items |
67 | !tail |
73 | !tail |
68 | 74 | !tail |