Author:   Lars Michelsen <[email protected]>
Date:     Sun Apr 17 14:36:12 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sun Apr 17 14:36:12 2011 +0200

Changed default value of headerfade option

---

 docs/en_US/nagvis_config_format_description.html |    2 +-
 share/server/core/classes/GlobalMainCfg.php      |   12 +++++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/docs/en_US/nagvis_config_format_description.html 
b/docs/en_US/nagvis_config_format_description.html
index 5506bda..1f0f55f 100644
--- a/docs/en_US/nagvis_config_format_description.html
+++ b/docs/en_US/nagvis_config_format_description.html
@@ -196,7 +196,7 @@
         <td> headertemplate </td><td> default </td><td> Default <a 
href="header_templates.html">header template</a> </td>
         </tr>
         <tr>
-        <td> headerfade </td><td> 1 </td><td>Enable/Disable the fade effect of 
the submenus in the header menu (When the used header menu supports that 
option).</td>
+        <td> headerfade </td><td> 0 </td><td>Enable/Disable the fade effect of 
the submenus in the header menu (When the used header menu supports that 
option).</td>
         </tr>
         <tr>
         <td> hovermenu </td><td> 1 </td><td> Enable/Disable the hover menu 
</td>
diff --git a/share/server/core/classes/GlobalMainCfg.php 
b/share/server/core/classes/GlobalMainCfg.php
index 7166fef..c55b072 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -239,12 +239,14 @@ class GlobalMainCfg {
                                        'depends_on' => 'headermenu',
                                        'depends_value' => 1,
                                        'match' => MATCH_STRING_NO_SPACE),
-                               'headerfade' => Array('must' => 0,
-                                       'editable' => 1,
-                                       'default' => 1,
-                                       'depends_on' => 'headermenu',
+                               'headerfade' => Array(
+                                       'must'          => 0,
+                                       'editable'      => 1,
+                                       'default'       => 0,
+                                       'depends_on'    => 'headermenu',
                                        'depends_value' => 1,
-                                       'match' => MATCH_BOOLEAN),
+                                       'match'         => MATCH_BOOLEAN
+                               ),
                                'hovermenu' => Array('must' => 0,
                                        'editable' => 1,
                                        'default' => '1',


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to