summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a78402)
raw | patch | inline | side by side (parent: 4a78402)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Dec 2008 13:45:48 +0000 (13:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Dec 2008 13:45:48 +0000 (13:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13148 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 d209b1d6d447842194cbf9502bdbf3662c93c2c5..95a66d38b9bfe7bccf0ecc1861ef70d850129b79 100644 (file)
break;
}
}
+ if(preg_match("/^edit_[0-9]*_.*$/",$name)){
+ $i_entryID = preg_replace("/^edit_([0-9]*)_.*$/i","\\1",$name);
+ $s_entryType= preg_replace("/^edit_[0-9]*_([^_]*)_.*$/i","\\1",$name);
+ $s_action = "edit";
+ }
}
if(isset($_GET['act']) && $_GET['act'] == "edit" && isset($_GET['id'])){
Edit entry
****************/
- if($this->dialog instanceOf faiGroupHandle && $this->dialog->get_mode() == "edit"){
+ if($s_action == "edit" || $this->dialog instanceOf faiGroupHandle && $this->dialog->get_mode() == "edit"){
$entry = array();
if($this->dialog instanceOf faiGroupHandle){