Author: Lars Michelsen <[email protected]>
Date: Thu Nov 24 08:44:53 2011 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu Nov 24 08:44:53 2011 +0100
Using z=5 for textboxes and z=1 for shapes again as default values
---
ChangeLog | 1 +
share/server/core/mapcfg/default.php | 20 +++++++++++++++-----
2 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d084882..64ac3e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@ Core
* Removed all old demo maps and created new ones using an the internal test
backend to be able to show a bit more details.
* Using [service_description] as default value for label_text attribute
+ * Using z=5 for textboxes and z=1 for shapes again as default values
Frontend
* Sorting maps by alias in header menu now
diff --git a/share/server/core/mapcfg/default.php
b/share/server/core/mapcfg/default.php
index 4bc9305..b87a360 100644
--- a/share/server/core/mapcfg/default.php
+++ b/share/server/core/mapcfg/default.php
@@ -742,6 +742,11 @@ $mapConfigVars = Array(
'default' => 'auto',
'match' => MATCH_TEXTBOX_WIDTH,
),
+ 'textbox_z' => Array(
+ 'must' => 0,
+ 'default' => 5,
+ 'match' => MATCH_INTEGER
+ ),
// SHAPE SPECIFIC OPTIONS
@@ -752,11 +757,16 @@ $mapConfigVars = Array(
'list' => 'listShapes',
),
'enable_refresh' => Array(
- 'must' => 0,
- 'default' => 0,
- 'match' => MATCH_BOOLEAN,
+ 'must' => 0,
+ 'default' => 0,
+ 'match' => MATCH_BOOLEAN,
'field_type' => 'boolean',
),
+ 'shape_z' => Array(
+ 'must' => 0,
+ 'default' => 1,
+ 'match' => MATCH_INTEGER
+ ),
// TEMPLATE SPECIFIC OPTIONS
@@ -1089,7 +1099,7 @@ $mapConfigVarMap['textbox'] = Array(
'text' => null,
'x' => null,
'y' => null,
- 'z' => null,
+ 'textbox_z' => 'z',
'w' => null,
'h' => null,
'background_color' => null,
@@ -1106,7 +1116,7 @@ $mapConfigVarMap['shape'] = Array(
'icon' => null,
'x' => null,
'y' => null,
- 'z' => null,
+ 'shape_z' => 'z',
'context_menu' => null,
'context_template' => null,
'enable_refresh' => null,
------------------------------------------------------------------------------
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. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins