Code

Updated partition dialog, it supports volume groups now
[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%' summary='{t}Checks{/t}'>
6             {foreach from=$checks item=val key=key}
7                 <tr> 
8                     <td>
9                         <b>{$checks.$key.TITLE}</b>&nbsp; {$checks.$key.STATUS_MSG}
10                         {if $checks.$key.ERROR_MSG}
11                             <p>
12                                 {$checks.$key.ERROR_MSG}
13                             </p>
14                         {/if}
15                     </td>
16                 </tr>
17             {/foreach}
18         </table>
20         {elseif $method == "rootOC_migrate_dialog"}
22                         <h2>{t}Add required object classes to the LDAP base{/t}</h2>
24                         <b>{t}Current{/t}</b>
25                         <pre>{$details.current}</pre>
27                         <br>
28                         <b>{t}After migration{/t}</b>
29                 <pre>{$details.target}</pre>
31                         <br>
32                         <button type='submit' name='rootOC_migrate_start'>{t}Migrate{/t}</button>
33                         <hr>    
34                         <div class="plugin-actions">
35                                 <button type='submit' name='rootOC_dialog_cancel'>{t}Close{/t}</button>
36                         </div>
38                 {elseif $method == "create_acls"}
40     <h2>{t}Create a new GOsa administrator account{/t}</h2>
41     <p>{t}This dialog will automatically add a new super administrator to your LDAP tree.{/t}</p>
43     <table summary="{t}Name{/t}">
44         <tr>
45             <td>{t}Name{/t}:</td>
46             <td><i>System administrator</i></td>
47         </tr>
48         <tr>
49             <td>{t}User ID{/t}:&nbsp;</td>
50             <td><input type='text' value='{$new_user_uid}' name='new_user_uid'><br></td>
51         </tr>
52         <tr>
53             <td>{t}Password{/t}:&nbsp;</td>
54             <td><input type='password' value='{$new_user_password}' name='new_user_password'><br></td>
55         </tr>
56         <tr>    
57             <td>{t}Password (again){/t}:&nbsp;</td>
58             <td><input type='password' value='{$new_user_password2}' name='new_user_password2'></td>
59         </tr>
60     </table>
62     <script language="JavaScript" type="text/javascript">
63         <!-- // First input field on page
64             focus_field('new_user_password');
65         -->
66     </script>
68     <hr>        
69     <div class="plugin-actions">
70         <button type='submit' name='create_admin_user'>{t}Apply{/t}</button>    
71         <button type='submit' name='create_acls_cancel'>{t}Cancel{/t}</button>
72     </div>
73 {/if}