summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24438ff)
raw | patch | inline | side by side (parent: 24438ff)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Nov 2007 07:38:18 +0000 (07:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Nov 2007 07:38:18 +0000 (07:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7881 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_divListSystemService.inc | patch | blob | history | |
plugins/admin/systems/class_serverService.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_divListSystemService.inc b/plugins/admin/systems/class_divListSystemService.inc
index 9bff2bdf89e52809dd58b9cb37d8fd38f3996bbc..e5286b661a50dba5c119d83b0071110b0b702919 100644 (file)
$WasAccount = $this->parent->plugins[$name] -> initially_was_account;
+ $plug = $_GET['plug'];
+ $link = "<a href='?plug=".$plug."&act=open&id=".$name."'>".$entry['Message']."</a>";
+
$field1 = array("string" => $str ,"attach" => "style='width:20px;'");
- $field2 = array("string" => $entry['Message'] );
+ $field2 = array("string" => $link);
$actions ="";
if($entry['AllowStart'] && $WasAccount){
diff --git a/plugins/admin/systems/class_serverService.inc b/plugins/admin/systems/class_serverService.inc
index 069c2e5d5ebb8b5589615e57c61a780f1a40f070..3c77a3a9bbf1c1fc1538581cc030bcaf5434acb7 100644 (file)
$this->ServiceStatusUpdate($type,$service);
}
+ /* Handle actions linked via href */
+ if(isset($_GET['act']) && $_GET['act'] == "open" && isset($_GET['id'])){
+ $id = $_GET['id'];
+ if(isset($this->plugins[$id])){
+ $s_entry = $id;
+ $s_action = "EditSingleService";
+ }
+ }
/* Open service add dialog */
if($s_action == "addNewService"){