X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fusers%2Fclass_divListUsers.inc;h=e63142f8a0c03a85ce7a9a6b212c77557274a47f;hb=ae51e8e71e37806e2cdd913cea201c3751d1086d;hp=8f3ce23c31c8c45285d43b48a343c339ba877ee1;hpb=b033ea64848dd5ca31dc909674ba651d50d874df;p=gosa.git diff --git a/plugins/admin/users/class_divListUsers.inc b/plugins/admin/users/class_divListUsers.inc index 8f3ce23c3..e63142f8a 100644 --- a/plugins/admin/users/class_divListUsers.inc +++ b/plugins/admin/users/class_divListUsers.inc @@ -31,12 +31,6 @@ class divListUsers extends MultiSelectWindow $this->parent = $parent; $this->ui = get_userinfo(); - /* Set default base */ - if(!isset($_SESSION['CurrentMainBase'])){ - $_SESSION['CurrentMainBase'] = $this->config->current['BASE']; - } - $this->selectedBase = $_SESSION['CurrentMainBase']; - /* Set list strings */ $this->SetTitle(_("List of users")); $this->SetSummary(_("List of users")); @@ -58,7 +52,7 @@ class divListUsers extends MultiSelectWindow $this->AddHeader(array("string"=>_("Actions"), "attach" => "style='width:102px;border-right:0px;text-align:right;'")); $this->AddCheckBox("ShowTemplates" ,_("Select to see template pseudo users") ,_("Show templates") , false); - $this->AddCheckBox("ShowFunctionalUsers",_("Select to see users that have only a GOsa object"),_("Show functional users") , true); + $this->AddCheckBox("ShowFunctionalUsers",_("Select to see users that have only a GOsa object"),_("Show functional users") , true); $this->AddCheckBox("ShowUnixUsers" ,_("Select to see users that have posix settings") ,_("Show unix users") , true); $this->AddCheckBox("ShowMailUsers" ,_("Select to see users that have mail settings") ,_("Show mail users") , true); $this->AddCheckBox("ShowSambaUsers" ,_("Select to see users that have samba settings") ,_("Show samba users") , true); @@ -163,9 +157,9 @@ class divListUsers extends MultiSelectWindow "apple-user" => array("VAR"=>"netatalk" ,"IMG"=>"netatalkimg")); /* Pictures for Extensions */ - $usrimg =""; - $posiximg = ""; $eviroimg = ""; @@ -237,7 +231,7 @@ class divListUsers extends MultiSelectWindow $fonac = preg_replace("/%image%/", "select_phone_connected.png", $fonimg); $fonac = preg_replace("/%KEY%/", "$key", $fonac); $fonac = preg_replace("/%title%/", $connected, $fonac); - $ip_port= " - ".$mysql_entry[3].":".$mysql_entry[2]; + #$ip_port= " - ".$mysql_entry[3].":".$mysql_entry[2]; } if((isset($mysql_entry[0]))&&($mysql_entry[0]==0)){ $connected = " | "._("Offline"); @@ -280,11 +274,11 @@ class divListUsers extends MultiSelectWindow } /* Connect all images */ - $UseImg = $usrimg2." ".$posix." ".$enviro." ".$maila." ".$fonac." ".$faxac." ".$samba." ".$netatalk; + $UseImg = $usrimg2." ".$posix." ".$enviro." ".$maila." ".$fonac." ".$faxac." ".$samba." ".$netatalk; /* Create each field */ $field1 = array("string" => sprintf($tpl,$val['dn']), "attach" => "style='text-align:center;width:20px;'"); - $field2 = array("string" => sprintf($editlink,$key,$display).$ip_port, "attach" => "style='' title='dn: ".@LDAP::fix($val['dn'])."'"); + $field2 = array("string" => sprintf($editlink,$key,$display).$ip_port, "attach" => "style='' title='".preg_replace('/ /', ' ', @LDAP::fix($val['dn']))."'"); $field3 = array("string" => $UseImg, "attach" => "style='width:152px;'"); $field4 = array("string" => $s_img_create_from_template.preg_replace("/%KEY%/", "$key", $action), "attach" => "style='width:102px;border-right:0px; text-align:right;'");