Rev 12476 | Rev 14374 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12476 | Rev 12654 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | 13 | ||
14 | !header |
14 | !header |
15 | 15 | ||
16 | !if $error!=$empty |
16 | !if $error!=$empty |
17 | <div class="wims_msg alert"> |
17 | <div class="wims_msg alert"> |
18 | !read lang/msg.phtml.$modu_lang |
18 | !read lang/msg.phtml.$modu_lang |
19 | </div> |
19 | </div> |
20 | !tail |
20 | !tail |
21 | !exit |
21 | !exit |
22 | !endif |
22 | !endif |
23 | 23 | ||
Line 46... | Line 46... | ||
46 | !else |
46 | !else |
47 | !let duration=$empty |
47 | !let duration=$empty |
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_sheet_desc">$sheet_desc</div> |
53 | <div class="wims_sheet_desc">$sheet_desc</div> |
- | 54 | <div class="wims_credits">$(intro[8;])</div> |
|
54 | 55 | ||
55 | !if $n=0 |
56 | !if $n=0 |
56 | $name_sheetempty |
57 | $name_sheetempty |
57 | !else |
58 | !else |
58 | <div class="wims_sheet"> |
59 | <div class="wims_sheet"> |
- | 60 | <div class="wims_title_seq">$wims_name_Exercices</div> |
|
59 | < |
61 | <ol class="wims_sheet_list"> |
60 | !for i=1 to $n |
62 | !for i=1 to $n |
61 | !set ex=!record $i of $data |
63 | !set ex=!record $i of $data |
62 | !distribute lines $ex into di,pa,require,we,ti,de |
64 | !distribute lines $ex into di,pa,require,we,ti,de |
63 | !set got=!word $i of $scores |
65 | !set got=!word $i of $scores |
64 | !set mean=!word $i of $means |
66 | !set mean=!word $i of $means |
65 | !if .___ isin $(ti)___ |
67 | !if .___ isin $(ti)___ |
66 | !set ti=!replace internal .___ by in $(ti)___ |
68 | !set ti=!replace internal .___ by in $(ti)___ |
67 | !endif |
69 | !endif |
68 | < |
70 | <li class="wims_exo_item"> |
69 | !href module=$di&cmd=new&worksheet=$public$shn&$pa $ti |
71 | !href module=$di&cmd=new&worksheet=$public$shn&$pa $ti |
70 | !if $de notsametext $empty |
72 | !if $de notsametext $empty |
71 | , |
73 | , $de |
72 | !else |
74 | !else |
73 | . |
75 | . |
74 | !endif |
76 | !endif |
75 | </li> |
77 | </li> |
76 | !next i |
78 | !next i |
77 | </ |
79 | </ol> |
78 | </div> |
80 | </div> |
79 | !if $wims_user=supervisor |
81 | !if $wims_user=supervisor |
80 | !set wims_menu_items=!append line import,1,cmd=reply&job=import \ |
82 | !set wims_menu_items=!append line import,1,cmd=reply&job=import \ |
81 | sheetsource,1,cmd=reply&job=raw\ |
83 | sheetsource,1,cmd=reply&job=raw\ |
82 | to $wims_menu_items |
84 | to $wims_menu_items |
83 | !endif |
85 | !endif |
84 | !endif |
86 | !endif |
85 | 87 | ||
86 | !set wims_menu_items=!append line printable,1,cmd=reply&job=print\ |
88 | !set wims_menu_items=!append line printable,1,cmd=reply&job=print\ |
87 | to $wims_menu_items |
89 | to $wims_menu_items |
88 | - | ||
89 | <!-- adm/sheet/main.phtml END --> |
90 | <!-- adm/sheet/main.phtml END --> |
90 | 91 | ||
91 | !tail |
92 | !tail |