Author: Lars Michelsen <[email protected]>
Date: Mon Oct 3 23:15:34 2011 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Mon Oct 3 23:15:34 2011 +0200
Bugfix: Added missing list code for header templates (map global section
editing)
---
ChangeLog | 3 +++
share/server/core/mapcfg/default.php | 7 ++++++-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 13b6e5d..1ebe280 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,9 @@ Core
* Added NagiosBP backend to connect directly to NagiosBP using the JSON API
Thanks to Bacher Systems (bacher.at) for providing this backend.
+Frontend
+ * Bugfix: Added missing list code for header templates (map global section
editing)
+
1.6rc1
Core
diff --git a/share/server/core/mapcfg/default.php
b/share/server/core/mapcfg/default.php
index 9043e2c..71d35ca 100644
--- a/share/server/core/mapcfg/default.php
+++ b/share/server/core/mapcfg/default.php
@@ -61,6 +61,10 @@ function listGadgets($CORE) {
return $CORE->getAvailableGadgets();
}
+function listHeaderTemplates($CORE) {
+ return $CORE->getAvailableHeaderTemplates();
+}
+
function listHoverTemplates($CORE) {
return $CORE->getAvailableHoverTemplates();
}
@@ -313,7 +317,8 @@ $mapConfigVars = Array(
'match' => MATCH_STRING_NO_SPACE,
'field_type' => 'dropdown',
'depends_on' => 'header_menu',
- 'depends_value' => '1'),
+ 'depends_value' => '1',
+ 'list' => 'listHeaderTemplates'),
'header_fade' => Array(
'must' => 0,
'default' => cfg('defaults', 'headerfade'),
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins