Code

Fixed grexout for system trust
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Aug 2006 05:10:05 +0000 (05:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Aug 2006 05:10:05 +0000 (05:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4404 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/posix/class_posixAccount.inc
plugins/personal/posix/generic.tpl

index bf5a6c837e6fb69ec390c4273378e84418cbc37c..c53f6bcd93d04504723578bd12ebbe70d4221791 100644 (file)
@@ -549,6 +549,7 @@ class posixAccount extends plugin
     $smarty->assign("status", $this->status);
 
     /* Work on trust modes */
+    $smarty->assign("trusthide", " disabled ");
     $smarty->assign("trustmodeACL",  $this->getacl("trustModel",$SkipWrite));
     if ($this->trustModel == "fullaccess"){
       $trustmode= 1;
index 27ec82fbd408913f1d644951b63b994298372f92..7f55d6ec8079680df63b37b5e58be6782661e280 100644 (file)
     </select>
        {/render}
        {render acl=$trustmodeACL}
-   <select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple>
+   <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>
        {/render}
    <br>
        {render acl=$trustmodeACL}
-   <input type="submit" id="add_ws" value="{t}Add{/t}" name="add_ws">&nbsp;
+   <input type="submit" id="add_ws" value="{t}Add{/t}" name="add_ws" {$trusthide}>&nbsp;
        {/render}
        {render acl=$trustmodeACL}
-   <input type="submit" id="del_ws" value="{t}Delete{/t}" name="delete_ws">
+   <input type="submit" id="del_ws" value="{t}Delete{/t}" name="delete_ws" {$trusthide}>
        {/render}
   </td>
  </tr>