diff --git a/src/asktheoracle.php b/src/asktheoracle.php
index 296da6f..d3a85fa 100644
--- a/src/asktheoracle.php
+++ b/src/asktheoracle.php
@@ -74,14 +74,25 @@ else
// Set readable type
if ( $content['oracle_type'] == "ip" )
+{
$content['oracle_type_readable'] = "ip";
+ $content['oracle_kb_type'] = "ip";
+}
else if ( $content['oracle_type'] == "domain" )
+{
$content['oracle_type_readable'] = "domain";
+ $content['oracle_kb_type'] = "name";
+}
else
+{
$content['oracle_type_readable'] = "unknown type";
+ $content['oracle_kb_type'] = "";
+}
$content['ORACLE_HELP_DETAIL'] = GetAndReplaceLangStr( $content['LN_ORACLE_HELP_DETAIL'], $content['oracle_type_readable'], $content['oracle_query'] ) ;
-
+$content['ORACLE_HELP_TEXT'] = GetAndReplaceLangStr( $content['LN_ORACLE_HELP_TEXT'], $content['oracle_type_readable'], $content['oracle_query'] ) ;
+$content['ORACLE_WHOIS'] = GetAndReplaceLangStr( $content['LN_ORACLE_WHOIS'], $content['oracle_type_readable'], $content['oracle_query'] ) ;
+$content['WhoisUrl'] = "http://kb.monitorware.com/kbsearch.php?sa=whois&oid=" . $content['oracle_kb_type'] . "&origin=phplogcon&q=" . urlencode($content['oracle_query']);
// Enable help links!
$content['helplinksenabled'] = true;
@@ -90,11 +101,11 @@ $content['helplinksenabled'] = true;
$i = 0;
foreach( $content['Sources'] as $mySource )
{
- $myHelpLink['SourceName'] = GetAndReplaceLangStr("Source %1",$mySource['Name'] );
+ $myHelpLink['SourceName'] = $mySource['Name'];
$myHelpLink['MsgUrl'] = $content['BASEPATH'] . "index.php?filter=" . urlencode($content['oracle_query']) . "&search=Search&sourceid=" . $mySource['ID'];
- $myHelpLink['MsgDisplayName'] = GetAndReplaceLangStr( $content['LN_ORACLE_SEARCHINFIELD'], "Message" );
+// $myHelpLink['MsgDisplayName'] = GetAndReplaceLangStr( $content['LN_ORACLE_SEARCHINFIELD'], "Message" );
$myHelpLink['SourceUrl'] = $content['BASEPATH'] . "index.php?filter=" . urlencode("source:=" . $content['oracle_query']) . "&search=Search&sourceid=" . $mySource['ID'];
- $myHelpLink['SourceDisplayName'] = GetAndReplaceLangStr( $content['LN_ORACLE_SEARCHINFIELD'], "Source" );
+// $myHelpLink['SourceDisplayName'] = GetAndReplaceLangStr( $content['LN_ORACLE_SEARCHINFIELD'], "Source" );
// --- Set CSS Class
if ( $i % 2 == 0 )
diff --git a/src/lang/de/main.php b/src/lang/de/main.php
index 2010067..154c9f8 100644
--- a/src/lang/de/main.php
+++ b/src/lang/de/main.php
@@ -318,4 +318,17 @@ $content['LN_DETAIL_BACKTOLIST'] = "Back to Listview";
$content['LN_CHART_TYPE_BARS_HORIZONTAL'] = "Bars horizontal";
$content['LN_STATS_WARNINGDISPLAY'] = "Generating graphics on large data sources currently is very time consuming. This will be addressed in later versions. If processing takes too long, please simply cancel the request.";
+ // asktheoracle site
+ $content['LN_ORACLE_TITLE'] = "Asking the oracle for '%1'";
+ $content['LN_ORACLE_HELP_FOR'] = "These are the links the oracle got for you";
+ $content['LN_ORACLE_HELP_TEXT'] = "You asked the oracle to find more information about the '%1' value '%2'.
+ The oracle has come to an answer, and brought up the following link suggestions:
+ ";
+ $content['LN_ORACLE_HELP_DETAIL'] = "Link matrix for the '%1' value '%2'";
+ $content['LN_ORACLE_SEARCH'] = "Search"; // in '%1' Field";
+ $content['LN_ORACLE_SOURCENAME'] = "Source name";
+ $content['LN_ORACLE_FIELD'] = "Field";
+ $content['LN_ORACLE_ONLINESEARCH'] = "Online Search";
+ $content['LN_ORACLE_WHOIS'] = "WHOIS Lookup for '%1' value '%2'";
+
?>
\ No newline at end of file
diff --git a/src/lang/en/main.php b/src/lang/en/main.php
index 9bce6aa..6b39384 100644
--- a/src/lang/en/main.php
+++ b/src/lang/en/main.php
@@ -325,9 +325,15 @@ $content['LN_CONVERT_ERROR_SOURCEIMPORT'] = "Critical Error while importing the
// asktheoracle site
$content['LN_ORACLE_TITLE'] = "Asking the oracle for '%1'";
$content['LN_ORACLE_HELP_FOR'] = "These are the links the oracle got for you";
-$content['LN_ORACLE_HELP_TEXT'] = "Spieglein Spieglein an der Wand, wer hat das größte Logfile im ganzen Land?";
-$content['LN_ORACLE_HELP_DETAIL'] = "Usefull search links for the type '%1', value = '%2'";
-$content['LN_ORACLE_SEARCHINFIELD'] = "Search in '%1' Field";
+$content['LN_ORACLE_HELP_TEXT'] = "You asked the oracle to find more information about the '%1' value '%2'.
+The oracle has come to an answer, and brought up the following link suggestions:
+";
+$content['LN_ORACLE_HELP_DETAIL'] = "Link matrix for the '%1' value '%2'";
+$content['LN_ORACLE_SEARCH'] = "Search"; // in '%1' Field";
+$content['LN_ORACLE_SOURCENAME'] = "Source name";
+$content['LN_ORACLE_FIELD'] = "Field";
+$content['LN_ORACLE_ONLINESEARCH'] = "Online Search";
+$content['LN_ORACLE_WHOIS'] = "WHOIS Lookup for '%1' value '%2'";
diff --git a/src/lang/pt_BR/main.php b/src/lang/pt_BR/main.php
index f1dcd69..54030c2 100644
--- a/src/lang/pt_BR/main.php
+++ b/src/lang/pt_BR/main.php
@@ -322,4 +322,17 @@ $content['LN_DETAIL_BACKTOLIST'] = "Voltar para a lista";
$content['LN_CHART_TYPE_BARS_HORIZONTAL'] = "Bars horizontal";
$content['LN_STATS_WARNINGDISPLAY'] = "Generating graphics on large data sources currently is very time consuming. This will be addressed in later versions. If processing takes too long, please simply cancel the request.";
+ // asktheoracle site
+ $content['LN_ORACLE_TITLE'] = "Asking the oracle for '%1'";
+ $content['LN_ORACLE_HELP_FOR'] = "These are the links the oracle got for you";
+ $content['LN_ORACLE_HELP_TEXT'] = "You asked the oracle to find more information about the '%1' value '%2'.
+ The oracle has come to an answer, and brought up the following link suggestions:
+ ";
+ $content['LN_ORACLE_HELP_DETAIL'] = "Link matrix for the '%1' value '%2'";
+ $content['LN_ORACLE_SEARCH'] = "Search"; // in '%1' Field";
+ $content['LN_ORACLE_SOURCENAME'] = "Source name";
+ $content['LN_ORACLE_FIELD'] = "Field";
+ $content['LN_ORACLE_ONLINESEARCH'] = "Online Search";
+ $content['LN_ORACLE_WHOIS'] = "WHOIS Lookup for '%1' value '%2'";
+
?>
\ No newline at end of file
diff --git a/src/templates/asktheoracle.html b/src/templates/asktheoracle.html
index c1e3e43..d0e00f9 100644
--- a/src/templates/asktheoracle.html
+++ b/src/templates/asktheoracle.html
@@ -32,7 +32,7 @@
-
{LN_ORACLE_HELP_TEXT}
|
+
{ORACLE_HELP_TEXT}
|
@@ -40,24 +40,44 @@
- |