From: hickert Date: Thu, 10 May 2007 13:18:32 +0000 (+0000) Subject: Added select all checkbox X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c4040d5de4a76b586699b7a4a173c1aeefaa8609;p=gosa.git Added select all checkbox git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6349 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/include/focus.js b/html/include/focus.js index 874b3ff28..14452204c 100644 --- a/html/include/focus.js +++ b/html/include/focus.js @@ -15,6 +15,12 @@ for (iln = 0; iln < len; iln++){ } netscape= (ver.charAt(iln+1).toUpperCase() != "C"); +function toggle_all_(regex,state_object) +{ + state = document.getElementById(state_object).checked; + chk_set_all(regex, state); +} + /* Toggle checkbox that matches regex */ function chk_set_all(regex,value) diff --git a/setup/setup_migrate.tpl b/setup/setup_migrate.tpl index a20675eb9..5f94ddcbc 100644 --- a/setup/setup_migrate.tpl +++ b/setup/setup_migrate.tpl @@ -61,8 +61,8 @@ {/if}
{/foreach} - - + + {t}Select all{/t}

{t}Move selected windows workstations into the following GOsa department{/t} : +  {t}Select all{/t}

- - {if $group_details} {else} @@ -168,9 +167,9 @@ {/if}
{/foreach} + +  {t}Select all{/t}
- - {if $user_details} @@ -289,12 +288,11 @@ dn: {$deps_to_migrate.$key.dn} {$deps_to_migrate.$key.dn} {/if} - +
{/foreach} - + + {t}Select all{/t}
- - {if $deps_details} @@ -343,14 +341,11 @@ dn: {$users_to_migrate.$key.dn} {$users_to_migrate.$key.dn} {/if} -
- - {/foreach} + + {t}Select all{/t}
- - {if $user_details}