Rev 10179 | Rev 13446 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10179 | Rev 13443 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | !! Level 3 happens when an exercice file has been submitted |
|
1 | 2 | ||
2 | $name_success |
3 | <div class="wims_msg success">$name_success.</div> |
3 | !set rr=$[$replycnt+$choicecnt] |
4 | !set rr=$[$replycnt+$choicecnt] |
4 | $table_header |
5 | $table_header |
- | 6 | <caption>Analyse technique</caption> |
|
5 | $table_tr< |
7 | $table_tr<th width="50%" scope="row">$wims_name_title</th><td>$title</td></tr> |
6 | $table_tr< |
8 | $table_tr<th scope="row">$name_parameter_cnt</th><td>$varcnt</td></tr> |
7 | $table_tr< |
9 | $table_tr<th scope="row">$name_answer_cnt</th><td>$rr</td></tr> |
8 | $table_end |
10 | $table_end |
9 | 11 | ||
- | 12 | !! if exercice has not been saved yet, inform user : |
|
- | 13 | !if $success!=1 and $regout!=fail |
|
- | 14 | <p>$name_pending_save</p> |
|
10 |
|
15 | !endif |
- | 16 | ||
- | 17 | !read menu_items.proc |
|
- | 18 | ||
- | 19 | <ul class="flex_box grid-x small-up-1 medium-up-3 large-up-4"> |
|
- | 20 | <li class="card cell"> |
|
- | 21 | <div class="card-section"> |
|
- | 22 | !set wims_ref_class=text_icon testexo |
|
11 | !href cmd=resume&realtest=yes&retest=again $wims_name_testexo |
23 | !href cmd=resume&realtest=yes&retest=again $wims_name_testexo |
12 |
|
24 | </div> |
13 | </li> |
25 | </li> |
14 | !if $mode!=file |
26 | !if $mode!=file |
15 | <li> |
27 | <li class="card cell"> |
- | 28 | <div class="card-section"> |
|
16 | !!!!!!!!!!!!! début de modifs JY pour le module confia2qcm !!!!!!!!!!!!! |
29 | !!!!!!!!!!!!! début de modifs JY pour le module confia2qcm !!!!!!!!!!!!! |
17 | !if $to_ia_qcm=-1 |
30 | !if $to_ia_qcm=-1 |
18 | !href module=adm/auth/confia2qcm&cmd=new&chexo=2&exo=1&to_ia_qcm=1 $wims_name_backconfia2qcm |
31 | !href module=adm/auth/confia2qcm&cmd=new&chexo=2&exo=1&to_ia_qcm=1 $wims_name_backconfia2qcm |
19 | !endif |
32 | !endif |
20 | !if $to_ia_qcm=-2 |
33 | !if $to_ia_qcm=-2 |
21 | !href module=adm/auth/createqcm&cmd=new&chexo=2&exo=1&to_ia_qcm=2 $wims_name_backcreateqcm |
34 | !href module=adm/auth/createqcm&cmd=new&chexo=2&exo=1&to_ia_qcm=2 $wims_name_backcreateqcm |
22 | !endif |
35 | !endif |
23 | !if ($to_ia_qcm!=-2 and $to_ia_qcm!=-1) |
36 | !if ($to_ia_qcm!=-2 and $to_ia_qcm!=-1) |
- | 37 | !set wims_ref_class=text_icon modify |
|
24 | !href cmd=reply&level=2 $wims_name_exomodify |
38 | !href cmd=reply&level=2 $wims_name_exomodify |
25 | !endif |
39 | !endif |
26 | !!!!!!!!!!!!! fin de modifs JY pour le module confia2qcm !!!!!!!!!!!!! |
40 | !!!!!!!!!!!!! fin de modifs JY pour le module confia2qcm !!!!!!!!!!!!! |
27 |
|
41 | </div> |
28 | </li> |
42 | </li> |
29 | !else |
43 | !else |
30 | !set wims_form_method=file |
44 | !set wims_form_method=file |
31 | <li> |
45 | <li class="card cell"> |
- | 46 | <div class="card-section"> |
|
32 | !form reply |
47 | !form reply |
33 | <input type="hidden" name="level" value="3" /> |
48 | <input type="hidden" name="level" value="3" /> |
34 | 49 | ||
35 | <label for="wims_deposit">$name_modify</label> |
50 | <label for="wims_deposit">$name_modify</label> |
36 | <input type="file" name="wims_deposit" id="wims_deposit" /> |
51 | <input type="file" name="wims_deposit" id="wims_deposit" /> |
37 | <input type="submit" value="$name_sendagain" /> |
52 | <input type="submit" value="$name_sendagain" /> |
38 | !formend |
53 | !formend |
39 | </ |
54 | </div> |
- | 55 | </li><li class="card cell"> |
|
- | 56 | <div class="card-section"> |
|
- | 57 | !set wims_ref_class=text_icon back |
|
40 | !href cmd=reply&level=1&mode=raw $name_menuback |
58 | !href cmd=reply&level=1&mode=raw $name_menuback |
41 |
|
59 | </div> |
42 | </li> |
60 | </li> |
43 | !endif |
61 | !endif |
- | 62 | ||
44 | !if $wims_user!=$empty |
63 | !if $wims_user!=$empty |
45 | <li> |
64 | <li class="card cell"> |
- | 65 | <div class="card-section"> |
|
- | 66 | !set wims_ref_class=text_icon upload |
|
46 | !href cmd=reply&level=6 $name_deposit |
67 | !href cmd=reply&level=6 $name_deposit |
- | 68 | </div> |
|
47 | </li> |
69 | </li> |
48 | !set wims_menu_items=!append line downloadbinary,1,cmd=reply&level=6\ |
70 | !set wims_menu_items=!append line downloadbinary,1,cmd=reply&level=6\ |
49 | to $wims_menu_items |
71 | to $wims_menu_items |
50 | !endif |
72 | !endif |
- | 73 | ||
51 | !if $wims_developer!=$empty |
74 | !if $wims_developer!=$empty |
- | 75 | <li class="card cell"> |
|
- | 76 | <div class="card-section"> |
|
- | 77 | !if $existing=$empty |
|
- | 78 | !set wims_ref_class=text_icon save |
|
52 |
|
79 | !else |
- | 80 | !set wims_ref_class=text_icon copy |
|
- | 81 | !endif |
|
- | 82 | ||
53 | !href cmd=reply&level=7 $name_developer |
83 | !href cmd=reply&level=7 $name_developer |
54 | !if $existing!=$empty |
84 | !if $existing!=$empty |
55 | $name_new |
85 | $name_new |
56 | !endif |
86 | !endif |
- | 87 | </div> |
|
57 | </li> |
88 | </li> |
58 | !endif |
89 | !endif |
- | 90 | ||
59 | !if $wims_user!=$empty or $existing!=$empty |
91 | !if $wims_user!=$empty or $existing!=$empty |
60 | !if $success!=1 and $regout!=fail |
92 | !if $success!=1 and $regout!=fail |
61 | <li> |
93 | <li class="card cell"> |
- | 94 | <div class="card-section"> |
|
- | 95 | !set wims_ref_class=text_icon save_ex |
|
62 | !if $existing!=$empty |
96 | !if $existing!=$empty |
63 | !if ..devel/ notin ..$catmodule |
97 | !if ..devel/ notin ..$catmodule |
64 | !if $catmodule=$empty |
98 | !if $catmodule=$empty |
65 | $name_putinclass |
99 | $name_putinclass |
66 | !href cmd=reply&level=4 $name_replace |
100 | !href cmd=reply&level=4 $name_replace |
67 | $wims_name_or |
101 | $wims_name_or |
- | 102 | !set wims_ref_class=text_icon newversion |
|
68 | !href cmd=reply&level=4&newone=1 $name_new |
103 | !href cmd=reply&level=4&newone=1 $name_new |
69 | !set wims_menu_items=!append line replace,1,cmd=reply&level=4\ |
104 | !set wims_menu_items=!append line replace,1,cmd=reply&level=4\ |
70 | newversion,1,cmd=reply&level=4&newone=1\ |
105 | newversion,1,cmd=reply&level=4&newone=1\ |
71 |
|
106 | to $wims_menu_items |
72 | !else |
107 | !else |
73 | !href cmd=reply&level=4 $name_putinclass |
108 | !href cmd=reply&level=4 $name_putinclass |
74 | !reset catmodule |
109 | !reset catmodule |
- | 110 | !endif |
|
- | 111 | !else |
|
- | 112 | !href cmd=reply&level=4 $name_developer |
|
- | 113 | $name_replace (<span class="tt wims_fname">$catmodule/src/$existing.oef</span>) |
|
- | 114 | !set wims_menu_items=!append line putmodtool,1,cmd=reply&level=4\ |
|
- | 115 | to $wims_menu_items |
|
- | 116 | !endif |
|
- | 117 | !else |
|
- | 118 | !href cmd=reply&level=4 $name_putinclass |
|
- | 119 | !set wims_menu_items=!append line putclass,1,cmd=reply&level=4\ |
|
- | 120 | to $wims_menu_items |
|
- | 121 | !endif |
|
- | 122 | </div> |
|
- | 123 | </li> |
|
75 | !endif |
124 | !endif |
76 | ! |
125 | !reset success |
77 |
|
126 | !endif |
78 | 127 | ||
- | 128 | !if $mode!=file |
|
- | 129 | <li class="card cell"> |
|
- | 130 | <div class="card-section"> |
|
79 |
|
131 | !set wims_ref_class=text_icon download |
80 |
|
132 | !getfile submit.oef $name_savesource |
81 |
|
133 | $name_download |
82 |
|
134 | </div> |
83 |
|
135 | </li> |
84 | !href cmd=reply&level=4 $name_putinclass |
- | |
85 | !set wims_menu_items=!append line putclass,1,cmd=reply&level=4\ |
- | |
86 | to $wims_menu_items |
- | |
87 | !endif |
136 | !endif |
88 | . |
- | |
89 | !endif |
- | |
90 | !reset success |
- | |
91 | !endif |
- | |
92 | !if $mode!=file |
- | |
93 | <li> |
- | |
94 | !getfile submit.oef $name_savesource |
- | |
95 | $name_download |
- | |
96 | </li> |
- | |
97 | !endif |
- | |
98 | </ul> |
137 | </ul> |
- | 138 | ||
99 |
|
139 | !! if anonymous user : |
100 |
|
140 | !if $wims_user=$empty |
- | 141 | <p>$name_better_in_a_class</p> |
|
- | 142 | !endif |
|
101 | 143 | ||
102 | !if $to_ia_qcm=-1 |
144 | !if $to_ia_qcm=-1 |
103 | !set wims_menu_items=!append line backconfia2qcm,1,module=adm/auth/confia2qcm&cmd=new&chexo=2&exo=1&to_ia_qcm=1\ |
145 | !set wims_menu_items=!append line backconfia2qcm,1,module=adm/auth/confia2qcm&cmd=new&chexo=2&exo=1&to_ia_qcm=1\ |
104 | to $wims_menu_items |
146 | to $wims_menu_items |
105 |
|
147 | !endif |
- | 148 | ||
106 |
|
149 | !if $to_ia_qcm=-2 |
107 | !set wims_menu_items=!append line backcreateqcm,1,module=adm/auth/createqcm&cmd=new&chexo=2&exo=1&to_ia_qcm=2\ |
150 | !set wims_menu_items=!append line backcreateqcm,1,module=adm/auth/createqcm&cmd=new&chexo=2&exo=1&to_ia_qcm=2\ |
108 | to $wims_menu_items |
- | |
109 | !endif |
- | |
110 | !if ($to_ia_qcm!=-2 and $to_ia_qcm!=-1) |
- | |
111 | !set wims_menu_items=!append line exomodify,1,cmd=reply&level=2\ |
- | |
112 | to $wims_menu_items |
151 | to $wims_menu_items |
113 |
|
152 | !endif |
114 | !set wims_menu_items=!append line testexo,1,cmd=resume&realtest=yes&retest=again\ |
- | |
115 | to $wims_menu_items |
- | |
116 | 153 | ||
117 | !if |
154 | !if ($to_ia_qcm!=-2 and $to_ia_qcm!=-1) |
- | 155 | !set wims_menu_items=!append line exomodify,1,cmd=reply&level=2\ |
|
118 |
|
156 | to $wims_menu_items |
119 | !endif |
157 | !endif |
120 | 158 | ||
- | 159 | !! what was this for exactly ?? |
|
- | 160 | !!if $wims_version_theme=0 or $wims_version_theme= |
|
- | 161 | !! !reset wims_menu_items |
|
- | 162 | !!!endif |