Menubar port search output change.

Small change that add’s the port desc/alias to the output.
This commit is contained in:
Rosiak
2015-02-15 14:36:44 +01:00
parent 3804ee001e
commit 68ce77d3e5

View File

@@ -485,7 +485,7 @@ if ($_SESSION['authenticated'])
name: 'ports',
remote : 'ajax_search.php?search=%QUERY&type=ports',
header : '<h5><strong>&nbsp;Ports</strong></h5>',
template: '<a href="{{url}}"><p><small><img src="images/icons/port.png" /> <strong>{{name}}</strong> {{hostname}}</small></p></a>',
template: '<a href="{{url}}"><p><small><img src="images/icons/port.png" /> <strong>{{name}}</strong> {{hostname}}<br /><i>{{description}}</i></small></p></a>',
valueKey: "name",
engine: Hogan
},