Rev 5879 | Rev 6077 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5879 | Rev 5926 | ||
---|---|---|---|
1 | 1 | ||
2 | !if $error!=$empty |
2 | !if $error!=$empty |
3 | !exit |
3 | !exit |
4 | !endif |
4 | !endif |
5 | 5 | ||
6 | !if $no_selection!=$empty |
6 | !if $no_selection!=$empty |
7 | <b>$wims_name_warning</b>. $name_noselect |
7 | <b>$wims_name_warning</b>. $name_noselect |
8 | <p> |
8 | <p> |
9 | !endif |
9 | !endif |
10 | 10 | ||
11 | !if $serial!=$wims_class and $old_testcnt>0 |
11 | !if $serial!=$wims_class and $old_testcnt>0 |
12 | !set test=bad |
12 | !set test=bad |
13 | !endif |
13 | !endif |
14 | !if $test=bad |
14 | !if $test=bad |
15 | <span class="wims_warning">$wims_name_warning!</span> |
15 | <span class="wims_warning">$wims_name_warning!</span> |
16 | 16 | ||
17 | !read lang/names.phtml.$moduclass_lang arch |
17 | !read lang/names.phtml.$moduclass_lang arch |
18 | 18 | ||
19 | <hr/> |
19 | <hr/> |
20 | !endif |
20 | !endif |
21 | 21 | ||
22 | !form reply |
22 | !form reply |
23 | <input type="hidden" name="job" value="$job"/> |
23 | <input type="hidden" name="job" value="$job"/> |
24 | <input type="hidden" name="job2" value="restore"/> |
24 | <input type="hidden" name="job2" value="restore"/> |
25 | $name_deposit |
25 | $name_deposit |
26 | <ul> |
26 | <ul> |
27 | <li> |
27 | <li> |
28 | <input type="checkbox" name="selection" value="all"/> |
28 | <input type="checkbox" name="selection" value="all"/> |
29 | $name_all |
29 | $name_all |
30 | </li> |
30 | </li> |
31 | !if def isitemof $gotlist |
31 | !if def isitemof $gotlist |
32 | <li> |
32 | <li> |
33 | <input type="checkbox" name="selection" value="def"/> |
33 | <input type="checkbox" name="selection" value="def"/> |
34 | $name_config. |
34 | $name_config. |
35 | $name_danger. |
35 | $name_danger. |
36 | </li> |
36 | </li> |
37 | !endif |
37 | !endif |
38 | !if sup isitemof $gotlist |
38 | !if sup isitemof $gotlist |
39 | <li> |
39 | <li> |
40 | !if $sharing_sup=$empty |
40 | !if $sharing_sup=$empty |
41 | <input type="checkbox" name="selection" value="sup"/> |
41 | <input type="checkbox" name="selection" value="sup"/> |
42 | !endif |
42 | !endif |
43 | $name_teacher. |
43 | $name_teacher. |
44 | !if $sharing_sup!=$empty |
44 | !if $sharing_sup!=$empty |
45 | $name_no_restore |
45 | $name_no_restore |
46 | !else |
46 | !else |
47 | $name_danger. |
47 | $name_danger. |
48 | !endif |
48 | !endif |
49 | </li> |
49 | </li> |
50 | !endif |
50 | !endif |
51 | !let list=!listintersect user,doc,exo,sheet,exam,forum and $gotlist |
51 | !let list=!listintersect user,doc,exo,sheet,exam,forum and $gotlist |
52 | !for type in $list |
52 | !for type in $list |
53 | <li> |
53 | <li> |
54 | !if $(sharing_$type)=$empty |
54 | !if $(sharing_$type)=$empty |
55 | <input type="checkbox" name="selection" value="$type"/> |
55 | <input type="checkbox" name="selection" value="$type"/> |
56 | !endif |
56 | !endif |
57 | $(new_$(type)cnt) $(name_$type). |
57 | $(new_$(type)cnt) $(name_$type). |
58 | !if $(sharing_$type)!=$empty |
58 | !if $(sharing_$type)!=$empty |
59 | $name_no_restore |
59 | $name_no_restore |
60 | !else |
60 | !else |
61 | <small>($(name_$(type)1) : $(old_$(type)cnt))</small>. |
61 | <small>($(name_$(type)1) : $(old_$(type)cnt))</small>. |
62 | !endif |
62 | !endif |
63 | </li> |
63 | </li> |
64 | !next type |
64 | !next type |
65 | !if score isitemof $gotlist |
65 | !if score isitemof $gotlist |
66 | <li> |
66 | <li> |
67 | <input type="checkbox" name="selection" value="score"/> |
67 | <input type="checkbox" name="selection" value="score"/> |
68 | $name_activity |
68 | $name_activity |
69 | </li> |
69 | </li> |
70 | !endif |
70 | !endif |
71 | !if manual isitemof $gotlist |
71 | !if manual isitemof $gotlist |
72 | <li> |
72 | <li> |
73 | <input type="checkbox" name="selection" value="manual"/> |
73 | <input type="checkbox" name="selection" value="manual"/> |
74 | $new_manualcnt $name_manual. <small>($name_manual1 : |
74 | $new_manualcnt $name_manual. <small>($name_manual1 : |
75 | $old_manualcnt)</small>. |
75 | $old_manualcnt)</small>. |
76 | </li> |
76 | </li> |
77 | !endif |
77 | !endif |
78 | !if cdt isitemof $gotlist |
78 | !if cdt isitemof $gotlist |
79 | <li> |
79 | <li> |
80 | <input type="checkbox" name="selection" value="cdt"/> |
80 | <input type="checkbox" name="selection" value="cdt"/> |
81 | $name_cdt. |
81 | $name_cdt. |
82 | !if $old_cdtcnt>0 |
82 | !if $old_cdtcnt>0 |
83 | <small>($name_cdt1)</small> |
83 | <small>($name_cdt1)</small> |
84 | !endif |
84 | !endif |
85 | </li> |
85 | </li> |
86 | !endif |
86 | !endif |
87 | !if livret isitemof $gotlist |
87 | !if livret isitemof $gotlist |
88 | <li> |
88 | <li> |
89 | <input type="checkbox" name="selection" value="livret"/> |
89 | <input type="checkbox" name="selection" value="livret"/> |
90 | $name_livret. |
90 | $name_livret. |
91 | !if $old_livretcnt>0 |
91 | !if $old_livretcnt>0 |
92 | <small>($name_livret1)</small> |
92 | <small>($name_livret1)</small> |
93 | !endif |
93 | !endif |
94 | </li> |
94 | </li> |
95 | !endif |
95 | !endif |
96 | !if seq isitemof $gotlist |
96 | !if seq isitemof $gotlist |
97 | <li> |
97 | <li> |
98 | <input type="checkbox" name="selection" value="seq"/> |
98 | <input type="checkbox" name="selection" value="seq"/> |
99 | $name_seq. |
99 | $name_seq. |
100 | $name_seq0 |
100 | $name_seq0 |
101 | <small>($name_seq1 $old_seqcnt)</small>. |
101 | <small>($name_seq1 $old_seqcnt)</small>. |
102 | </li> |
102 | </li> |
103 | !endif |
103 | !endif |
104 | </ul> |
104 | </ul> |
105 | $name_method : |
105 | $name_method : |
106 | <ul> |
106 | <ul> |
107 | <li><input type="radio" name="restore" value="replace" checked="checked"/> |
107 | <li><input type="radio" name="restore" value="replace" checked="checked"/> |
108 | $name_replace <i>($name_replace1)</i>.</li> |
108 | $name_replace <i>($name_replace1)</i>.</li> |
109 | <li><input type="radio" name="restore" value="merge"/> |
109 | <li><input type="radio" name="restore" value="merge"/> |
110 | $name_merge <i>($name_merge1)</i>.</li> |
110 | $name_merge <i>($name_merge1)</i>.</li> |
111 | </ul> |
111 | </ul> |
112 | !!## TODO desactiver les feuilles s'il n'y pas de participant et enlever la date d'expiration? |
112 | !!## TODO desactiver les feuilles s'il n'y pas de participant et enlever la date d'expiration? |
113 | !!!if $(new_usercnt)=0 |
113 | !!!if $(new_usercnt)=0 |
114 | !! <input type="checkbox" name="preparation" value="no"/> Mettre les feuilles en préparation |
114 | !! <input type="checkbox" name="preparation" value="no"/> Mettre les feuilles en préparation |
115 | !!!endif |
115 | !!!endif |
116 | <input type="submit" value="$name_selectrestore"/> |
116 | <input type="submit" value="$name_selectrestore"/> |
117 | !set wims_ref_class=wims_button_help |
117 | !set wims_ref_class=wims_button_help |
118 | !href cmd=reply&job=list $wims_name_giveup |
118 | !href cmd=reply&job=list $wims_name_giveup |
119 | 119 | ||
- | 120 | ||
120 |
|
121 | !formend |
121 | 122 | ||
122 | !read lang/names.phtml.$moduclass_lang arch_end |
123 | !read lang/names.phtml.$moduclass_lang arch_end |