Module: nagvis Branch: master Commit: 43874be748acd254516a00343afc489d5313836f URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=43874be748acd254516a00343afc489d5313836f
Author: Lars Michelsen <[email protected]> Date: Sat Nov 6 19:31:59 2010 +0100 Added parent_map parameter to map configs (not used yet) --- docs/en_US/map_config_format_description.html | 4 ++++ share/server/core/classes/GlobalMapCfg.php | 3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/docs/en_US/map_config_format_description.html b/docs/en_US/map_config_format_description.html index 66f1d5f..de31d93 100644 --- a/docs/en_US/map_config_format_description.html +++ b/docs/en_US/map_config_format_description.html @@ -185,6 +185,10 @@ <td>only_hard_states</td><td> inherited (<a href="nagvis_config_format_description.html">nagvis.ini.php</a>) </td><td> Sets whether soft states should be ignored. Default setting is 0. </td> </tr> <tr> + <tr> + <td>parent_map</td><td></td><td>The parent map of this map. This option is only used in the menu visualisations of the header menu and sidebar <font color="#ff0000">(New in 1.6)</font></td> + </tr> + <tr> <td> recognize_services </td><td> inherited (<a href="nagvis_config_format_description.html">nagvis.ini.php</a>) </td><td> Sets whether the states of the services on hosts, hostgroup objects should be recognised. If this is not given in the config it's set to 1. </td> </tr> <tr> diff --git a/share/server/core/classes/GlobalMapCfg.php b/share/server/core/classes/GlobalMapCfg.php index 4fd8008..98105c9 100644 --- a/share/server/core/classes/GlobalMapCfg.php +++ b/share/server/core/classes/GlobalMapCfg.php @@ -84,6 +84,9 @@ class GlobalMapCfg { 'default_params' => Array('must' => 0, 'default' => $this->CORE->getMainCfg()->getValue('automap', 'defaultparams'), 'match' => MATCH_STRING_URL), + 'parent_map' => Array('must' => 0, + 'default' => '', + 'match' => MATCH_MAP_NAME_EMPTY), 'context_menu' => Array('must' => 0, 'default' => $this->CORE->getMainCfg()->getValue('defaults', 'contextmenu'), ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
