summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 04ee5fa)
raw | patch | inline | side by side (parent: 04ee5fa)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Apr 2008 12:16:29 +0000 (12:16 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Apr 2008 12:16:29 +0000 (12:16 +0000) |
-Display hostname instead of MAC address.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10299 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10299 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/goto/class_gotomasses.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc
index c26d57f3000286edcd03c7942b59333e650f36ab..c8ee0da14df776a58b75ee5e2974e5e133214f0a 100644 (file)
class='center' alt='"._("Remove")."'>";
}
+ /* Create entry display name and tooltip */
$color = "";
$display = $task['MACADDRESS'];
+ $tooltip = "";
+ if(isset($task['TARGETTAG'])){
+ $display = $task['TARGETTAG'];
+ $tooltip = " title='".$task['MACADDRESS']."' ";
+ }
$display2= $task['HEADERTAG'];
/* Check if this event exists as Daemon class
$field0 = array("string" => "<input type='checkbox' id='item_selected_".$task['ID']."' name='item_selected_".$key."'>" ,
"attach" => "style='width:20px;".$color."'");
$field1 = array("string" => $display,
- "attach" => "style='".$color."'");
+ "attach" => $tooltip."style='".$color."'");
$field1a= array("string" => $display2,
"attach" => "style='".$color.";width:120px;'");
$field2 = array("string" => date("d.m.Y H:i:s",strtotime($task['TIMESTAMP'])),"attach" => "style='".$color.";width:100px;'");