Code

removed unique remove templates, added one in the theme directory
[gosa.git] / gosa-core / setup / setup_migrate.tpl
index a1652162b9a68c031e19f277660349369f0faf8f..94b999b58e253db266f975259ae16358cf962bdf 100644 (file)
                <br>
                <input type='submit' name='reload' value='{t}Check again{/t}'>
 
+               {elseif $method == "rootOC_migrate_dialog"}
+
+                       <h2>{t}Add required object classes to the LDAP base{/t}</h2>
+
+                       <b>{t}Current{/t}</b>
+                       <div class="step2_entry_container_info">
+                               <div style='padding-left:20px;'>
+                                       <pre>{$details.current}</pre>
+                               </div>
+                       </div>
+                       <br>
+                       <b>{t}After migration{/t}</b>
+                       <div class="step2_entry_container_info">
+                               <div style='padding-left:20px;'>
+                                       <pre>{$details.target}</pre>
+                               </div>
+                       </div>
+
+                       <br>
+                       <input type='submit' name='rootOC_migrate_start' value='{t}Migrate{/t}'>
+                       </p>
+                               
+
+                       <hr>    
+                       <div style='width:100%; text-align:right; padding:5px;'>
+                               <input type='submit' name='rootOC_dialog_cancel' value='{t}Close{/t}'>
+                       </div>
+
                {elseif $method == "outside_winstations"}
 
                        <h2>{t}Move windows workstations into a valid windows workstation department{/t}</h2>
                        </p>
                                
 
-                       <p class='seperator'>&nbsp;</p> 
+                       <hr>    
                        <div style='width:100%; text-align:right; padding:5px;'>
                                <input type='submit' name='outside_winstations_dialog_cancel' value='{t}Close{/t}'>
                        </div>
                         {t}This dialog allows moving a couple of groups to the configured group tree. Doing this may straighten your LDAP service.{/t}
                         </p>
                         <p style='color:red'>
-                        {t}Be careful with this option! There may be references pointing to these groups. The GOsa setup can't migrate references, so you may want to cancel the migration in this case in this case.{/t}
+                        {t}Be careful with this option! There may be references pointing to these groups. The GOsa setup can't migrate references, so you may want to cancel the migration in this case.{/t}
                         </p>
                        <p>
                        {t}Move selected groups into this group tree{/t}: 
                         {/if}
                        </p>
 
-                       <p class='seperator'>&nbsp;</p> 
+                       <hr>    
                        <div style='width:99%; text-align:right; padding:5px;'>
                                <input type='submit' name='outside_groups_dialog_perform' value='{t}Apply{/t}'>
                                &nbsp;
                        <input type='submit' name='outside_users_dialog_whats_done' value='{t}Show changes{/t}'>
                        {/if}
 
-                       <p class='seperator'>&nbsp;</p> 
+                       <hr>    
                        <div style='width:99%; text-align:right; padding:5px;'>
                                <input type='submit' name='outside_users_dialog_perform' value='{t}Apply{/t}'>
                                &nbsp;
                        </div>
                
 
+               {elseif $method == "migrate_acls"}
+                       <h2>{t}Migrate GOsa 2.5 administrative accounts{/t}</h2>
+            <p>
+            {t}This dialog allows the migration of GOsa 2.5 admin accounts into GOsa 2.6 useable accounts.{/t}
+            </p>
+                       <table> 
+                               <tr>    
+                                       <td></td>
+                                       <td></td>
+                               </tr>
+                       {foreach from=$migrateable_users item=item key=key}
+                               <tr>
+                                       <td><input type='checkbox' name='migrate_admin_{$key}' value='{$key}' {if $item.checked} checked {/if}></td>
+                                       <td>{$item.dn}</td>
+                               </tr>
+                       {/foreach}
+                       </table>
+
+                       {if !$details}
+                               <input type='submit' name='migrate_acls_show_changes' value='{t}Show changes{/t}'>
+                               <input type='hidden' name='details' value='0'>
+                       {else}
+                               <input type='hidden' name='details' value='1'>
+
+                               <br>
+                               <div class="step2_entry_container_info">
+                               {t}Current{/t}
+                               <div style='padding-left:20px;'>
+                                       <pre>{$migrate_acl_base_entry}</pre>
+                               </div>
+                               {t}After migration{/t}
+                               <div style='padding-left:20px;'>
+                                       <pre>{$migrate_acl_base_entry}{foreach from=$migrateable_users item=item key=key}{if $item.checked}<b>{$item.details}</b>{/if}{/foreach}</pre>
+                               </div>
+                               </div>
+                               <br>
+                               <input type='submit' name='migrate_acls_hide_changes' value='{t}Hide changes{/t}'>
+                       {/if}
+
+                       <input type='submit' value="{t}Reload{/t}">
+                       <hr>    
+                       <div style='width:99%; text-align:right; padding:5px;'>
+                               <input type='submit' name='migrate_admin_user' value='{t}Apply{/t}'>    
+                               <input type='submit' name='migrate_acls_cancel' value='{t}Cancel{/t}'>
+                       </div>
+
                {elseif $method == "create_acls"}
 
                {if $acl_create_selected != "" && $what_will_be_done_now!=""}
                                                {t}Password (again){/t}:&nbsp;
                                        </td>
                                        <td>
