30ac7d651ae020c1dbe37224df04001b8eb20778
1 <div>
3 <h1 style='color:red'>Style fixes necessary here ;-)</h1>
5 <p>
6 Create a reload for each entry later
7 <input type='submit' name='reload' value='{t}Reload{/t}'>
8 </p>
10 <div class='default'>
12 {if $method == "default"}
13 {foreach from=$checks item=val key=key}
14 <div class='step2_entry_name'><b>{$checks.$key.TITLE}</b></div>
15 {if $checks.$key.STATUS}
16 <div class='step2_successful'>{$checks.$key.STATUS_MSG}
17 {if $checks.$key.ERROR_MSG}
18 {$checks.$key.ERROR_MSG}
19 {/if}
20 </div>
21 {else}
22 <div class='step2_failed'>{$checks.$key.STATUS_MSG}
23 </div>
24 <div>
25 {if $checks.$key.ERROR_MSG}
26 {$checks.$key.ERROR_MSG}
27 {/if}
28 </div>
29 {/if}
30 <p> </p>
31 {/foreach}
33 {elseif $method == "create_acls"}
35 <h2>{t}Acl setup{/t}</h2>
37 {if $acl_create_selected != "" && $what_will_be_done_now!=""}
38 <div>
39 <pre>
40 {$what_will_be_done_now}
41 </pre>
42 </div>
43 <input type='submit' name='create_acls_create_confirmed' value='{t}Next{/t}'>
44 <input type='submit' name='create_acls_create_abort' value='{t}Abort{/t}'>
45 {else}
46 <b>{t}Create a new user and a group with adminstrational acls{/t}</b><br>
48 <p style='padding-left:10px;'>
49 {t}To automatically add a new administrative user and group to your ldap database use the formular below.{/t}<br>
50 <table>
51 <tr>
52 <td>
53 {t}User uid{/t}:
54 </td>
55 <td>
56 <input type='input' value='' name='new_user_uid'><br>
57 </td>
58 </tr>
59 <tr>
60 <td>
61 {t}User password{/t}:
62 </td>
63 <td>
64 <input type='input' value='' name='new_user_password'><br>
65 </td>
66 </tr>
67 <tr>
68 <td>
69 {t}Group name{/t}:
70 </td>
71 <td>
72 <input type='input' value='' name='new_group_cn'>
73 </td>
74 </tr>
75 </table>
76 </p>
78 <p> </p>
79 <b>{t}Append administrational acls to existing an user or a group{/t}</b><br>
80 Bla {t}To grant administrative permissions to a user or a group, select an element and use button below.{/t}
81 <p style='padding-left:10px;'>
82 <select name='acl_create_type' onChange='document.mainform.submit();' >
83 {if $type == "user"}
84 <option value='group'>{t}Group{/t}</option>
85 <option selected value='user'>{t}User{/t}</option>
86 {else}
87 <option selected value='group'>{t}Group{/t}</option>
88 <option value='user'>{t}User{/t}</option>
89 {/if}
90 </select>
91 <select name='create_acls_selected' size="12" style='width:100%;'>
92 {if $type == "user"}
93 {html_options options=$users selected=$acl_create_selected}
94 {else}
95 {html_options options=$groups selected=$acl_create_selected}
96 {/if}
97 </select>
99 <input type='submit' name='create_acls_create' value='{t}Add administrational acls to this object{/t}'>
100 </p>
101 {/if}
104 <p class='seperator'> </p>
106 <div style='width:100%; text-align:right; padding:5px;'>
107 <input type='submit' name='create_acls_cancel' value='{t}Close{/t}'>
108 </div>
111 {elseif $method == "migrate_deps"}
113 <h2>Department migration</h2>
115 {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>
116 {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}
119 <br><br>
120 {foreach from=$deps_to_migrate item=val key=key}
122 {if $deps_to_migrate.$key.checked}
123 <input type='checkbox' name='migrate_{$key}' checked>
124 {$deps_to_migrate.$key.dn}
125 {if $deps_to_migrate.$key.after != ""}
126 <div class="step2_entry_container_info" id="sol_8">
128 {t}Current{/t}
129 <div style='padding-left:20px;'>
130 <pre>
131 dn: {$deps_to_migrate.$key.dn}
132 {$deps_to_migrate.$key.before}
133 </pre>
134 </div>
135 {t}After migration{/t}
136 <div style='padding-left:20px;'>
137 <pre>
138 dn: {$deps_to_migrate.$key.dn}
139 {$deps_to_migrate.$key.after}
140 </pre>
141 </div>
142 </div>
143 {/if}
144 {else}
145 <input type='checkbox' name='migrate_{$key}'>
146 {$deps_to_migrate.$key.dn}
147 {/if}
149 <br>
152 {/foreach}
153 <br>
155 <input type='submit' name='deps_visible_migrate_refresh' value='{t}Reload list{/t}'>
156 <input type='submit' name='deps_visible_migrate_migrate' value='{t}Migrate{/t}'>
157 <input type='submit' name='deps_visible_migrate_whatsdone' value='{t}What will be done here{/t}'>
159 <p class='seperator'> </p>
161 <div style='width:100%; text-align:right; padding:5px;'>
162 <input type='submit' name='deps_visible_migrate_close' value='{t}Close{/t}'>
163 </div>
164 {elseif $method == "migrate_users"}
166 <h2>User migration</h2>
168 {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>
169 {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}
172 <br><br>
173 {foreach from=$users_to_migrate item=val key=key}
175 {if $users_to_migrate.$key.checked}
176 <input type='checkbox' name='migrate_{$key}' checked>
177 {$users_to_migrate.$key.dn}
178 {if $users_to_migrate.$key.after != ""}
179 <div class="step2_entry_container_info" id="sol_8">
181 {t}Current{/t}
182 <div style='padding-left:20px;'>
183 <pre>
184 dn: {$users_to_migrate.$key.dn}
185 {$users_to_migrate.$key.before}
186 </pre>
187 </div>
188 {t}After migration{/t}
189 <div style='padding-left:20px;'>
190 <pre>
191 dn: {$users_to_migrate.$key.dn}
192 {$users_to_migrate.$key.after}
193 </pre>
194 </div>
195 </div>
196 {/if}
197 {else}
198 <input type='checkbox' name='migrate_{$key}'>
199 {$users_to_migrate.$key.dn}
200 {/if}
202 <br>
205 {/foreach}
206 <br>
208 <input type='submit' name='users_visible_migrate_refresh' value='{t}Reload list{/t}'>
209 <input type='submit' name='users_visible_migrate_migrate' value='{t}Migrate{/t}'>
210 <input type='submit' name='users_visible_migrate_whatsdone' value='{t}What will be done here{/t}'>
212 <p class='seperator'> </p>
214 <div style='width:100%; text-align:right; padding:5px;'>
215 <input type='submit' name='users_visible_migrate_close' value='{t}Close{/t}'>
216 </div>
217 {else}
219 * Create a test department with some objects to check for correct permissions
220 <br>
221 * Look for ACL's. If none is there, choose one user to be the super administrator
222 <br>
223 * Look for organizationalUnits and let add GOsa departments for selected ones
224 <br>
225 * Look for person / organizationalPerson and add GOsa account
226 <br>
227 * Allow to move selected users to people ou's - take care for groupOfNames
228 <br>
229 * Allow to move selected groups to group ou's - take care for groupOfNames
230 <br>
231 * Allow to move selected winstations to winstation ou's - take care for groupOfNames
232 <br>
233 * Check for double uidNumbers/gidNumbers
234 <br>
235 * Check for mail accounts and add gosaMailAccount - optionally create these accounts on the IMAP server
238 {/if}
239 </div>
240 </div>