From 74c6331ac9a47657d81468c6fd61887b75b00bd4 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Thu, 18 Feb 2010 17:04:53 +0100 Subject: [PATCH] Added Onlinesearch Icon into main view, at each online searchable field. --- src/index.php | 4 ++++ src/templates/index.html | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/src/index.php b/src/index.php index 6040fe3..0eaa78d 100644 --- a/src/index.php +++ b/src/index.php @@ -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! diff --git a/src/templates/index.html b/src/templates/index.html index f5ca18f..8e086dd 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -288,6 +288,11 @@ + + + + + @@ -308,6 +313,7 @@ {fieldvalue} +