Rev 12135 | Rev 12414 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12135 | Rev 12413 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | <ul> |
26 | <ul> |
27 | <li> |
27 | <li> |
28 | <input type="checkbox" name="selection" id="restore_all" value="all" /> |
28 | <input type="checkbox" name="selection" id="restore_all" value="all" /> |
29 | <label for="restore_all">$name_all</label> |
29 | <label for="restore_all">$name_all</label> |
30 | </li> |
30 | </li> |
31 |
|
31 | !if def isitemof $gotlist |
32 | <li> |
- | |
33 | <input type="checkbox" name="selection" id="restore_def" value="def" /> |
- | |
34 | <label for="restore_def">$name_config. $name_danger.</label> |
- | |
35 | </li> |
- | |
36 | !endif |
- | |
37 | !if sup isitemof $gotlist |
- | |
38 | <li> |
- | |
39 | !if $sharing_sup=$empty |
- | |
40 | <input type="checkbox" name="selection" id="restore_sup" value="sup" /> |
- | |
41 | !endif |
- | |
42 | <label for="restore_sup">$name_teacher.</label> |
- | |
43 | !if $sharing_sup!=$empty |
- | |
44 | $name_no_restore |
- | |
45 | !else |
- | |
46 | $name_danger. |
- | |
47 | !endif |
- | |
48 | </li> |
- | |
49 | !endif |
- | |
50 | !let list=!listintersect user,doc,exo,sheet,exam,forum,motd,userphoto and $gotlist |
- | |
51 | !for type in $list |
- | |
52 | <li> |
- | |
53 | !if $(sharing_$type)=$empty |
- | |
54 | <input type="checkbox" name="selection" id="restore_$type" value="$type" /> |
- | |
55 | !endif |
- | |
56 | <label for="restore_$type">$(new_$(type)cnt) $(name_$type).</label> |
- | |
57 | !if $(sharing_$type)!=$empty |
- | |
58 | $name_no_restore |
- | |
59 | !else |
- | |
60 | <span class="small">($(name_$(type)1) : $(old_$(type)cnt))</span>. |
- | |
61 | !endif |
- | |
62 | </li> |
- | |
63 | !next type |
- | |
64 | !if score isitemof $gotlist |
- | |
65 | <li> |
- | |
66 | <input type="checkbox" name="selection" id="restore_score" value="score" /> |
- | |
67 | <label for="restore_score">$name_activity</label> |
- | |
68 | </li> |
- | |
69 | !endif |
- | |
70 | !if manual isitemof $gotlist |
- | |
71 | <li> |
- | |
72 | <input type="checkbox" name="selection" id="restore_manual" value="manual" /> |
- | |
73 | <label for="restore_manual">$new_manualcnt $name_manual.</label> <span class="small">($name_manual1 : |
- | |
74 | $old_manualcnt)</span>. |
- | |
75 | </li> |
- | |
76 | !endif |
- | |
77 | !if cdt isitemof $gotlist |
- | |
78 | <li> |
- | |
79 | <input type="checkbox" name="selection" id="restore_cdt" value="cdt" /> |
- | |
80 | <label for="restore_cdt">$name_cdt.</label> |
- | |
81 | !if $old_cdtcnt>0 |
- | |
82 | <span class="small">($name_cdt1)</span> |
- | |
83 | !endif |
- | |
84 | </li> |
- | |
85 | !endif |
- | |
86 | !if livret isitemof $gotlist |
- | |
87 | <li> |
- | |
88 | <input type="checkbox" name="selection" id="restore_livret" value="livret" /> |
- | |
89 | <label for="restore_livret">$name_livret.</label> |
- | |
90 | !if $old_livretcnt>0 |
- | |
91 | <span class="small">($name_livret1)</span> |
- | |
92 | !endif |
- | |
93 | </li> |
- | |
94 | !endif |
- | |
95 | !if seq isitemof $gotlist |
- | |
96 | <li> |
- | |
97 | <input type="checkbox" name="selection" id="restore_seq" value="seq" /> |
- | |
98 | <label for="restore_seq">$name_seq.</label> |
- | |
99 | $name_seq0 |
- | |
100 | <span class="small">($name_seq1 $old_seqcnt)</span>. |
- | |
101 | </li> |
- | |
102 | !endif |
- | |
103 | </ul> |
- | |
104 | $name_method : |
- | |
105 | <ul> |
- | |
106 | <li> |
32 | <li> |
107 | <input type=" |
33 | <input type="checkbox" name="selection" id="restore_def" value="def" /> |
108 | <label for=" |
34 | <label for="restore_def">$name_config. $name_danger.</label> |
109 | </li> |
35 | </li> |
- | 36 | !endif |
|
- | 37 | !if sup isitemof $gotlist |
|
- | 38 | <li> |
|
- | 39 | !if $sharing_sup=$empty |
|
- | 40 | <input type="checkbox" name="selection" id="restore_sup" value="sup" /> |
|
- | 41 | !endif |
|
- | 42 | <label for="restore_sup">$name_teacher.</label> |
|
- | 43 | !if $sharing_sup!=$empty |
|
- | 44 | $name_no_restore |
|
- | 45 | !else |
|
- | 46 | $name_danger. |
|
- | 47 | !endif |
|
- | 48 | </li> |
|
- | 49 | !endif |
|
- | 50 | !let list=!listintersect user,doc,exo,sheet,exam,forum,motd,userphoto and $gotlist |
|
- | 51 | !for type in $list |
|
- | 52 | <li> |
|
- | 53 | !if $(sharing_$type)=$empty |
|
- | 54 | <input type="checkbox" name="selection" id="restore_$type" value="$type" /> |
|
- | 55 | !endif |
|
- | 56 | <label for="restore_$type">$(new_$(type)cnt) $(name_$type).</label> |
|
- | 57 | !if $(sharing_$type)!=$empty |
|
- | 58 | $name_no_restore |
|
- | 59 | !else |
|
- | 60 | <span class="small">($(name_$(type)1) : $(old_$(type)cnt))</span>. |
|
- | 61 | !endif |
|
- | 62 | </li> |
|
- | 63 | !next type |
|
- | 64 | !if score isitemof $gotlist |
|
- | 65 | <li> |
|
- | 66 | <input type="checkbox" name="selection" id="restore_score" value="score" /> |
|
- | 67 | <label for="restore_score">$name_activity</label> |
|
- | 68 | </li> |
|
- | 69 | !endif |
|
- | 70 | !if manual isitemof $gotlist |
|
- | 71 | <li> |
|
- | 72 | <input type="checkbox" name="selection" id="restore_manual" value="manual" /> |
|
- | 73 | <label for="restore_manual">$new_manualcnt $name_manual.</label> <span class="small">($name_manual1 : |
|
- | 74 | $old_manualcnt)</span>. |
|
- | 75 | </li> |
|
- | 76 | !endif |
|
- | 77 | !if cdt isitemof $gotlist |
|
110 | <li> |
78 | <li> |
- | 79 | <input type="checkbox" name="selection" id="restore_cdt" value="cdt" /> |
|
- | 80 | <label for="restore_cdt">$name_cdt.</label> |
|
- | 81 | !if $old_cdtcnt>0 |
|
- | 82 | <span class="small">($name_cdt1)</span> |
|
- | 83 | !endif |
|
- | 84 | </li> |
|
- | 85 | !endif |
|
- | 86 | !if livret isitemof $gotlist |
|
- | 87 | <li> |
|
- | 88 | <input type="checkbox" name="selection" id="restore_livret" value="livret" /> |
|
- | 89 | <label for="restore_livret">$name_livret.</label> |
|
- | 90 | !if $old_livretcnt>0 |
|
- | 91 | <span class="small">($name_livret1)</span> |
|
- | 92 | !endif |
|
- | 93 | </li> |
|
- | 94 | !endif |
|
- | 95 | !if seq isitemof $gotlist |
|
- | 96 | <li> |
|
- | 97 | <input type="checkbox" name="selection" id="restore_seq" value="seq" /> |
|
- | 98 | <label for="restore_seq">$name_seq.</label> |
|
- | 99 | $name_seq0 |
|
- | 100 | <span class="small">($name_seq1 $old_seqcnt)</span>. |
|
- | 101 | </li> |
|
- | 102 | !endif |
|
- | 103 | </ul> |
|
- | 104 | $name_method : |
|
- | 105 | <ul> |
|
- | 106 | <li> |
|
- | 107 | <input type="radio" name="restore" id="method_replace" value="replace" checked="checked" /> |
|
- | 108 | <label for="method_replace">$name_replace</label> <i>($name_replace1)</i>. |
|
- | 109 | </li> |
|
- | 110 | <li> |
|
111 |
|
111 | <input type="radio" name="restore" id="method_merge" value="merge" /> |
112 |
|
112 | <label for="method_merge">$name_merge</label> <i>($name_merge1)</i>. |
113 |
|
113 | </li> |
114 |
|
114 | </ul> |
115 |
|
115 | !!## TODO desactiver les feuilles s'il n'y pas de participant et enlever la date d'expiration? |
116 |
|
116 | !!!if $(new_usercnt)=0 |
117 |
|
117 | !! <input type="checkbox" name="preparation" value="no" /> Mettre les feuilles en préparation |
118 |
|
118 | !!!endif |
119 |
|
119 | <input type="submit" value="$name_selectrestore" /> |
120 |
|
120 | !set wims_ref_class=wims_button wims_secondary_button |
121 |
|
121 | !href cmd=reply&job=new $wims_name_giveup |
122 | !formend |
122 | !formend |
123 | 123 | ||
124 | <div class="wims_msg info"> |
124 | <div class="wims_msg info"> |
125 | !read lang/names.phtml.$moduclass_lang arch_end |
125 | !read lang/names.phtml.$moduclass_lang arch_end |
126 | </div> |
126 | </div> |