Code

Updated styles
[gosa.git] / gosa-core / setup / setup_migrate.tpl
1         {if $method == "default"}
2                 <p>{t}During the LDAP inspection, we're going to check for several common pitfalls that may occur when migration to GOsa base LDAP administration. You may want to fix the problems below, in order to provide smooth services.{/t}
3                 </p>
5         <table style='width:100%'>
6             {foreach from=$checks item=val key=key}
7                 <tr> 
8                     <td>
9                         <b>{$checks.$key.TITLE}</b>&nbsp; {$checks.$key.STATUS_MSG}
10                         <p>
11                             {if $checks.$key.ERROR_MSG}
12                                 {$checks.$key.ERROR_MSG}
13                             {/if}
14                         </p>
15                     </td>
16                 </tr>
17             {/foreach}
18         </table>
19                 <br>
20                 <button type='submit' name='reload'>{t}Check again{/t}</button>
22         {elseif $method == "rootOC_migrate_dialog"}
24                         <h2>{t}Add required object classes to the LDAP base{/t}</h2>
26                         <b>{t}Current{/t}</b>
27                         <pre>{$details.current}</pre>
29                         <br>
30                         <b>{t}After migration{/t}</b>
31                 <pre>{$details.target}</pre>
33                         <br>
34                         <button type='submit' name='rootOC_migrate_start'>{t}Migrate{/t}</button>
35                         <hr>    
36                         <div class="plugin-actions">
37                                 <button type='submit' name='rootOC_dialog_cancel'>{t}Close{/t}</button>
38                         </div>
40                 {elseif $method == "create_acls"}
42     <h2>{t}Create a new GOsa administrator account{/t}</h2>
43     <p>{t}This dialog will automatically add a new super administrator to your LDAP tree.{/t}</p>
45     <table>
46         <tr>
47             <td>{t}Name{/t}:</td>
48             <td><i>System administrator</i></td>
49         </tr>
50         <tr>
51             <td>{t}User ID{/t}:&nbsp;</td>
52             <td><input type='text' value='{$new_user_uid}' name='new_user_uid'><br></td>
53         </tr>
54         <tr>
55             <td>{t}Password{/t}:&nbsp;</td>
56             <td><input type='password' value='{$new_user_password}' name='new_user_password'><br></td>
57         </tr>
58         <tr>    
59             <td>{t}Password (again){/t}:&nbsp;</td>
60             <td><input type='password' value='{$new_user_password2}' name='new_user_password2'></td>
61         </tr>
62     </table>
64     <script language="JavaScript" type="text/javascript">
65         <!-- // First input field on page
66             focus_field('new_user_password');
67         -->
68     </script>
70     <hr>        
71     <div class="plugin-actions">
72         <button type='submit' name='create_admin_user'>{t}Apply{/t}</button>    
73         <button type='submit' name='create_acls_cancel'>{t}Cancel{/t}</button>
74     </div>
75 {/if}