Code

Added ACL to loginRestriction
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 14:40:45 +0000 (14:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 14:40:45 +0000 (14:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15803 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/generic.tpl

index 517218efbd0434698a472201c50bcb64e8d353b6..7f1976567fe58ade896b0188d400ff44185e86d3 100644 (file)
      <td>
      
      {if !$multiple_support}
-       {$gosaLoginRestrictionWidget}
+       {render acl=$gosaLoginRestrictionACL}
+         {$gosaLoginRestrictionWidget}
+       {/render}
+        {render acl=$gosaLoginRestrictionACL}
        <input type="text" id="res" name="res" size=22 maxlength=33 
         value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
+       {/render}
+        {render acl=$gosaLoginRestrictionACL}
        <input id="add_res" type="submit" name="add_res" value="{t}Add{/t}">
+       {/render}
+      
      {else}
       <input type='checkbox' name='use_gosaLoginRestriction' {if $use_gosaLoginRestriction} checked {/if}
         onClick='document.mainform.submit();'