+
                                                <input type='password' value='{$new_user_password2}' name='new_user_password2'><br>
                                        </td>
                                </tr>
   -->
 </script>
 
-                       <p class='seperator'>&nbsp;</p> 
+                       <hr>    
                        <div style='width:99%; text-align:right; padding:5px;'>
                                <input type='submit' name='create_admin_user' value='{t}Apply{/t}'>     
                                <input type='submit' name='create_acls_cancel' value='{t}Cancel{/t}'>
        
                        <h2>Department migration</h2>
 
-                       <p>{t}The listed departments are currenlty invisble in the GOsa user interface. If you want to change this for a couple of entries, select them and use the migrate button below.{/t}</p>
+                       <p>{t}The listed departments are currently invisible in the GOsa user interface. If you want to change this for a couple of entries, select them and use the migrate button below.{/t}</p>
                        <p>{t}If you want to know what will be done when migrating the selected entries, use the 'Show changes' button to see the LDIF.{/t}</p>
                                        
                        {foreach from=$deps_to_migrate item=val key=key}
@@ -299,7 +374,7 @@ dn: {$deps_to_migrate.$key.dn}
                        <input type='submit' name='deps_visible_migrate_whatsdone' value='{t}Show changes{/t}'>
                        {/if}
 
-                       <p class='seperator'>&nbsp;</p> 
+                       <hr>    
 
                        <div style='width:99%; text-align:right; padding:5px;'>
                                <input type='submit' name='deps_visible_migrate_migrate' value='{t}Apply{/t}'>
@@ -310,7 +385,7 @@ dn: {$deps_to_migrate.$key.dn}
        
                        <h2>User migration</h2>
 
-                       <p>{t}The listed users are currenlty invisble in the GOsa user interface. If you want to change this for a couple of users, just select them and use the 'Migrate' button below.{/t}</p>
+                       <p>{t}The listed users are currently invisible in the GOsa user interface. If you want to change this for a couple of users, just select them and use the 'Migrate' button below.{/t}</p>
                        <p>{t}If you want to know what will be done when migrating the selected entries, use the 'Show changes' button to see the LDIF.{/t}</p>
                        {foreach from=$users_to_migrate item=val key=key}
 
@@ -352,13 +427,145 @@ dn: {$users_to_migrate.$key.dn}
                        <input type='submit' name='users_visible_migrate_whatsdone' value='{t}Show changes{/t}'>
                        {/if}
 
-                       <p class='seperator'>&nbsp;</p> 
+                       <hr>    
 
                        <div style='width:99%; text-align:right; padding-top:5px;'>
                                <input type='submit' name='users_visible_migrate_migrate' value='{t}Apply{/t}'>
                                &nbsp;
                                <input type='submit' name='users_visible_migrate_close' value='{t}Cancel{/t}'>
                        </div>
