1 <div>
3 <h1 style='color:red'>Style fixes necessary here ;-)</h1>
4 <div class='default'>
6 {if $method == "default"}
8 <p>
9 Create a reload for each entry later
10 <input type='submit' name='reload' value='{t}Reload{/t}'>
11 <p> </p>
12 </p>
14 {foreach from=$checks item=val key=key}
15 <div class='step2_entry_name'><b>{$checks.$key.TITLE}</b></div>
16 {if $checks.$key.STATUS}
17 <div class='step2_successful'>{$checks.$key.STATUS_MSG}
18 {if $checks.$key.ERROR_MSG}
19 {$checks.$key.ERROR_MSG}
20 {/if}
21 </div>
22 {else}
23 <div class='step2_failed'>{$checks.$key.STATUS_MSG}
24 </div>
25 <div>
26 {if $checks.$key.ERROR_MSG}
27 {$checks.$key.ERROR_MSG}
28 {/if}
29 </div>
30 {/if}
31 <div> </div>
32 {/foreach}
34 {elseif $method == "outside_winstations"}
36 <h2>{t}Move windows workstations into a valid windows workstation department{/t}</h2>
38 {t}This dialog allows you to move the displayed windows workstations into a valid department{/t}
39 <br>
40 {t}Be careful with this tool, there may be references pointing to this workstations that can't be migrated.{/t}
41 <br>
42 <br>
44 {foreach from=$outside_winstations item=val key=key}
45 {if $outside_winstations.$key.selected}
46 <input type='checkbox' name='select_winstation_{$key}' checked>
47 {else}
48 <input type='checkbox' name='select_winstation_{$key}'>
49 {/if}
51 {$outside_winstations.$key.dn}
52 {if $outside_winstations.$key.ldif != ""}
53 <div class="step2_entry_container_info" id="sol_8">
54 <div style='padding-left:20px;'>
55 <pre>
56 {$outside_winstations.$key.ldif}
57 </pre>
58 </div>
59 </div>
60 {/if}
61 <br>
62 {/foreach}
64 <p>
65 <b>{t}Move selected windows workstations into the following GOsa department{/t} : </b>
66 <select name='move_winstation_to'>
67 {html_options options=$ous}
68 </select>
69 <br>
70 <input type='submit' name='outside_winstations_dialog_perform' value='{t}Move selected workstations{/t}'>
71 <input type='submit' name='outside_winstations_dialog_whats_done' value='{t}What will be done here{/t}'>
72 </p>
75 <p class='seperator'> </p>
76 <div style='width:100%; text-align:right; padding:5px;'>
77 <input type='submit' name='outside_winstations_dialog_cancel' value='{t}Close{/t}'>
78 </div>
81 {elseif $method == "outside_groups"}
83 <h2>{t}Move groups into valid group departments{/t}</h2>
85 {t}This dialog allows you to move the displayed groups into a valid group department{/t}
86 <br>
87 {t}Be careful with this tool, there may be references pointing to this group that can't be migrated.{/t}
88 <br>
89 <br>
91 {foreach from=$outside_groups item=val key=key}
92 {if $outside_groups.$key.selected}
93 <input type='checkbox' name='select_group_{$key}' checked>
94 {else}
95 <input type='checkbox' name='select_group_{$key}'>
96 {/if}
98 {$outside_groups.$key.dn}
99 {if $outside_groups.$key.ldif != ""}
100 <div class="step2_entry_container_info" id="sol_8">
101 <div style='padding-left:20px;'>
102 <pre>
103 {$outside_groups.$key.ldif}
104 </pre>
105 </div>
106 </div>
107 {/if}
108 <br>
109 {/foreach}
111 <p>
112 <b>{t}Move selected group into the following GOsa people department{/t} : </b>
113 <select name='move_group_to'>
114 {html_options options=$ous}
115 </select>
116 <br>
117 <input type='submit' name='outside_groups_dialog_perform' value='{t}Move selected groups{/t}'>
118 <input type='submit' name='outside_groups_dialog_whats_done' value='{t}What will be done here{/t}'>
119 </p>
122 <p class='seperator'> </p>
123 <div style='width:100%; text-align:right; padding:5px;'>
124 <input type='submit' name='outside_groups_dialog_cancel' value='{t}Close{/t}'>
125 </div>
127 {elseif $method == "outside_users"}
129 <h2>{t}Move users into valid user departments{/t}</h2>
131 {t}This dialog allows you to move the displayed users into a valid user department{/t}
132 <br>
133 {t}Be careful with this tool, there may be references pointing to this user that can't be migrated.{/t}
134 <br>
135 <br>
137 {foreach from=$outside_users item=val key=key}
138 {if $outside_users.$key.selected}
139 <input type='checkbox' name='select_user_{$key}' checked>
140 {else}
141 <input type='checkbox' name='select_user_{$key}'>
142 {/if}
144 {$outside_users.$key.dn}
145 {if $outside_users.$key.ldif != ""}
146 <div class="step2_entry_container_info" id="sol_8">
147 <div style='padding-left:20px;'>
148 <pre>
149 {$outside_users.$key.ldif}
150 </pre>
151 </div>
152 </div>
153 {/if}
154 <br>
155 {/foreach}
157 <p>
158 <b>{t}Move selected user into the following GOsa people department{/t} : </b>
159 <select name='move_user_to'>
160 {html_options options=$ous}
161 </select>
162 <br>
163 <input type='submit' name='outside_users_dialog_perform' value='{t}Move selected user{/t}'>
164 <input type='submit' name='outside_users_dialog_whats_done' value='{t}What will be done here{/t}'>
165 </p>
168 <p class='seperator'> </p>
169 <div style='width:100%; text-align:right; padding:5px;'>
170 <input type='submit' name='outside_users_dialog_cancel' value='{t}Close{/t}'>
171 </div>
174 {elseif $method == "create_acls"}
176 <h2>{t}Acl setup{/t}</h2>
178 {if $acl_create_selected != "" && $what_will_be_done_now!=""}
179 <div>
180 <pre>
181 {$what_will_be_done_now}
182 </pre>
183 </div>
184 <input type='submit' name='create_acls_create_confirmed' value='{t}Next{/t}'>
185 <input type='submit' name='create_acls_create_abort' value='{t}Abort{/t}'>
186 {else}
187 <b>{t}Create a new user and a group with adminstrational acls{/t}</b><br>
189 {t}To automatically add a new administrative user to your ldap database use the formular below.{/t}<br>
190 <p style='padding-left:10px;'>
191 <table>
192 <tr>
193 <td>
194 {t}Name{/t}:
195 </td>
196 <td>
197 <i>System administrator</i>
198 </td>
199 <tr>
200 <tr>
201 <td>
202 {t}User ID{/t}:
203 </td>
204 <td>
205 <i>admin</i>
206 </td>
207 <tr>
208 </tr>
209 <td>
210 {t}Password{/t}:
211 </td>
212 <td>
213 <input type='password' value='{$new_user_password}' name='new_user_password'><br>
214 </td>
215 </tr>
216 </tr>
217 <td>
218 {t}Retype password{/t}:
219 </td>
220 <td>
221 <input type='password' value='{$new_user_password2}' name='new_user_password2'><br>
222 </td>
223 </tr>
224 </table>
225 <input type='submit' name='create_admin_user' value='{t}Create{/t}'>
226 </p>
228 {if $users_cnt != 0 || $groups_cnt != 0}
230 <p> </p>
231 <b>{t}Append administrational acls to existing an user or a group{/t}</b><br>
232 Bla {t}To grant administrative permissions to a user or a group, select an element and use button below.{/t}
233 <p style='padding-left:10px;'>
234 <select name='acl_create_type' onChange='document.mainform.submit();' >
235 {if $type == "user"}
236 <option value='group'>{t}Group{/t}</option>
237 <option selected value='user'>{t}User{/t}</option>
238 {else}
239 <option selected value='group'>{t}Group{/t}</option>
240 <option value='user'>{t}User{/t}</option>
241 {/if}
242 </select>
243 <select name='create_acls_selected' size="12" style='width:100%;'>
244 {if $type == "user"}
245 {html_options options=$users selected=$acl_create_selected}
246 {else}
247 {html_options options=$groups selected=$acl_create_selected}
248 {/if}
249 </select>
251 <input type='submit' name='create_acls_create' value='{t}Add administrational acls to this object{/t}'>
252 </p>
253 {/if}
254 {/if}
257 <p class='seperator'> </p>
259 <div style='width:100%; text-align:right; padding:5px;'>
260 <input type='submit' name='create_acls_cancel' value='{t}Close{/t}'>
261 </div>
264 {elseif $method == "migrate_deps"}
266 <h2>Department migration</h2>
268 {t}The listed deparmtents below are currenlty invisble in the GOsa user interface. If you want to migrate a set of departments, just select them and use the migrate button below.{/t}<br>
269 {t}If you want to know what will be done when migrating the selected entries, just use the 'What will be done here' button and you will see a list of changes.{/t}
272 <br><br>
273 {foreach from=$deps_to_migrate item=val key=key}
275 {if $deps_to_migrate.$key.checked}
276 <input type='checkbox' name='migrate_{$key}' checked>
277 {$deps_to_migrate.$key.dn}
278 {if $deps_to_migrate.$key.after != ""}
279 <div class="step2_entry_container_info" id="sol_8">
281 {t}Current{/t}
282 <div style='padding-left:20px;'>
283 <pre>
284 dn: {$deps_to_migrate.$key.dn}
285 {$deps_to_migrate.$key.before}
286 </pre>
287 </div>
288 {t}After migration{/t}
289 <div style='padding-left:20px;'>
290 <pre>
291 dn: {$deps_to_migrate.$key.dn}
292 {$deps_to_migrate.$key.after}
293 </pre>
294 </div>
295 </div>
296 {/if}
297 {else}
298 <input type='checkbox' name='migrate_{$key}'>
299 {$deps_to_migrate.$key.dn}
300 {/if}
302 <br>
305 {/foreach}
306 <br>
308 <input type='submit' name='deps_visible_migrate_refresh' value='{t}Reload list{/t}'>
309 <input type='submit' name='deps_visible_migrate_migrate' value='{t}Migrate{/t}'>
310 <input type='submit' name='deps_visible_migrate_whatsdone' value='{t}What will be done here{/t}'>
312 <p class='seperator'> </p>
314 <div style='width:100%; text-align:right; padding:5px;'>
315 <input type='submit' name='deps_visible_migrate_close' value='{t}Close{/t}'>
316 </div>
317 {elseif $method == "migrate_users"}
319 <h2>User migration</h2>
321 {t}The listed deparmtents below are currenlty invisble in the GOsa user interface. If you want to migrate a set of departments, just select them and use the migrate button below.{/t}<br>
322 {t}If you want to know what will be done when migrating the selected entries, just use the 'What will be done here' button and you will see a list of changes.{/t}
325 <br><br>
326 {foreach from=$users_to_migrate item=val key=key}
328 {if $users_to_migrate.$key.checked}
329 <input type='checkbox' name='migrate_{$key}' checked>
330 {$users_to_migrate.$key.dn}
331 {if $users_to_migrate.$key.after != ""}
332 <div class="step2_entry_container_info" id="sol_8">
334 {t}Current{/t}
335 <div style='padding-left:20px;'>
336 <pre>
337 dn: {$users_to_migrate.$key.dn}
338 {$users_to_migrate.$key.before}
339 </pre>
340 </div>
341 {t}After migration{/t}
342 <div style='padding-left:20px;'>
343 <pre>
344 dn: {$users_to_migrate.$key.dn}
345 {$users_to_migrate.$key.after}
346 </pre>
347 </div>
348 </div>
349 {/if}
350 {else}
351 <input type='checkbox' name='migrate_{$key}'>
352 {$users_to_migrate.$key.dn}
353 {/if}
355 <br>
358 {/foreach}
359 <br>
361 <input type='submit' name='users_visible_migrate_refresh' value='{t}Reload list{/t}'>
362 <input type='submit' name='users_visible_migrate_migrate' value='{t}Migrate{/t}'>
363 <input type='submit' name='users_visible_migrate_whatsdone' value='{t}What will be done here{/t}'>
365 <p class='seperator'> </p>
367 <div style='width:100%; text-align:right; padding:5px;'>
368 <input type='submit' name='users_visible_migrate_close' value='{t}Close{/t}'>
369 </div>
370 {else}
372 * Create a test department with some objects to check for correct permissions
373 <br>
374 * Look for ACL's. If none is there, choose one user to be the super administrator
375 <br>
376 * Look for organizationalUnits and let add GOsa departments for selected ones
377 <br>
378 * Look for person / organizationalPerson and add GOsa account
379 <br>
380 * Allow to move selected users to people ou's - take care for groupOfNames
381 <br>
382 * Allow to move selected groups to group ou's - take care for groupOfNames
383 <br>
384 * Allow to move selected winstations to winstation ou's - take care for groupOfNames
385 <br>
386 * Check for double uidNumbers/gidNumbers
387 <br>
388 * Check for mail accounts and add gosaMailAccount - optionally create these accounts on the IMAP server
391 {/if}
392 </div>
393 </div>