diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index 0eb5197f37b368e8948ae5c0aa8bb582b5324224..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 = "";
function handlePasswordQueue()
{
function handlePasswordQueue()
{
+ $smarty = get_smarty();
+
// Get next entry from queue.
if(empty($this->dn) && count($this->pwd_change_queue)){
$this->dn = array_pop($this->pwd_change_queue);
set_object_info($this->dn);
// Get next entry from queue.
if(empty($this->dn) && count($this->pwd_change_queue)){
$this->dn = array_pop($this->pwd_change_queue);
set_object_info($this->dn);
- $smarty = get_smarty();
return ($smarty->fetch(get_template_path('password.tpl', TRUE)));
}
return ($smarty->fetch(get_template_path('password.tpl', TRUE)));
}
// Display errors
if (count($message) != 0){
msg_dialog::displayChecks($message);
// Display errors
if (count($message) != 0){
msg_dialog::displayChecks($message);
- $smarty = get_smarty();
return($smarty->fetch(get_template_path('password.tpl', TRUE)));
}
return($smarty->fetch(get_template_path('password.tpl', TRUE)));
}
$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");
}
// Walk thru map
foreach ($map as $oc => $properties) {
if (in_array_ics($oc, $classes)) {
// Walk thru map
foreach ($map as $oc => $properties) {
if (in_array_ics($oc, $classes)) {
- $result.="<input class='center' type='image' src='".$properties['image']."' ".
- "alt='".$properties['alt']."' title='".$properties['title'].
- "' name='listing_edit_".$properties['plugin']."_$row' style='padding:1px'>";
+ $result.= image($properties['image'], "listing_edit_".$properties['plugin']."_$row", $properties['title']);
} else {
} else {
- $result.="<img src='images/empty.png' alt=' ' class='center' style='padding:1px'>";
+ $result.= image('images/empty.png');
}
}
return $result;
}
}
return $result;