Code

Added translation tags to property description.
[gosa.git] / gosa-core / setup / setup_migrate.tpl
1 <div>
2     <div class='default'>
4         {if $method == "default"}
5                         <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}
6                         </p>
8                         {foreach from=$checks item=val key=key}
9                                 <div style='width:98%; padding:4px; background-color:{cycle values="#F0F0F0, #FFF"}'>
11                         {if $checks.$key.ERROR_MSG}
12                                 <!-- Add ability to display info popup -->
13                                 <div class='step2_entry_container_info'>
14                         {else}
15                                 <!-- Normal entry everything is fine -->
16                                 <div class='step2_entry_container'>
17                         {/if}
18                                 <div class='step2_entry_name'><b>{$checks.$key.TITLE}</b></div>
19                                 <div class='step2_entry_status'>
20                                 {if $checks.$key.STATUS}
21                                         <div class='step2_successful'>{$checks.$key.STATUS_MSG}</div>
22                                 {else}
23                                         <div class='step2_failed'>{$checks.$key.STATUS_MSG}</div>
24                                 {/if}
25                                 </div>
26                                         {if $checks.$key.ERROR_MSG}
27                                                 {$checks.$key.ERROR_MSG}
28                                         {/if}
29                                 </div>
30                                 </div>
31                         {/foreach}
32                 <br>
33                 <button type='submit' name='reload'>{t}Check again{/t}</button>
36                 {elseif $method == "rootOC_migrate_dialog"}
38                         <h2>{t}Add required object classes to the LDAP base{/t}</h2>
40                         <b>{t}Current{/t}</b>
41                         <div class="step2_entry_container_info">
42                                 <div style='padding-left:20px;'>
43                                         <pre>{$details.current}</pre>
44                                 </div>
45                         </div>
46                         <br>
47                         <b>{t}After migration{/t}</b>
48                         <div class="step2_entry_container_info">
49                                 <div style='padding-left:20px;'>
50                                         <pre>{$details.target}</pre>
51                                 </div>
52                         </div>
54                         <br>
55                         <button type='submit' name='rootOC_migrate_start'>{t}Migrate{/t}</button>
57                         </p>
58                                 
60                         <hr>    
61                         <div style='width:100%; text-align:right; padding:5px;'>
62                                 <button type='submit' name='rootOC_dialog_cancel'>{t}Close{/t}</button>
64                         </div>
66                 {elseif $method == "create_acls"}
68                 {if $acl_create_selected != "" && $what_will_be_done_now!=""}
69                         <div>
70 <pre>
71 {$what_will_be_done_now}
72 </pre>
73                         </div>          
74                         <button type='submit' name='create_acls_create_confirmed'>{t}Next{/t}</button>
76                         <button type='submit' name='create_acls_create_abort'>{t}Abort{/t}</button>
78                 {else}
79                         <h2>{t}Create a new GOsa administrator account{/t}</h2>
80         
81                         <p>
82                         {t}This dialog will automatically add a new super administrator to your LDAP tree.{/t}
83                         </p>
84                         <table>
85                                 <tr>
86                                         <td>
87                                                 {t}Name{/t}:&nbsp;
88                                         </td>
89                                         <td>
90                                                 <i>System administrator</i>
91                                         </td>
92                                 </tr>
93                                 <tr>
94                                         <td>
95                                                 {t}User ID{/t}:&nbsp;
96                                         </td>
97                                         <td>
98                                                 <input type='text' value='{$new_user_uid}' name='new_user_uid'><br>
99                                         </td>
100                                 </tr>
101                                 <tr>
102                                         <td>
103                                                 {t}Password{/t}:&nbsp;
104                                         </td>
105                                         <td>
106                                                 <input type='password' value='{$new_user_password}' name='new_user_password'><br>
107                                         </td>
108                                 </tr>
109                                 <tr>
110                                         <td>
111                                                 {t}Password (again){/t}:&nbsp;
112                                         </td>
113                                         <td>
115                                                 <input type='password' value='{$new_user_password2}' name='new_user_password2'><br>
116                                         </td>
117                                 </tr>
118                         </table>
119         
120 <!-- Place cursor -->
121 <script language="JavaScript" type="text/javascript">
122   <!-- // First input field on page
123         focus_field('new_user_password');
124   -->
125 </script>
127                         <hr>    
128                         <div style='width:99%; text-align:right; padding:5px;'>
129                                 <button type='submit' name='create_admin_user'>{t}Apply{/t}</button>    
131                                 <button type='submit' name='create_acls_cancel'>{t}Cancel{/t}</button>
133                         </div>
134                         {/if}   
135         {/if}
136     </div>
137 </div>