Code

Hide trust add/remove buttons while list is disabled
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 14:23:14 +0000 (14:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 14:23:14 +0000 (14:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17118 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/posix/generic.tpl
gosa-core/plugins/personal/posix/groupSelect/class_groupSelect.inc

index 1692f4b3e6ff3510e7b426e136e0a75f1236bd21..42e3d1da0143a2e25db4bacc6821ee7937f9b4ca 100644 (file)
 {/render}
 <br>
 {render acl=$trustmodeACL}
-<button type='submit' name='add_ws' id="add_ws">{msgPool type=addButton}</button>&nbsp;
+<button {$trusthide} 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>
+<button {$trusthide} type='submit' name='delete_ws' id="del_ws">{msgPool type=delButton}</button>
 
 {/render}
 
index 2c98adada43047b617227f3d15ae71251fa518ea..a44296cf150d59af914024c8259075e4384ba6a7 100644 (file)
@@ -26,6 +26,8 @@ class groupSelect extends management
   protected $skipFooter = TRUE;
   protected $skipHeader = TRUE;
 
+  var $plHeadline = "Group selection";
+
   function __construct($config,$ui)
   {
     $this->config = $config;