Code

Fixed 'root' department name replacement
[gosa.git] / gosa-core / plugins / admin / users / class_userManagement.inc
index c4ca4e77bf5001b6a47bf22452925c4d623f4b39..ab0d224943c7e6a540a8078a42dca0db7b6d3275 100644 (file)
@@ -23,7 +23,7 @@
 class userManagement extends management
 {
   var $plHeadline     = "Users";
-  var $plDescription  = "Manage users";
+  var $plDescription  = "Manage aspects of user accounts like generic, posix, samba and mail settings";
   var $plIcon  = "plugins/users/images/user.png";
 
   var $sn = "";
@@ -42,8 +42,6 @@ class userManagement extends management
   protected $aclPlugin   = "user";
   protected $objectName   = "user";
 
-  protected $releaseSelector = NULL;
-
   function __construct($config,$ui)
   {
     $this->config = $config;
@@ -104,25 +102,9 @@ class userManagement extends management
     $this->registerAction("edit_environment","editEntry");
     $this->registerAction("edit_gofaxAccount","editEntry");
     $this->registerAction("edit_phoneAccount","editEntry");
-      
-    $rel = array("a" => "/");
-    $rel['b,a'] = "test";
-    $rel['c,a'] = "test/f";
-    $this->releaseSelector = new releaseSelector($rel, "a");
-  }
-
-
-  function renderList()
-  {
-    $smarty = get_smarty();
-    $smarty->assign("RELEASE", $this->releaseSelector->render());
-    return(management::renderList());
   }
 
 
-
   // Inject user actions 
   function detectPostActions()
   {
@@ -756,7 +738,7 @@ class userManagement extends management
     $label= "";
     if(isset($userPassword[0]) && preg_match("/^\{[^\}]/",$userPassword[0])){
       if(preg_match("/^[^\}]*+\}!/",$userPassword[0])){
-        $label= _("Unlock account");
+        $label= _("Unlock account")."<rowClass:entry-locked/>";
       }else{
         $label= _("Lock account");
       }