X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Fusers%2Fclass_userManagement.inc;h=ab0d224943c7e6a540a8078a42dca0db7b6d3275;hb=933ecbdd14e8e3ce99ca2f57731549304dfdd7b7;hp=0eb5197f37b368e8948ae5c0aa8bb582b5324224;hpb=35ec5f3cb26bd6e7c77e55393ef70fc100228847;p=gosa.git diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 0eb5197f3..ab0d22494 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -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 = ""; @@ -228,11 +228,12 @@ class userManagement extends management 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); - $smarty = get_smarty(); return ($smarty->fetch(get_template_path('password.tpl', TRUE))); } @@ -253,7 +254,6 @@ class userManagement extends management // Display errors if (count($message) != 0){ msg_dialog::displayChecks($message); - $smarty = get_smarty(); return($smarty->fetch(get_template_path('password.tpl', TRUE))); } @@ -738,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").""; }else{ $label= _("Lock account"); } @@ -786,11 +786,9 @@ class userManagement extends management // Walk thru map foreach ($map as $oc => $properties) { if (in_array_ics($oc, $classes)) { - $result.=""; + $result.= image($properties['image'], "listing_edit_".$properties['plugin']."_$row", $properties['title']); } else { - $result.=" "; + $result.= image('images/empty.png'); } } return $result;