Rev 12654 | Rev 14441 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12654 | Rev 14374 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | !endif |
48 | !endif |
49 | !read adm/title.phtml 3\ |
49 | !read adm/title.phtml 3\ |
50 | $sheet_title\ |
50 | $sheet_title\ |
51 | $name_level : $(name_wims_level_$(intro[5;])) $duration - $year\ |
51 | $name_level : $(name_wims_level_$(intro[5;])) $duration - $year\ |
52 | 52 | ||
- | 53 | <div class="wims_content"> |
|
53 | <div class="wims_sheet_desc">$sheet_desc</div> |
54 | <div class="wims_sheet_desc">$sheet_desc</div> |
54 | <div class="wims_credits">$(intro[8;])</div> |
55 | <div class="wims_credits">$(intro[8;])</div> |
55 | 56 | ||
56 | !if $n=0 |
57 | !if $n=0 |
57 | $name_sheetempty |
58 | $name_sheetempty |
58 | !else |
59 | !else |
59 | <div class="wims_sheet"> |
60 | <div class="wims_sheet"> |
60 | <div class="wims_title_seq">$wims_name_Exercices</div> |
61 | <div class="wims_title_seq">$wims_name_Exercices</div> |
61 | <ol class="wims_sheet_list"> |
62 | <ol class="wims_sheet_list"> |
62 | !for i=1 to $n |
63 | !for i=1 to $n |
63 | !set ex=!record $i of $data |
64 | !set ex=!record $i of $data |
64 | !distribute lines $ex into di,pa,require,we,ti,de |
65 | !distribute lines $ex into di,pa,require,we,ti,de |
65 | !set got=!word $i of $scores |
66 | !set got=!word $i of $scores |
66 | !set mean=!word $i of $means |
67 | !set mean=!word $i of $means |
67 | !if .___ isin $(ti)___ |
68 | !if .___ isin $(ti)___ |
68 | !set ti=!replace internal .___ by in $(ti)___ |
69 | !set ti=!replace internal .___ by in $(ti)___ |
69 | !endif |
70 | !endif |
70 | <li class="wims_exo_item"> |
71 | <li class="wims_exo_item"> |
71 | !href module=$di&cmd=new&worksheet=$public$shn&$pa $ti |
72 | !href module=$di&cmd=new&worksheet=$public$shn&$pa $ti |
72 | !if $de notsametext $empty |
73 | !if $de notsametext $empty |
73 | , $de |
74 | , $de |
74 | !else |
75 | !else |
75 | . |
76 | . |
76 | !endif |
77 | !endif |
77 | </li> |
78 | </li> |
78 | !next i |
79 | !next i |
79 | </ol> |
80 | </ol> |
80 | </div> |
81 | </div> |
81 | !if $wims_user=supervisor |
82 | !if $wims_user=supervisor |
82 | !set wims_menu_items=!append line import,1,cmd=reply&job=import \ |
83 | !set wims_menu_items=!append line import,1,cmd=reply&job=import \ |
83 | sheetsource,1,cmd=reply&job=raw\ |
84 | sheetsource,1,cmd=reply&job=raw\ |
84 | to $wims_menu_items |
85 | to $wims_menu_items |
- | 86 | !endif |
|
85 | !endif |
87 | !endif |
86 |
|
88 | </div> |
87 | 89 | ||
88 | !set wims_menu_items=!append line printable,1,cmd=reply&job=print\ |
90 | !set wims_menu_items=!append line printable,1,cmd=reply&job=print\ |
89 | to $wims_menu_items |
91 | to $wims_menu_items |
90 | <!-- adm/sheet/main.phtml END --> |
92 | <!-- adm/sheet/main.phtml END --> |
91 | 93 |