From: hickert Date: Mon, 29 Aug 2005 07:23:33 +0000 (+0000) Subject: Fixes shurtcuts in userlist X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dee30d5f47464df60994bcf924ca4db6f9909079;p=gosa.git Fixes shurtcuts in userlist git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1239 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index 0f812e6a4..e1330e885 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -828,7 +828,7 @@ class userManagement extends plugin $tpl=$userimg; } - $usrimg = preg_replace("/%KEY%/", "$key", $usrimg); + $usrimg2 = preg_replace("/%KEY%/", "$key", $usrimg); // Generate caption for rows if (isset($val["sn"]) && isset($val["givenName"])){ @@ -840,7 +840,7 @@ class userManagement extends plugin /* Create each field */ $field1 = array("string" => sprintf($tpl,$val['dn']),"attach"=>"style='width:20px;align:middle;'"); $field2 = array("string" => sprintf($editlink,$key,$display).$ip_port,"attach"=>"title='".$val['dn']."'"); - $field3 = array("string" => $usrimg." ".$posix." ".$enviro." ".$maila." ".$fonac." ".$faxac." ".$samba." ".$s_img_create_from_template, "attach" => "style='width:138px;'"); + $field3 = array("string" => $usrimg2." ".$posix." ".$enviro." ".$maila." ".$fonac." ".$faxac." ".$samba." ".$s_img_create_from_template, "attach" => "style='width:138px;'"); $field4 = array("string" => preg_replace("/%KEY%/", "$key", $action),"attach" => "style='border:none; text-align:right;width:48px'"); $add = array($field1,$field2,$field3,$field4);