Rev 17165 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 17165 | Rev 17180 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | !let testneighbors=!defof sharing_all in wimshome/log/classes/$code/neighbors |
69 | !let testneighbors=!defof sharing_all in wimshome/log/classes/$code/neighbors |
70 | !let test=!defof class_allowcloning in wimshome/log/classes/$code/.def |
70 | !let test=!defof class_allowcloning in wimshome/log/classes/$code/.def |
71 | !if ($testneighbors=$empty and $test=yes) or ($code<=9999 and $code notin $noopenclone) or $ty=2 |
71 | !if ($testneighbors=$empty and $test=yes) or ($code<=9999 and $code notin $noopenclone) or $ty=2 |
72 | !if $ty!=2 |
72 | !if $ty!=2 |
73 | $table_tr |
73 | $table_tr |
74 | <td>$inst <br |
74 | <td>$inst <br> |
75 | !href cmd=reply&step=-2&sourcecls=$code $cl |
75 | !href cmd=reply&step=-2&sourcecls=$code $cl |
76 | !if $class_info!=$empty |
76 | !if $class_info!=$empty |
77 | <br |
77 | <br> $class_info |
78 | !endif |
78 | !endif |
79 | </td> |
79 | </td> |
80 | <td>$first $last</td> |
80 | <td>$first $last</td> |
81 | <td> |
81 | <td> |
82 | !if $code<=9999 |
82 | !if $code<=9999 |
Line 104... | Line 104... | ||
104 | !if $auth!=$empty |
104 | !if $auth!=$empty |
105 | !for j in $auth |
105 | !for j in $auth |
106 | !let tmp=!record $j of wimshome/log/classes/$code/.subclasses |
106 | !let tmp=!record $j of wimshome/log/classes/$code/.subclasses |
107 | !distribute items $tmp into codes,expires,insts,cls,las,tys,b,b,firsts,lasts |
107 | !distribute items $tmp into codes,expires,insts,cls,las,tys,b,b,firsts,lasts |
108 | $table_tr |
108 | $table_tr |
109 | <td>$name_subclass $inst $cl <br |
109 | <td>$name_subclass $inst $cl <br> |
110 | !href cmd=reply&step=-2&sourcecls=$codes $cls |
110 | !href cmd=reply&step=-2&sourcecls=$codes $cls |
111 | </td> |
111 | </td> |
112 | <td>$firsts $lasts</td> |
112 | <td>$firsts $lasts</td> |
113 | <td>$name_protected</td> |
113 | <td>$name_protected</td> |
114 | </tr> |
114 | </tr> |
Line 129... | Line 129... | ||
129 | <summary>$(name_clonebytgz[1])</summary> |
129 | <summary>$(name_clonebytgz[1])</summary> |
130 | !set wims_form_method=file |
130 | !set wims_form_method=file |
131 | !form reply |
131 | !form reply |
132 | <fieldset class="property_fields blockcenter"> |
132 | <fieldset class="property_fields blockcenter"> |
133 | <legend>$(name_clonebytgz[2])</legend> |
133 | <legend>$(name_clonebytgz[2])</legend> |
134 | <input type="hidden" name="job" value="upload" |
134 | <input type="hidden" name="job" value="upload"> |
135 | <div class="field box fullwidth"> |
135 | <div class="field box fullwidth"> |
136 | <label for="wims_deposit">$(name_clonebytgz[3])</label> |
136 | <label for="wims_deposit">$(name_clonebytgz[3])</label> |
137 | <input type="hidden" name="step" value="-1" |
137 | <input type="hidden" name="step" value="-1"> |
138 | <input type="hidden" name="sourcecls" value="file" |
138 | <input type="hidden" name="sourcecls" value="file"> |
139 | <input type="file" name="wims_deposit" id="wims_deposit" size="40" |
139 | <input type="file" name="wims_deposit" id="wims_deposit" size="40"> |
140 | </div> |
140 | </div> |
141 | <div class="wimscenter"> |
141 | <div class="wimscenter"> |
142 | <input type="submit" value="$wims_name_send" |
142 | <input type="submit" value="$wims_name_send"> |
143 | </div> |
143 | </div> |
144 | </fieldset> |
144 | </fieldset> |
145 | !formend |
145 | !formend |
146 | </details> |
146 | </details> |
147 | 147 | ||
Line 151... | Line 151... | ||
151 | 151 | ||
152 | !if $step=-2 |
152 | !if $step=-2 |
153 | !! saisie du mot de passe de clonage pour les classes privées. |
153 | !! saisie du mot de passe de clonage pour les classes privées. |
154 | $name_getcloningpwd |
154 | $name_getcloningpwd |
155 | !form reply |
155 | !form reply |
156 | <input size="20" name="clonepwd" value="$clonepwd" id="clonepwd" |
156 | <input size="20" name="clonepwd" value="$clonepwd" id="clonepwd"> |
157 | <input type="hidden" name="step" value="-1" |
157 | <input type="hidden" name="step" value="-1"> |
158 | <input type="submit" value="$wims_name_tosave" |
158 | <input type="submit" value="$wims_name_tosave"> |
159 | !formend |
159 | !formend |
160 | !exit |
160 | !exit |
161 | !endif |
161 | !endif |
162 | 162 | ||
163 | !if $step>=-1 and $step<3 |
163 | !if $step>=-1 and $step<3 |
164 | <div class="wims_msg info"> |
164 | <div class="wims_msg info"> |
165 | $name_cpexempleintro. |
165 | $name_cpexempleintro. |
166 | !if $ssourcecls=file |
166 | !if $ssourcecls=file |
167 | <br |
167 | <br> |
168 | $(name_clonebytgz[4]) |
168 | $(name_clonebytgz[4]) |
169 | !endif |
169 | !endif |
170 | </div> |
170 | </div> |
171 | !endif |
171 | !endif |
172 | 172 |