summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f7f36fa)
raw | patch | inline | side by side (parent: f7f36fa)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 May 2006 09:15:33 +0000 (09:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 May 2006 09:15:33 +0000 (09:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3419 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiSummaryTab.inc | patch | blob | history |
index 0a8bcb925c251e0469be2b973c28fb2c9d615688..a2c48016c881427b60fb6a5b4d53b9ef60bcf1be 100644 (file)
function save_object()
{
$once = true;
+
+ if(isset($_GET['expand']) && isset($_GET['id'])){
+ if(isset($this->Result[$_GET['id']])){
+ $this->Result[$_GET['id']]['Open'] =true ;
+ }
+ }
+
+ if(isset($_GET['compress']) && isset($_GET['id'])){
+ if(isset($this->Result[$_GET['id']])){
+ unset($this->Result[$_GET['id']]['Open']);
+ }
+ }
+
foreach($_POST as $name => $value ){
/* check for open tag request */
$image = "<img src='".$this->objs[$key]['Image']."' class='center' alt='".$this->objs[$key]['Name']."' border=0>";
if(!isset($entry['Open'])){
- $str .= "<tr><td colspan=2><input type='image' class='center' src='images/expand.png' name='open_".$key."'> ";
+ $str .= "<tr><td colspan=2>
+ <a href='?plug=".$_GET['plug']."&expand&id=".$key."'>
+ <img border=0 class='center' src='images/expand.png' alt='"._("Open")."'> ";
$str .= $image." ";
- $str .= "<b>".$this->objs[$key]['Name']."</b></td></tr>";
+ $str .= "<b>".$this->objs[$key]['Name']."</b></b></td></tr>";
}else{
- $str .= "<tr><td colspan=2><input type='image' class='center' src='images/sort_down.png' name='close_".$key."'> ";
+ $str .= "<tr><td colspan=2>
+ <a href='?plug=".$_GET['plug']."&compress&id=".$key."'>
+ <img border=0 class='center' src='images/sort_down.png' alt='"._("Close")."'> ";
$str .= $image." ";
- $str .= "<b>".$this->objs[$key]['Name']."</b></td></tr>";
+ $str .= "<b>".$this->objs[$key]['Name']."</b></a></td></tr>";
/* Display FAItemplate FAIhook FAIscript entries */
if(in_array($key,array("FAItemplate","FAIhook","FAIscript"))){
$str .="<tr><td style='padding-left:20px;'>";
}
- $str .= "<a target='_blank'href='?plug=".$_GET['plug']."&show&type=".$key."&id=".base64_encode($data['dn'])."'>";
+ $str .= "<a target='_blank' href='?plug=".$_GET['plug']."&show&type=".$key."&id=".base64_encode($data['dn'])."'>";
$str .= $image." ";
if(isset($data['FAIpriority'][0])){
$str .= "(".$data['FAIpriority'][0].")";