summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d1120e)
raw | patch | inline | side by side (parent: 9d1120e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Oct 2005 09:26:33 +0000 (09:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Oct 2005 09:26:33 +0000 (09:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1457 594d385d-05f5-0310-b6e9-bd551577e9d8
TODO | patch | blob | history | |
plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 980102b594842ffe215e6d55fb18ba50514027b2..c0413af2d123b5939a8e604b505f583565e050df 100644 (file)
--- a/TODO
+++ b/TODO
* FAI management
- Subtree support
- - Add links for headpage list entries
- Hooks have to be implemented like skripts
- Add package lists
- Make templates uploadable
index 2a26133602aabe14490a37a01d872d65031d7241..9444ed8721373b3297be1efb2cb834440f96c899 100644 (file)
}
+ if(isset($_GET['edit_entry'])){
+ $s_entry = $_GET['edit_entry'];
+ $s_action = "edit";
+ }
+
/* Confirm dialog
* Delte object
*/
$action = "<input type='image' src='images/edit.png' alt='"._("edit")."' name='entry_edit_%KEY%' title='"._("Edit class")."'>";
$action .= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='entry_delete_%KEY%' title='"._("Delete class")."'>";
+ $editlink ="<a href='?plug=".$_GET['plug']."&edit_entry=%KEY%'>%NAME%</a>";
+
/* Attach objects */
foreach($this->objects as $key => $value){
$info= "";
}
$field1 = array("string" => $img , "attach" => "style='height:26px;width=20px;'");
- $field2 = array("string" => $value['cn'].$desc , "attach" => "");
+ $field2 = array("string" => preg_replace(array("/%KEY%/","/%NAME%/"),array($key,$value['cn'].$desc),$editlink) , "attach" => "");
$field3 = array("string" => $info, "attach" => "");
$field4 = array("string" => preg_replace("/%KEY%/",$key,$action) , "attach"=>"style='text-align:right;border:none'");
$divlist->AddEntry(array($field1,$field2,$field3,$field4));