1 <div>
3 <h1 style='color:red'>Style fixes necessary here ;-)</h1>
4 <div class='default'>
6 {if $method == "default"}
8 <input type='submit' name='reload' value='{t}Check again{/t}'>
9 <p> </p>
11 {foreach from=$checks item=val key=key}
12 <div class='step2_entry_name'><b>{$checks.$key.TITLE}</b></div>
13 {if $checks.$key.STATUS}
14 <div class='step2_successful'>{$checks.$key.STATUS_MSG}
15 {if $checks.$key.ERROR_MSG}
16 {$checks.$key.ERROR_MSG}
17 {/if}
18 </div>
19 {else}
20 <div class='step2_failed' style='float:none'>{$checks.$key.STATUS_MSG}
21 </div>
22 <div>
23 {if $checks.$key.ERROR_MSG}
24 {$checks.$key.ERROR_MSG}
25 {/if}
26 </div>
27 {/if}
28 <div> </div>
29 {/foreach}
31 {elseif $method == "outside_winstations"}
33 <h2>{t}Move windows workstations into a valid windows workstation department{/t}</h2>
35 {t}This dialog allows you to move the displayed windows workstations into a valid department{/t}
36 <br>
37 {t}Be careful with this tool, there may be references pointing to this workstations that can't be migrated.{/t}
38 <br>
39 <br>
41 {foreach from=$outside_winstations item=val key=key}
42 {if $outside_winstations.$key.selected}
43 <input type='checkbox' name='select_winstation_{$key}' checked>
44 {else}
45 <input type='checkbox' name='select_winstation_{$key}'>
46 {/if}
48 {$outside_winstations.$key.dn}
49 {if $outside_winstations.$key.ldif != ""}
50 <div class="step2_entry_container_info" id="sol_8">
51 <div style='padding-left:20px;'>
52 <pre>
53 {$outside_winstations.$key.ldif}
54 </pre>
55 </div>
56 </div>
57 {/if}
58 <br>
59 {/foreach}
61 <p>
62 <b>{t}Move selected windows workstations into the following GOsa department{/t} : </b>
63 <select name='move_winstation_to'>
64 {html_options options=$ous}
65 </select>
66 <br>
67 <input type='submit' name='outside_winstations_dialog_perform' value='{t}Move selected workstations{/t}'>
68 <input type='submit' name='outside_winstations_dialog_whats_done' value='{t}What will be done here{/t}'>
69 </p>
72 <p class='seperator'> </p>
73 <div style='width:100%; text-align:right; padding:5px;'>
74 <input type='submit' name='outside_winstations_dialog_cancel' value='{t}Close{/t}'>
75 </div>
78 {elseif $method == "outside_groups"}
80 <h2>{t}Move groups into valid group departments{/t}</h2>
82 {t}This dialog allows you to move the displayed groups into a valid group department{/t}
83 <br>
84 {t}Be careful with this tool, there may be references pointing to this group that can't be migrated.{/t}
85 <br>
86 <br>
88 {foreach from=$outside_groups item=val key=key}
89 {if $outside_groups.$key.selected}
90 <input type='checkbox' name='select_group_{$key}' checked>
91 {else}
92 <input type='checkbox' name='select_group_{$key}'>
93 {/if}
95 {$outside_groups.$key.dn}
96 {if $outside_groups.$key.ldif != ""}
97 <div class="step2_entry_container_info" id="sol_8">
98 <div style='padding-left:20px;'>
99 <pre>
100 {$outside_groups.$key.ldif}
101 </pre>
102 </div>
103 </div>
104 {/if}
105 <br>
106 {/foreach}
108 <p>
109 <b>{t}Move selected group into the following GOsa people department{/t} : </b>
110 <select name='move_group_to'>
111 {html_options options=$ous}
112 </select>
113 <br>
114 <input type='submit' name='outside_groups_dialog_perform' value='{t}Move selected groups{/t}'>
115 <input type='submit' name='outside_groups_dialog_whats_done' value='{t}What will be done here{/t}'>
116 </p>
119 <p class='seperator'> </p>
120 <div style='width:100%; text-align:right; padding:5px;'>
121 <input type='submit' name='outside_groups_dialog_cancel' value='{t}Close{/t}'>
122 </div>
124 {elseif $method == "outside_users"}
126 <h2>{t}Move users into valid user departments{/t}</h2>
128 {t}This dialog allows you to move the displayed users into a valid user department{/t}
129 <br>
130 {t}Be careful with this tool, there may be references pointing to this user that can't be migrated.{/t}
131 <br>
132 <br>
134 {foreach from=$outside_users item=val key=key}
135 {if $outside_users.$key.selected}
136 <input type='checkbox' name='select_user_{$key}' checked>
137 {else}
138 <input type='checkbox' name='select_user_{$key}'>
139 {/if}
141 {$outside_users.$key.dn}
142 {if $outside_users.$key.ldif != ""}
143 <div class="step2_entry_container_info" id="sol_8">
144 <div style='padding-left:20px;'>
145 <pre>
146 {$outside_users.$key.ldif}
147 </pre>
148 </div>
149 </div>
150 {/if}
151 <br>
152 {/foreach}
154 <p>
155 <b>{t}Move selected user into the following GOsa people department{/t} : </b>
156 <select name='move_user_to'>
157 {html_options options=$ous}
158 </select>
159 <br>
160 <input type='submit' name='outside_users_dialog_perform' value='{t}Move selected user{/t}'>
161 <input type='submit' name='outside_users_dialog_whats_done' value='{t}What will be done here{/t}'>
162 </p>
165 <p class='seperator'> </p>
166 <div style='width:100%; text-align:right; padding:5px;'>
167 <input type='submit' name='outside_users_dialog_cancel' value='{t}Close{/t}'>
168 </div>
171 {elseif $method == "create_acls"}
173 <h2>{t}Acl setup{/t}</h2>
175 {if $acl_create_selected != "" && $what_will_be_done_now!=""}
176 <div>
177 <pre>
178 {$what_will_be_done_now}
179 </pre>
180 </div>
181 <input type='submit' name='create_acls_create_confirmed' value='{t}Next{/t}'>
182 <input type='submit' name='create_acls_create_abort' value='{t}Abort{/t}'>
183 {else}
184 <b>{t}Create a new user and a group with adminstrational acls{/t}</b><br>
186 {t}To automatically add a new administrative user to your ldap database use the formular below.{/t}<br>
187 <p style='padding-left:10px;'>
188 <table>
189 <tr>
190 <td>
191 {t}Name{/t}:
192 </td>
193 <td>
194 <i>System administrator</i>
195 </td>
196 <tr>
197 <tr>
198 <td>
199 {t}User ID{/t}:
200 </td>
201 <td>
202 <i>admin</i>
203 </td>
204 <tr>
205 </tr>
206 <td>
207 {t}Password{/t}:
208 </td>
209 <td>
210 <input type='password' value='{$new_user_password}' name='new_user_password'><br>
211 </td>
212 </tr>
213 </tr>
214 <td>
215 {t}Retype password{/t}:
216 </td>
217 <td>
218 <input type='password' value='{$new_user_password2}' name='new_user_password2'><br>
219 </td>
220 </tr>
221 </table>
222 <input type='submit' name='create_admin_user' value='{t}Create{/t}'>
223 </p>
225 {if $users_cnt != 0 || $groups_cnt != 0}
227 <p> </p>
228 <b>{t}Append administrational acls to existing an user or a group{/t}</b><br>
229 {t}To grant administrative permissions to a user or a group, select an element and use button below.{/t}
230 <p style='padding-left:10px;'>
231 <select name='acl_create_type' onChange='document.mainform.submit();' >
232 {if $type == "user"}
233 <option value='group'>{t}Group{/t}</option>
234 <option selected value='user'>{t}User{/t}</option>
235 {else}
236 <option selected value='group'>{t}Group{/t}</option>
237 <option value='user'>{t}User{/t}</option>
238 {/if}
239 </select>
240 <select name='create_acls_selected' size="12" style='width:100%;'>
241 {if $type == "user"}
242 {html_options options=$users selected=$acl_create_selected}
243 {else}
244 {html_options options=$groups selected=$acl_create_selected}
245 {/if}
246 </select>
248 <input type='submit' name='create_acls_create' value='{t}Add administrational acls to this object{/t}'>
249 </p>
250 {/if}
251 {/if}
254 <p class='seperator'> </p>
256 <div style='width:100%; text-align:right; padding:5px;'>
257 <input type='submit' name='create_acls_cancel' value='{t}Close{/t}'>
258 </div>
261 {elseif $method == "migrate_deps"}
263 <h2>Department migration</h2>
265 {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>
266 {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}
269 <br><br>
270 {foreach from=$deps_to_migrate item=val key=key}
272 {if $deps_to_migrate.$key.checked}
273 <input type='checkbox' name='migrate_{$key}' checked>
274 {$deps_to_migrate.$key.dn}
275 {if $deps_to_migrate.$key.after != ""}
276 <div class="step2_entry_container_info" id="sol_8">
278 {t}Current{/t}
279 <div style='padding-left:20px;'>
280 <pre>
281 dn: {$deps_to_migrate.$key.dn}
282 {$deps_to_migrate.$key.before}
283 </pre>
284 </div>
285 {t}After migration{/t}
286 <div style='padding-left:20px;'>
287 <pre>
288 dn: {$deps_to_migrate.$key.dn}
289 {$deps_to_migrate.$key.after}
290 </pre>
291 </div>
292 </div>
293 {/if}
294 {else}
295 <input type='checkbox' name='migrate_{$key}'>
296 {$deps_to_migrate.$key.dn}
297 {/if}
299 <br>
302 {/foreach}
303 <br>
305 <input type='submit' name='deps_visible_migrate_refresh' value='{t}Reload list{/t}'>
306 <input type='submit' name='deps_visible_migrate_migrate' value='{t}Migrate{/t}'>
307 <input type='submit' name='deps_visible_migrate_whatsdone' value='{t}What will be done here{/t}'>
309 <p class='seperator'> </p>
311 <div style='width:100%; text-align:right; padding:5px;'>
312 <input type='submit' name='deps_visible_migrate_close' value='{t}Close{/t}'>
313 </div>
314 {elseif $method == "migrate_users"}
316 <h2>User migration</h2>
318 {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>
319 {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}
322 <br><br>
323 {foreach from=$users_to_migrate item=val key=key}
325 {if $users_to_migrate.$key.checked}
326 <input type='checkbox' name='migrate_{$key}' checked>
327 {$users_to_migrate.$key.dn}
328 {if $users_to_migrate.$key.after != ""}
329 <div class="step2_entry_container_info" id="sol_8">
331 {t}Current{/t}
332 <div style='padding-left:20px;'>
333 <pre>
334 dn: {$users_to_migrate.$key.dn}
335 {$users_to_migrate.$key.before}
336 </pre>
337 </div>
338 {t}After migration{/t}
339 <div style='padding-left:20px;'>
340 <pre>
341 dn: {$users_to_migrate.$key.dn}
342 {$users_to_migrate.$key.after}
343 </pre>
344 </div>
345 </div>
346 {/if}
347 {else}
348 <input type='checkbox' name='migrate_{$key}'>
349 {$users_to_migrate.$key.dn}
350 {/if}
352 <br>
355 {/foreach}
356 <br>
358 <input type='submit' name='users_visible_migrate_refresh' value='{t}Reload list{/t}'>
359 <input type='submit' name='users_visible_migrate_migrate' value='{t}Migrate{/t}'>
360 <input type='submit' name='users_visible_migrate_whatsdone' value='{t}What will be done here{/t}'>
362 <p class='seperator'> </p>
364 <div style='width:100%; text-align:right; padding:5px;'>
365 <input type='submit' name='users_visible_migrate_close' value='{t}Close{/t}'>
366 </div>
367 {else}
369 * Create a test department with some objects to check for correct permissions
370 <br>
371 * Look for ACL's. If none is there, choose one user to be the super administrator
372 <br>
373 * Look for organizationalUnits and let add GOsa departments for selected ones
374 <br>
375 * Look for person / organizationalPerson and add GOsa account
376 <br>
377 * Allow to move selected users to people ou's - take care for groupOfNames
378 <br>
379 * Allow to move selected groups to group ou's - take care for groupOfNames
380 <br>
381 * Allow to move selected winstations to winstation ou's - take care for groupOfNames
382 <br>
383 * Check for double uidNumbers/gidNumbers
384 <br>
385 * Check for mail accounts and add gosaMailAccount - optionally create these accounts on the IMAP server
388 {/if}
389 </div>
390 </div>