Code

Added select all checkbox
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 May 2007 13:06:46 +0000 (13:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 May 2007 13:06:46 +0000 (13:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6348 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/setup_migrate.tpl

index d281788bfd8b8c7b199aba49d99ebf8c50c1f03f..1f596df94bbc55b69a31c4257b957e73b14164d2 100644 (file)
@@ -61,8 +61,8 @@
                                {/if}
                                <br>
                        {/foreach}
-                       <input type='button' value='{t}Select all{/t}' onClick="acl_set_all('^select_winstation_',true)">
-                       <input type='button' value='{t}Select none{/t}' onClick="acl_set_all('^select_winstation_',false)">
+                       <input type='checkbox' id='toggle_calue' onClick="toggle_all_('^select_winstation_','toggle_calue')">
+                       {t}Select all{/t}
                        <p>
                        <b>{t}Move selected windows workstations into the following GOsa department{/t} : </b>
                        <select name='move_winstation_to'>
                                <br>
                        {/foreach}
 
+                       <input type='checkbox' id='toggle_calue' onClick="toggle_all_('^select_group_','toggle_calue')">
+                       {t}Select all{/t}
+                       <br>
                        <p>
-                               <input type='button' value='{t}Select all{/t}' onClick="acl_set_all('^select_group_',true)">
-                               <input type='button' value='{t}Select none{/t}' onClick="acl_set_all('^select_group_',false)">
                         {if $group_details}
                         <input type='submit' name='outside_groups_dialog_refresh' value='{t}Hide changes{/t}'>
                         {else}
                                {/if}
                                <br>
                        {/foreach}
+                       <input type='checkbox' id='toggle_calue' onClick="toggle_all_('^select_user_','toggle_calue')">
+                       {t}Select all{/t}
                        <br>
-                       <input type='button' value='{t}Select all{/t}' onClick="acl_set_all('^select_user_',true)">
-                       <input type='button' value='{t}Select none{/t}' onClick="acl_set_all('^select_user_',false)">
 
                        {if $user_details}
                        <input type='submit' name='outside_users_dialog_refresh' value='{t}Hide changes{/t}'>
@@ -290,8 +291,9 @@ dn: {$deps_to_migrate.$key.dn}
                        {/foreach}
 
                        <br>
-                       <input type='button' value='{t}Select all{/t}' onClick="acl_set_all('^migrate_',true)">
-                       <input type='button' value='{t}Select none{/t}' onClick="acl_set_all('^migrate_',false)">
+                       <input type='checkbox' id='toggle_calue' onClick="toggle_all_('^migrate_','toggle_calue')">
+                       {t}Select all{/t}
+                       <br>
 
                        {if $deps_details}
                        <input type='submit' name='deps_visible_migrate_refresh' value='{t}Hide changes{/t}'>
@@ -340,14 +342,11 @@ dn: {$users_to_migrate.$key.dn}
                                        <input type='checkbox' name='migrate_{$key}' id='migrate_{$key}'>
                                        {$users_to_migrate.$key.dn}
                                {/if}
-
                                <br>
-                               
-
                        {/foreach}
+                       <input type='checkbox' id='toggle_calue' onClick="toggle_all_('^migrate_','toggle_calue')">
+                       {t}Select all{/t}
                        <br>
-            <input type='button' value='{t}Select all{/t}' onClick="acl_set_all('^migrate_',true)">
-            <input type='button' value='{t}Select none{/t}' onClick="acl_set_all('^migrate_',false)">
 
                        {if $user_details}
                        <input type='submit' name='users_visible_migrate_refresh' value='{t}Hide changes{/t}'>