Rev 13360 | Rev 16094 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13360 | Rev 16091 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | </li> |
51 | </li> |
52 | !endif |
52 | !endif |
53 | !let list=!listintersect user,doc,exo,sheet,exam,forum,motd,userphoto,tool and $gotlist |
53 | !let list=!listintersect user,doc,exo,sheet,exam,forum,motd,userphoto,tool and $gotlist |
54 | !for type in $list |
54 | !for type in $list |
55 | <li> |
55 | <li> |
56 | !if $(sharing_$type)=$empty |
56 | !if $(sharing_$type)=$empty and $type notitemof $forbiddenlistdep |
57 | <input type="checkbox" name="selection" id="restore_$type" value="$type" /> |
57 | <input type="checkbox" name="selection" id="restore_$type" value="$type" /> |
58 | !endif |
58 | !endif |
59 | <label for="restore_$type"><strong>$(new_$(type)cnt)</strong> $(name_$type).</label> |
59 | <label for="restore_$type"><strong>$(new_$(type)cnt)</strong> $(name_$type).</label> |
60 | !if $(sharing_$type)!=$empty |
60 | !if $(sharing_$type)!=$empty |
61 | $name_no_restore |
61 | $name_no_restore |
62 | !else |
62 | !else |
- | 63 | !if $type isitemof $forbiddenlistdep |
|
- | 64 | !if $type notitemof $forbiddenlist |
|
- | 65 | $name_dependance |
|
- | 66 | !else |
|
- | 67 | $name_limit_exceed |
|
- | 68 | !endif |
|
- | 69 | !else |
|
63 | <span class="small">($(name_$(type)1) : $(old_$(type)cnt))</span>. |
70 | <span class="small">($(name_$(type)1) : $(old_$(type)cnt))</span>. |
- | 71 | !endif |
|
64 | !endif |
72 | !endif |
65 | </li> |
73 | </li> |
66 | !next type |
74 | !next type |
67 | !if score isitemof $gotlist |
75 | !if score isitemof $gotlist |
68 | <li> |
76 | <li> |
- | 77 | !if score notitemof $forbiddenlistdep |
|
69 | <input type= |
78 | <input type="checkbox" name="selection" id="restore_score" value="score" /> |
- | 79 | !endif |
|
70 | <label for="restore_score">$name_activity</label> |
80 | <label for="restore_score">$name_activity</label> |
- | 81 | !if score isitemof $forbiddenlistdep |
|
- | 82 | !if score notitemof $forbiddenlist |
|
- | 83 | $name_dependance |
|
- | 84 | !else |
|
- | 85 | $name_limit_exceed |
|
- | 86 | !endif |
|
- | 87 | !endif |
|
71 | </li> |
88 | </li> |
72 | !endif |
89 | !endif |
73 | !if manual isitemof $gotlist |
90 | !if manual isitemof $gotlist |
74 | <li> |
91 | <li> |
- | 92 | !if manual notitemof $forbiddenlistdep |
|
75 | <input type="checkbox" name="selection" id="restore_manual" value="manual" /> |
93 | <input type="checkbox" name="selection" id="restore_manual" value="manual" /> |
- | 94 | !endif |
|
76 | <label for="restore_manual">$new_manualcnt $name_manual.</label> |
95 | <label for="restore_manual">$new_manualcnt $name_manual.</label> |
- | 96 | !if manual isitemof $forbiddenlistdep |
|
- | 97 | !if manual notitemof $forbiddenlist |
|
- | 98 | $name_dependance |
|
- | 99 | !else |
|
- | 100 | $name_limit_exceed |
|
- | 101 | !endif |
|
- | 102 | !else |
|
- | 103 | <span class="small">($name_manual1 : |
|
77 | $old_manualcnt)</span>. |
104 | $old_manualcnt)</span>. |
- | 105 | !endif |
|
78 | </li> |
106 | </li> |
79 | !endif |
107 | !endif |
80 | !if cdt isitemof $gotlist |
108 | !if cdt isitemof $gotlist |
81 | <li> |
109 | <li> |
82 | <input type="checkbox" name="selection" id="restore_cdt" value="cdt" /> |
110 | <input type="checkbox" name="selection" id="restore_cdt" value="cdt" /> |
83 | <label for="restore_cdt">$name_cdt.</label> |
111 | <label for="restore_cdt">$name_cdt.</label> |
84 | !if $old_cdtcnt>0 |
112 | !if $old_cdtcnt>0 |
85 | <span class="small">($name_cdt1)</span> |
113 | <span class="small">($name_cdt1)</span> |
86 | !endif |
114 | !endif |
87 | </li> |
115 | </li> |
88 | !endif |
116 | !endif |
89 | !if livret isitemof $gotlist |
117 | !if livret isitemof $gotlist |
90 | <li> |
118 | <li> |
- | 119 | !if livret notitemof $forbiddenlistdep |
|
91 | <input type="checkbox" name="selection" id="restore_livret" value="livret" /> |
120 | <input type="checkbox" name="selection" id="restore_livret" value="livret" /> |
- | 121 | !endif |
|
92 | <label for="restore_livret">$name_livret.</label> |
122 | <label for="restore_livret">$name_livret.</label> |
- | 123 | !if livret isitemof $forbiddenlistdep |
|
- | 124 | !if livret notitemof $forbiddenlist |
|
- | 125 | $name_dependance |
|
- | 126 | !else |
|
- | 127 | $name_limit_exceed |
|
- | 128 | !endif |
|
- | 129 | !else |
|
93 | !if $old_livretcnt>0 |
130 | !if $old_livretcnt>0 |
94 | <span class="small">($name_livret1)</span> |
131 | <span class="small">($name_livret1)</span> |
- | 132 | !endif |
|
95 | !endif |
133 | !endif |
96 | </li> |
134 | </li> |
97 | !endif |
135 | !endif |
98 | !if seq isitemof $gotlist |
136 | !if seq isitemof $gotlist |
99 | <li> |
137 | <li> |
- | 138 | !if seq notitemof $forbiddenlistdep |
|
100 | <input type="checkbox" name="selection" id="restore_seq" value="seq" /> |
139 | <input type="checkbox" name="selection" id="restore_seq" value="seq" /> |
- | 140 | !endif |
|
101 | <label for="restore_seq">$name_seq.</label> |
141 | <label for="restore_seq">$name_seq.</label> |
- | 142 | !if seq isitemof $forbiddenlistdep |
|
- | 143 | !if seq notitemof $forbiddenlist |
|
- | 144 | $name_dependance |
|
- | 145 | !else |
|
- | 146 | $name_limit_exceed |
|
- | 147 | !endif |
|
- | 148 | !else |
|
102 | $name_seq0 |
149 | $name_seq0 |
103 | <span class="small">($name_seq1 $old_seqcnt)</span>. |
150 | <span class="small">($name_seq1 $old_seqcnt)</span>. |
- | 151 | !endif |
|
104 | </li> |
152 | </li> |
105 | !endif |
153 | !endif |
106 | </ul> |
154 | </ul> |
107 | </fieldset> |
155 | </fieldset> |
108 | 156 |