diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index c4ca4e77bf5001b6a47bf22452925c4d623f4b39..ab0d224943c7e6a540a8078a42dca0db7b6d3275 100644 (file)
class userManagement extends management
{
var $plHeadline = "Users";
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 = "";
var $plIcon = "plugins/users/images/user.png";
var $sn = "";
protected $aclPlugin = "user";
protected $objectName = "user";
protected $aclPlugin = "user";
protected $objectName = "user";
- protected $releaseSelector = NULL;
-
function __construct($config,$ui)
{
$this->config = $config;
function __construct($config,$ui)
{
$this->config = $config;
$this->registerAction("edit_environment","editEntry");
$this->registerAction("edit_gofaxAccount","editEntry");
$this->registerAction("edit_phoneAccount","editEntry");
$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()
{
// Inject user actions
function detectPostActions()
{
$label= "";
if(isset($userPassword[0]) && preg_match("/^\{[^\}]/",$userPassword[0])){
if(preg_match("/^[^\}]*+\}!/",$userPassword[0])){
$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");
}
}else{
$label= _("Lock account");
}