+
+
+       {elseif $method == "devices"}
+
+
+                       <h2>Devices</h2>
+
+                       <p>{t}The listed devices are currently invisible in the GOsa interface. If you want to change this for a couple of devices, just select them and use the 'Migrate' button below.{/t}</p>
+                       <p>{t}If you want to know what will be done when migrating the selected entries, use the 'Show changes' button to see the LDIF.{/t}</p>
+               {foreach from=$devices item=item key=key}
+               <input type='checkbox' name='migrate_{$key}' id='migrate_{$key}' {if $item.DETAILS} checked {/if}>
+                               <b>{$item.DEVICE_NAME}</b>
+                                - {$item.DN} 
+
+                               {if $item.DETAILS && $device_details}
+                                       <div class="step2_entry_container_info">
+                                               <b>{t}Current{/t}</b>
+                                               <pre>{$item.CURRENT}</pre>
+       
+                                               
+                                               <b>{t}After migration{/t}</b>
+                                               <pre>{$item.AFTER}</pre>
+                                       </div>
+                               {/if}
+                       <br>
+               {/foreach}
+               <input type='checkbox' id='toggle_calue' onClick="toggle_all_('^migrate_','toggle_calue')">
+               {t}Select all{/t}
+       
+               <br>
+
+               {if $device_details}
+                       <input type='submit' name='device_dialog_refresh' value='{t}Hide changes{/t}'>
+                       <input type='submit' name='dummy_11' value='{t}Refresh{/t}'>
+               {else}
+                       <input type='submit' name='device_dialog_whats_done' value='{t}Show changes{/t}'>
+               {/if}
+
+               <hr>    
+
+               <div style='width:99%; text-align:right; padding-top:5px;'>
+                       <input type='submit' name='migrate_devices' value='{t}Apply{/t}'>
+                       &nbsp;
+                       <input type='submit' name='device_dialog_cancel' value='{t}Cancel{/t}'>
+               </div>
+
+       {elseif $method == "services"}
+
+
+                       <h2>Services</h2>
+
+                       <p>{t}The listed services are currently invalid for the GOsa version you are going to install. If you want to update a couple of service, just select them and use the 'Migrate' button below.{/t}</p>
+                       <p>{t}If you want to know what will be done when migrating the selected entries, use the 'Show changes' button to see the LDIF.{/t}</p>
+               {foreach from=$services item=item key=key}
+               <input type='checkbox' name='migrate_{$key}' id='migrate_{$key}' {if $item.DETAILS} checked {/if}>
+                               <b>{$item.DN}</b>
+
+                               {if $item.DETAILS && $service_details}
+                                       <div class="step2_entry_container_info">
+                                               <b>{t}Current{/t}</b>
+                                               <pre>{$item.CURRENT}</pre>
+       
+                                               
+                                               <b>{t}After migration{/t}</b>
+                                               <pre>{$item.AFTER}</pre>
+                                       </div>
+                               {/if}
+                       <br>
+               {/foreach}
+               <input type='checkbox' id='toggle_calue' onClick="toggle_all_('^migrate_','toggle_calue')">
+               {t}Select all{/t}
+       
+               <br>
+
+               {if $service_details}
+                       <input type='submit' name='service_dialog_refresh' value='{t}Hide changes{/t}'>
+                       <input type='submit' name='dummy_11' value='{t}Refresh{/t}'>
+               {else}
+                       <input type='submit' name='service_dialog_whats_done' value='{t}Show changes{/t}'>
+               {/if}
+
+               <hr>    
+
+               <div style='width:99%; text-align:right; padding-top:5px;'>
+                       <input type='submit' name='migrate_services' value='{t}Apply{/t}'>
+                       &nbsp;
+                       <input type='submit' name='service_dialog_cancel' value='{t}Cancel{/t}'>
+               </div>
+
+
+       {elseif $method == "menus"}
+
+
+                       <h2>Application menus</h2>
+
+                       <p>{t}The listed menus are currently invisible in the GOsa interface. If you want to change this for a couple of devices, just select them and use the 'Migrate' button below.{/t}</p>
+                       <p>{t}If you want to know what will be done when migrating the selected entries, use the 'Show changes' button to see the LDIF.{/t}</p>
+               {foreach from=$menus item=item key=key}
+               <input type='checkbox' name='migrate_{$key}' id='migrate_{$key}' {if $item.DETAILS} checked {/if}>
+                               <b>{$item.DN}</b>
+
+                               {if $item.DETAILS && $menu_details}
+                                       <div class="step2_entry_container_info">
+                                               <b>{t}Current{/t}</b>
+                                               <pre>{$item.CURRENT}</pre>
+       
+                                               
+                                               <b>{t}After migration{/t}</b>
+                                               <pre>{$item.AFTER}</pre>
+                                       </div>
+                               {/if}
+                       <br>
+               {/foreach}
+               <input type='checkbox' id='toggle_calue' onClick="toggle_all_('^migrate_','toggle_calue')">
+               {t}Select all{/t}
+       
+               <br>
+
+               {if $menu_details}
+                       <input type='submit' name='menu_dialog_refresh' value='{t}Hide changes{/t}'>
+                       <input type='submit' name='dummy_11' value='{t}Refresh{/t}'>
+               {else}
+                       <input type='submit' name='menu_dialog_whats_done' value='{t}Show changes{/t}'>
+               {/if}
+
+               <hr>    
+
+               <div style='width:99%; text-align:right; padding-top:5px;'>
+                       <input type='submit' name='migrate_menus' value='{t}Apply{/t}'>
+                       &nbsp;
+                       <input type='submit' name='menu_dialog_cancel' value='{t}Cancel{/t}'>
+               </div>
        {/if}
     </div>
 </div>