Code

Updated trustModes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Apr 2010 09:27:31 +0000 (09:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Apr 2010 09:27:31 +0000 (09:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17496 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/groups/generic.tpl

index 38c1a48cc663e68ddddf955b247d47e8e066f528..5e4c64ade37dde90b4453549106bbcdbb49559e0 100644 (file)
     <tr>
       <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
     </tr>
-{if !$multiple_support}
-       <tr>
-        <td colspan="2">
-                   {t}Trust mode{/t}&nbsp;
-    {render acl=$trustmodeACL}
-        <select name="trustmode" id="trustmode" size=1
-            onChange="changeSelectState('trustmode', 'wslist');
-                      changeSelectState('trustmode', 'add_ws');
-                      changeSelectState('trustmode', 'del_ws');">
-          {html_options options=$trustmodes selected=$trustmode}
-        </select>
-    {/render}
-    {render acl=$trustmodeACL}
-       <select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple {$trusthide}>
-        {html_options values=$workstations output=$workstations}
-        {if $emptyArrAccess}
-            <option disabled>&nbsp;</option>
-        {/if}
-       </select>
-    {/render}
-       <br>
-    {render acl=$trustmodeACL}
-       <button {$trusthide} type='submit' name='add_ws' id="add_ws">{msgPool type=addButton}</button>&nbsp;
-
-    {/render}
-    {render acl=$trustmodeACL}
-       <button {$trusthide} type='submit' name='delete_ws' id="del_ws">{msgPool type=delButton}</button>
-
-    {/render}
-
-        </td>
-       </tr>
-
-{else}
-
-       <tr>
-        <td colspan="2">
-    <input type="checkbox" name="use_trustmode" {if $use_trustmode} checked {/if}
-        class="center" onClick="$('div_trustmode').toggle();">
-                   {t}Trust mode{/t}&nbsp;
-       <div {if !$use_trustmode} style="display: none;" {/if} id="div_trustmode">
-    {render acl=$trustmodeACL}
-        <select name="trustmode" id="trustmode" size=1
-            onChange="changeSelectState('trustmode', 'wslist');
-                      changeSelectState('trustmode', 'add_ws');
-                      changeSelectState('trustmode', 'del_ws');">
-          {html_options options=$trustmodes selected=$trustmode}
-        </select>
-    {/render}
-    {render acl=$trustmodeACL}
-       <select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple {$trusthide}>
-        {html_options values=$workstations output=$workstations}
-        {if $emptyArrAccess}
-            <option disabled>&nbsp;</option>
-        {/if}
-       </select>
-    {/render}
-       <br>
-    {render acl=$trustmodeACL}
-       <button type='submit' name='add_ws' id="add_ws">{msgPool type=addButton}</button>&nbsp;
-
-    {/render}
-    {render acl=$trustmodeACL}
-       <button type='submit' name='delete_ws' id="del_ws">{msgPool type=delButton}</button>
-
-    {/render}
-               </div>
-        </td>
-       </tr>
-
-{/if}
+    <tr>
+      <td colspan=2>{$trustModeDialog}</td>
+    </tr>
    </table>
 
   </td>