summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6cfec50)
raw | patch | inline | side by side (parent: 6cfec50)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Nov 2005 08:47:43 +0000 (08:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Nov 2005 08:47:43 +0000 (08:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1917 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofax/faxaccount/class_gofaxAccount.inc | patch | blob | history |
diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc
index 1bf67f713d7de80be482f8fc5fc3db230a372a7a..70cbdf9ba7d83cd07ca92f3a5615cde7bb8d21b3 100644 (file)
$base_back = preg_replace("/^[^,]+,/","",$base);
- if(strlen($base_back)>= strlen($this->config->current['BASE'])){
+ if((strlen($base_back)>= strlen($this->config->current['BASE']))&&($base!=$this->config->current['BASE'])){
$this->departments[preg_replace("/^[^,]+,/","",$base)] = ".. - ["._("back")."]";
}
while($value = $ldap->fetch()){
}
$field1 = array("string" => "<img src='images/folder.png' alt='department'>","attach"=>"style='width:16px;text-align:center;'");
- $field2 = array("string" => sprintf($linkopen,base64_encode($key),$val),"attach"=>" colspan=2 style='border:none'");
+ $field2 = array("string" => sprintf($linkopen,base64_encode($key),$val),"attach"=>" style='border:none'");
$divSel->AddEntry(array($field1,$field2));
}
foreach($list as $entry => $value){
$divSel->AddEntry(array(
array("string"=>"<input type='checkbox' value='".base64_encode($entry)."' name='ADDLIST_".base64_encode($entry)."'>"),
- array("string"=>$entry),
array("string"=>$value,"attach"=>"style='border:0px;'")
));
}
$base_back = preg_replace("/^[^,]+,/","",$base);
- if(strlen($base_back)>= strlen($this->config->current['BASE'])){
+ if((strlen($base_back)>= strlen($this->config->current['BASE']))&&($base!=$this->config->current['BASE'])){
$this->departments[preg_replace("/^[^,]+,/","",$base)] = ".. - ["._("back")."]";
}
while($value = $ldap->fetch()){
}
$field1 = array("string" => "<img src='images/folder.png' alt='department'>","attach"=>"style='width:16px;text-align:center;'");
- $field2 = array("string" => sprintf($linkopen,base64_encode($key),$val),"attach"=>" colspan=2 style='border:none'");
+ $field2 = array("string" => sprintf($linkopen,base64_encode($key),$val),"attach"=>" style='border:none'");
$divSel->AddEntry(array($field1,$field2));
}
foreach($list as $entry => $value){
$divSel->AddEntry(array(
array("string"=>"<input type='checkbox' value='".base64_encode($entry)."' name='ADDLIST_".base64_encode($entry)."'>"),
- array("string"=>$entry),
array("string"=>$value,"attach"=>"style='border:0px;'")
));
}