*** /usr/share/zabbix/search.php.orig 2013-08-21 15:59:26.000000000 +0200 --- /usr/share/zabbix/search.php 2013-10-01 15:34:55.000000000 +0200 *************** *** 88,91 **** --- 88,92 ---- 'selectInterfaces' => API_OUTPUT_EXTEND, 'selectItems' => API_OUTPUT_COUNT, + 'selectDiscoveries' => API_OUTPUT_COUNT, 'selectTriggers' => API_OUTPUT_COUNT, 'selectGraphs' => API_OUTPUT_COUNT, *************** *** 133,136 **** --- 134,138 ---- new CCol(_('Triggers')), new CCol(_('Events')), + new CCol(_('Graphs')), new CCol(_('Screens')), new CCol(_('Applications')), *************** *** 138,141 **** --- 140,144 ---- new CCol(_('Triggers')), new CCol(_('Graphs')), + new CCol(_('Discovery')), )); *************** *** 173,176 **** --- 176,183 ---- ' ('.$host['graphs'].')' ); + $discovery_link = array( + new CLink(_('Discovery'), 'host_discovery.php?'.$link), + ' ('.$host['discoveries'].')' + ); } else { *************** *** 192,195 **** --- 199,206 ---- ' ('.$host['graphs'].')' ); + $discovery_link = array( + new CSpan(_('Discovery'), 'unknown'), + ' ('.$host['discoveries'].')' + ); } *************** *** 205,208 **** --- 216,220 ---- new CLink(_('Triggers'), 'tr_status.php?'.$link), new CLink(_('Events'), 'events.php?'.$link), + new CLink(_('Graphs'), 'charts.php?'.$link), new CLink(_('Screens'), 'host_screen.php?hostid='.$hostid), $applications_link, *************** *** 210,213 **** --- 222,226 ---- $triggers_link, $graphs_link, + $discovery_link, )); } *************** *** 260,263 **** --- 273,277 ---- new CCol(_('Triggers')), new CCol(_('Events')), + new CCol(_('Graphs')), $admin ? new CCol(_('Hosts')) : null, $admin ? new CCol(_('Templates')) : null, *************** *** 312,315 **** --- 326,330 ---- new CLink(_('Triggers'), 'tr_status.php?'.$link), new CLink(_('Events'), 'events.php?'.$link), + new CLink(_('Graphs'), 'charts.php?'.$link), $hostsLink, $templatesLink