summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a1b341)
raw | patch | inline | side by side (parent: 0a1b341)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Oct 2007 06:47:19 +0000 (06:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Oct 2007 06:47:19 +0000 (06:47 +0000) |
Removed code part, which added the ".." entry to the management list.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7525 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7525 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentManagement.inc | patch | blob | history | |
plugins/admin/groups/class_groupApplication.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index 98f0cb25355da10855e98a49deb012630b897cf9..5c715a2c482d0a3550f7ae5d2cd1cb2e12db1c13 100644 (file)
$base = $this->DivListDepartment->selectedBase;
$base_back = preg_replace("/^[^,]+,/","",$base);
$Regex = $this->DivListDepartment->Regex;
+ $this->departments= array();
- // Create Array to Test if we have a valid back button
- $tmp = $_SESSION['config']->idepartments;
-
- // In case of a valid back button create entry
- if(isset($tmp[$base_back])){
- $tmp2 ['dn'] = convert_department_dn($base_back);
-
- // If empty always go to top
- if(empty($tmp2['dn'])){
- $tmp2['dn']="/";
- }
- $tmp2 ['description'][0] = _("..");
- $result[$tmp[$base_back]]=$tmp2;
- }
-
if($this->DivListDepartment->SubSearch){
$res= get_list("(&(|(ou=$Regex)(description=$Regex))(objectClass=gosaDepartment))",
$this->ui->subtreeACL, $base, array("ou", "description"), GL_SIZELIMIT | GL_SUBSEARCH);
$this->ui->subtreeACL, $base, array("ou", "description"), GL_SIZELIMIT );
}
- $this->departments= array();
foreach ($res as $key => $value){
/* Don't display base as entry on subsearch */
diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc
index 88d4d41a56fbf50d11643c238af8bd4fedddac1e..f515337fcdfc47168947e39e4e91bcddc2a91def 100644 (file)
for($i = 0 ; $i < ($cnt -1 ) ; $i++){
$bbk .= $tmp[$i];
}
- $div2 ->AddEntry(array(array("string"=>sprintf($linkopen,base64_encode($bbk),"..")),array("string"=>" ","attach"=>"style='border-right:0px;'")));
+ $div2 ->AddEntry(array(array("string"=>sprintf($linkopen,base64_encode($bbk),".. ["._("Back")."]")),array("string"=>" ","attach"=>"style='border-right:0px;'")));
}
$this->GetSubdirs($this->curCatDir);