Title: [opsview-base] [43] set default icons target to _parent
Revision
43
Author
aburzynski
Date
2012-10-11 12:31:11 +0100 (Thu, 11 Oct 2012)

Log Message

set default icons target to _parent

Modified Paths


Added Paths

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2012-09-19 10:20:21 UTC (rev 42)
+++ trunk/Makefile	2012-10-11 11:31:11 UTC (rev 43)
@@ -803,6 +803,7 @@
 	cd ${NAGVIS} && patch -p1 < ../patches/nagvis_custom_css.patch
 	cd ${NAGVIS} && patch -p1 < ../patches/nagvis_firefox_6.patch
 	cd ${NAGVIS} && patch -p1 < ../patches/nagvis_remove_deprecated_display_errors.patch
+	cd ${NAGVIS} && patch -p1 < ../patches/nagvis_config_url_target.patch
 	# TODO update patches that work but with some fuzz
 	find ${NAGVIS} -name "*.orig" -exec rm {} \;
 	cp patches/nagvis/opsview.cfg ${NAGVIS}/etc/maps/

Added: trunk/patches/nagvis_config_url_target.patch
===================================================================
--- trunk/patches/nagvis_config_url_target.patch	                        (rev 0)
+++ trunk/patches/nagvis_config_url_target.patch	2012-10-11 11:31:11 UTC (rev 43)
@@ -0,0 +1,24 @@
+diff -ur nagvis-1.4.4.orig//etc/nagvis.ini.php-sample nagvis-1.4.4//etc/nagvis.ini.php-sample
+--- nagvis-1.4.4.orig//etc/nagvis.ini.php-sample	2012-10-11 10:58:12.000000000 +0100
++++ nagvis-1.4.4//etc/nagvis.ini.php-sample	2012-10-11 11:57:41.000000000 +0100
+@@ -103,7 +103,7 @@
+ ; show map in lists (dropdowns, index page, ...)
+ ;showinlists=1
+ ; target for the icon links
+-;urltarget="_self"
++urltarget="_parent"
+ ; URL template for host object links
+ ;hosturl="[htmlcgi]/status.cgi?host=[host_name]"
+ ; URL template for hostgroup object links
+diff -ur nagvis-1.4.4.orig//nagvis/includes/classes/GlobalMainCfg.php nagvis-1.4.4//nagvis/includes/classes/GlobalMainCfg.php
+--- nagvis-1.4.4.orig//nagvis/includes/classes/GlobalMainCfg.php	2012-10-11 11:41:27.000000000 +0100
++++ nagvis-1.4.4//nagvis/includes/classes/GlobalMainCfg.php	2012-10-11 11:55:36.000000000 +0100
+@@ -180,7 +180,7 @@
+ 					'match' => MATCH_BOOLEAN),
+ 				'urltarget' => Array('must' => 0,
+ 					'editable' => 1,
+-					'default' => '_self',
++					'default' => '_parent',
+ 					'match' => MATCH_STRING_NO_SPACE),
+ 				'hosturl' => Array('must' => 0,
+ 					'default' => '[htmlcgi]/status.cgi?host=[host_name]',

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to