summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 34aead3)
raw | patch | inline | side by side (parent: 34aead3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 May 2007 13:35:06 +0000 (13:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 May 2007 13:35:06 +0000 (13:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6310 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Migrate.inc | patch | blob | history | |
setup/setup_migrate.tpl | patch | blob | history |
index 28dc33c92cbae9bb1f31d135f47b22ed20efa3f8..41d2a4850ca119367b2d1963684049cc192ed787 100644 (file)
/* Refresh list of deparments */
if(isset($_POST['deps_visible_migrate_refresh'])){
$this->check_organizationalUnits();
+ $this->show_details= FALSE;
}
/* Open migration dialog */
index e3873f8b237e46dced553e2767e1c60c3dc336d9..e2f5dd34ae51b840459683794f47c31754ef989c 100644 (file)
--- a/setup/setup_migrate.tpl
+++ b/setup/setup_migrate.tpl
{foreach from=$outside_winstations item=val key=key}
{if $outside_winstations.$key.selected}
- <input type='checkbox' name='select_winstation_{$key}' checked>
+ <input id='select_winstation_{$key}' type='checkbox' name='select_winstation_{$key}' checked>
{else}
- <input type='checkbox' name='select_winstation_{$key}'>
+ <input id='select_winstation_{$key}' type='checkbox' name='select_winstation_{$key}'>
{/if}
{$outside_winstations.$key.dn}
{/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)">
<p>
<b>{t}Move selected windows workstations into the following GOsa department{/t} : </b>
<select name='move_winstation_to'>
{foreach from=$outside_groups item=val key=key}
{if $outside_groups.$key.selected}
- <input type='checkbox' name='select_group_{$key}' checked>
+ <input id='select_group_{$key}' type='checkbox' name='select_group_{$key}' checked>
{else}
- <input type='checkbox' name='select_group_{$key}'>
+ <input id='select_group_{$key}' type='checkbox' name='select_group_{$key}'>
{/if}
{$outside_groups.$key.dn}
{/foreach}
<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}
</p>
{foreach from=$outside_users item=val key=key}
{if $outside_users.$key.selected}
- <input type='checkbox' name='select_user_{$key}' checked>
+ <input id='select_user_{$key}' type='checkbox' name='select_user_{$key}' checked>
{else}
- <input type='checkbox' name='select_user_{$key}'>
+ <input id='select_user_{$key}' type='checkbox' name='select_user_{$key}'>
{/if}
{$outside_users.$key.dn}
<br>
{/foreach}
<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}'>
{else}
{foreach from=$deps_to_migrate item=val key=key}
{if $deps_to_migrate.$key.checked}
- <input type='checkbox' name='migrate_{$key}' checked>
+ <input id='migrate_{$key}' type='checkbox' name='migrate_{$key}' checked>
{$deps_to_migrate.$key.dn}
{if $deps_to_migrate.$key.after != ""}
<div class="step2_entry_container_info" id="sol_8">
</div>
{/if}
{else}
- <input type='checkbox' name='migrate_{$key}'>
+ <input id='migrate_{$key}' type='checkbox' name='migrate_{$key}'>
{$deps_to_migrate.$key.dn}
{/if}
{/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)">
+
{if $deps_details}
<input type='submit' name='deps_visible_migrate_refresh' value='{t}Hide changes{/t}'>
{else}
{foreach from=$users_to_migrate item=val key=key}
{if $users_to_migrate.$key.checked}
- <input type='checkbox' name='migrate_{$key}' checked>
+ <input type='checkbox' name='migrate_{$key}' checked id='migrate_{$key}'>
{$users_to_migrate.$key.dn}
{if $users_to_migrate.$key.after != ""}
<div class="step2_entry_container_info" id="sol_8">
</div>
{/if}
{else}
- <input type='checkbox' name='migrate_{$key}'>
+ <input type='checkbox' name='migrate_{$key}' id='migrate_{$key}'>
{$users_to_migrate.$key.dn}
{/if}
{/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)">
{if $user_details}
<input type='submit' name='users_visible_migrate_refresh' value='{t}Hide changes{/t}'>