mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-25 18:59:12 +02:00
Added Onlinesearch Icon into main view, at each online searchable field.
This commit is contained in:
parent
b6d2256ec0
commit
74c6331ac9
@ -966,6 +966,10 @@ function AddOnClickMenu(&$fieldGridItem, $fieldType, $FieldID)
|
||||
'DisplayName' => $content['LN_VIEW_SEARCHFOR'] . " " . $szFieldDisplayName . " '" . $fieldGridItem['fieldvalue'] . "'",
|
||||
'IconSource' => $content['MENU_NETWORK']
|
||||
);
|
||||
|
||||
// Enable SearchOnline Icon
|
||||
$fieldGridItem['searchonline'] = true;
|
||||
$fieldGridItem['SearchOnlineUrl'] = 'http://kb.monitorware.com/kbsearch.php?sa=Search&origin=phplogcon&oid=' . $FieldID . '&q=' . $szEncodedFieldValue;
|
||||
}
|
||||
|
||||
// Search for links within the fieldcontent!
|
||||
|
@ -288,6 +288,11 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- IF searchonline="true" -->
|
||||
<a href="{SearchOnlineUrl}" target="_blank"><img align="left" src="{MENU_EARTH_FIND}" width="16" height="16" vspace="2"></a>
|
||||
<!-- ENDIF searchonline="true" -->
|
||||
|
||||
<!-- ENDIF hasbuttons="true" -->
|
||||
|
||||
<!-- IF ismessagefield="true" -->
|
||||
@ -308,6 +313,7 @@
|
||||
<!-- IF ismessagefield="true" -->
|
||||
<a href="{detaillink}{additional_url_sourceonly}{additional_url}" class="syslogdetails" target="_top">{fieldvalue}</a>
|
||||
<!-- ENDIF ismessagefield="true" -->
|
||||
|
||||
<!-- ENDIF hasdetails="false" -->
|
||||
|
||||
<!-- IF hasdetails="true" -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user