Code

removed unique remove templates, added one in the theme directory
[gosa.git] / gosa-core / setup / setup_migrate.tpl
index 1c255e04dd1a1f327fa377301183b0e3eb5dc6c3..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>
                         {/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!=""}
   -->
 </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}'>
@@ -300,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}'>
@@ -311,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}
 
@@ -353,7 +427,7 @@ 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}'>
@@ -365,9 +439,9 @@ dn: {$users_to_migrate.$key.dn}
        {elseif $method == "devices"}
 
 
-                       <h2>User devices</h2>
+                       <h2>Devices</h2>
 
-                       <p>{t}The listed devices are currenlty invisble 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}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}>
@@ -398,13 +472,100 @@ dn: {$users_to_migrate.$key.dn}
                        <input type='submit' name='device_dialog_whats_done' 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='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>