Module: nagvis
Branch: master
Commit: a9f554ef11c7256b226b0dec600fcfdda9d04c51
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=a9f554ef11c7256b226b0dec600fcfdda9d04c51

Author: LaMi <[email protected]>
Date:   Fri Jan  8 08:20:04 2010 +0100

Don't show map thumbs by default

---

 etc/nagvis.ini.php-sample                   |    4 ++--
 share/server/core/classes/GlobalMainCfg.php |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/etc/nagvis.ini.php-sample b/etc/nagvis.ini.php-sample
index bac9692..ffed8e7 100644
--- a/etc/nagvis.ini.php-sample
+++ b/etc/nagvis.ini.php-sample
@@ -188,10 +188,10 @@
 ;showmaps=1
 ; Enable/Disable geomap listing
 ;showgeomap=1
-; Enable/Disable map thumbnails
-;showmapthumbs=1
 ; Enable/Disable rotation listing
 ;showrotations=1
+; Enable/Disable map thumbnails
+;showmapthumbs=0
 
 ; Options for the Automap
 [automap]
diff --git a/share/server/core/classes/GlobalMainCfg.php 
b/share/server/core/classes/GlobalMainCfg.php
index 9f0d430..5e4752b 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -463,7 +463,7 @@ class GlobalMainCfg {
                                        'match' => MATCH_BOOLEAN),
                                'showmapthumbs' => Array('must' => 0,
                                        'editable' => 1,
-                                       'default' => 1,
+                                       'default' => 0,
                                        'match' => MATCH_BOOLEAN),
                                'showrotations' => Array('must' => 0,
                                        'editable' => 1,


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to