Rev 14983 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
13443 | obado | 1 | !! Level 3 happens when an exercice file has been submitted |
23 | reyssat | 2 | |
13443 | obado | 3 | <div class="wims_msg success">$name_success.</div> |
2433 | bpr | 4 | !set rr=$[$replycnt+$choicecnt] |
5 | $table_header |
||
14983 | czzmrn | 6 | <caption>$name_techanalysis</caption> |
13443 | obado | 7 | $table_tr<th width="50%" scope="row">$wims_name_title</th><td>$title</td></tr> |
8 | $table_tr<th scope="row">$name_parameter_cnt</th><td>$varcnt</td></tr> |
||
9 | $table_tr<th scope="row">$name_answer_cnt</th><td>$rr</td></tr> |
||
2433 | bpr | 10 | $table_end |
11 | |||
13443 | obado | 12 | !! if exercice has not been saved yet, inform user : |
13 | !if $success!=1 and $regout!=fail |
||
14 | <p>$name_pending_save</p> |
||
15 | !endif |
||
3551 | bpr | 16 | |
13443 | obado | 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 |
||
23 | !href cmd=resume&realtest=yes&retest=again $wims_name_testexo |
||
24 | </div> |
||
25 | </li> |
||
26 | !if $mode!=file |
||
27 | <li class="card cell"> |
||
28 | <div class="card-section"> |
||
29 | !!!!!!!!!!!!! début de modifs JY pour le module confia2qcm !!!!!!!!!!!!! |
||
30 | !if $to_ia_qcm=-1 |
||
31 | !href module=adm/auth/confia2qcm&cmd=new&chexo=2&exo=1&to_ia_qcm=1 $wims_name_backconfia2qcm |
||
32 | !endif |
||
33 | !if $to_ia_qcm=-2 |
||
34 | !href module=adm/auth/createqcm&cmd=new&chexo=2&exo=1&to_ia_qcm=2 $wims_name_backcreateqcm |
||
35 | !endif |
||
36 | !if ($to_ia_qcm!=-2 and $to_ia_qcm!=-1) |
||
13507 | bpr | 37 | !set wims_ref_class=text_icon exomodify |
13443 | obado | 38 | !href cmd=reply&level=2 $wims_name_exomodify |
39 | !endif |
||
40 | !!!!!!!!!!!!! fin de modifs JY pour le module confia2qcm !!!!!!!!!!!!! |
||
41 | </div> |
||
42 | </li> |
||
43 | !else |
||
44 | !set wims_form_method=file |
||
45 | <li class="card cell"> |
||
46 | <div class="card-section"> |
||
47 | !form reply |
||
17230 | bpr | 48 | <input type="hidden" name="level" value="3"> |
13443 | obado | 49 | |
50 | <label for="wims_deposit">$name_modify</label> |
||
17230 | bpr | 51 | <input type="file" name="wims_deposit" id="wims_deposit"> |
52 | <input type="submit" value="$name_sendagain"> |
||
13443 | obado | 53 | !formend |
54 | </div> |
||
55 | </li><li class="card cell"> |
||
56 | <div class="card-section"> |
||
57 | !set wims_ref_class=text_icon back |
||
58 | !href cmd=reply&level=1&mode=raw $name_menuback |
||
59 | </div> |
||
60 | </li> |
||
61 | !endif |
||
62 | |||
63 | !if $wims_user!=$empty |
||
64 | <li class="card cell"> |
||
65 | <div class="card-section"> |
||
14258 | obado | 66 | !set wims_ref_class=text_icon upload |
13443 | obado | 67 | !href cmd=reply&level=6 $name_deposit |
68 | </div> |
||
69 | </li> |
||
70 | !set wims_menu_items=!append line downloadbinary,1,cmd=reply&level=6\ |
||
71 | to $wims_menu_items |
||
72 | !endif |
||
73 | |||
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 |
||
79 | !else |
||
13446 | obado | 80 | !set wims_ref_class=text_icon newversion |
13443 | obado | 81 | !endif |
82 | |||
83 | !href cmd=reply&level=7 $name_developer |
||
84 | !if $existing!=$empty |
||
85 | $name_new |
||
86 | !endif |
||
87 | </div> |
||
88 | </li> |
||
89 | !endif |
||
90 | |||
91 | !if $wims_user!=$empty or $existing!=$empty |
||
92 | !if $success!=1 and $regout!=fail |
||
93 | <li class="card cell"> |
||
94 | <div class="card-section"> |
||
95 | !set wims_ref_class=text_icon save_ex |
||
96 | !if $existing!=$empty |
||
97 | !if ..devel/ notin ..$catmodule |
||
98 | !if $catmodule=$empty |
||
99 | $name_putinclass |
||
100 | !href cmd=reply&level=4 $name_replace |
||
101 | $wims_name_or |
||
102 | !set wims_ref_class=text_icon newversion |
||
103 | !href cmd=reply&level=4&newone=1 $name_new |
||
104 | !set wims_menu_items=!append line replace,1,cmd=reply&level=4\ |
||
1489 | bpr | 105 | newversion,1,cmd=reply&level=4&newone=1\ |
13443 | obado | 106 | to $wims_menu_items |
107 | !else |
||
108 | !href cmd=reply&level=4 $name_putinclass |
||
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> |
||
1491 | bpr | 124 | !endif |
13443 | obado | 125 | !reset success |
126 | !endif |
||
3700 | bpr | 127 | |
13443 | obado | 128 | !if $mode!=file |
129 | <li class="card cell"> |
||
130 | <div class="card-section"> |
||
131 | !set wims_ref_class=text_icon download |
||
132 | !getfile submit.oef $name_savesource |
||
133 | $name_download |
||
134 | </div> |
||
135 | </li> |
||
23 | reyssat | 136 | !endif |
137 | </ul> |
||
138 | |||
13443 | obado | 139 | !! if anonymous user : |
13446 | obado | 140 | !if $wims_user=$empty and $wims_developer=$empty |
13443 | obado | 141 | <p>$name_better_in_a_class</p> |
142 | !endif |
||
143 | |||
1260 | bpr | 144 | !if $to_ia_qcm=-1 |
13443 | obado | 145 | !set wims_menu_items=!append line backconfia2qcm,1,module=adm/auth/confia2qcm&cmd=new&chexo=2&exo=1&to_ia_qcm=1\ |
146 | to $wims_menu_items |
||
147 | !endif |
||
23 | reyssat | 148 | |
13443 | obado | 149 | !if $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\ |
||
151 | to $wims_menu_items |
||
1260 | bpr | 152 | !endif |
153 | |||
13443 | obado | 154 | !if ($to_ia_qcm!=-2 and $to_ia_qcm!=-1) |
155 | !set wims_menu_items=!append line exomodify,1,cmd=reply&level=2\ |
||
156 | to $wims_menu_items |
||
157 | !endif |
||
158 | |||
159 | !! what was this for exactly ?? |
||
160 | !!if $wims_version_theme=0 or $wims_version_theme= |
||
161 | !! !reset wims_menu_items |
||
162 | !!!endif |