summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b38442f)
raw | patch | inline | side by side (parent: b38442f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jan 2010 16:09:38 +0000 (16:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jan 2010 16:09:38 +0000 (16:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15063 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index af9eb1fcf1d31242e4cfc4c5fe1909f900465476..fb7d3091dd8baab2d76d59a738b1aa232bed5aaa 100644 (file)
}
-
function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
{
$headpage = $this->getHeadpage();
if(count($target) == 1){
$entry = $headpage->getEntry($target[0]);
if($entry){
- echo $target[0];
- print_a($entry);
if(count($entry['GROUPS']) == 1){
$data = array_pop($entry['GROUPS']);
$type = $this->get_type($data);
}
}
+
function editByGroup()
{
if($this->dialogObject instanceOf faiGroupHandle && $this->dialogObject->get_mode() == "edit"){
+ $this->dialogObject->save_object();
$entry = $this->dialogObject->get_selected();
- $this->editEntryByType(key($entry), array_pop($entry));
+ $this->closeDialogs();
+ $data = array_pop($entry);
+ $type = $this->get_type($data);
+ management::editEntry('editEntry',array($data['dn']),array(),$type[0],$type[2],$type[1]);
}
}
- function editEntryByType($type, $data)
- {
- $this->closeDialogs();
- $type = $this->get_type($data);
- management::editEntry('editEntry',array($data['dn']),array(),$type[0],$type[2],$type[1]);
- }
function detectPostActions()
{
$list = array_merge($list,$this->getReleaseList($release['dn'],$prefix." "));
}
- print_a($_POST);
return($list);
}