From c6b7093616cfbd84ac67751cf1521f9aee15594b Mon Sep 17 00:00:00 2001
From: darode <drd.sqki@gmail.com>
Date: Wed, 18 Apr 2012 09:26:29 +0000
Subject: [PATCH] 2012-04-18 Dario Rodriguez <dario.rodriguez@artica.es>

	* godmode/agentes/agent_disk_conf_editor.php: Print message
	using new message box

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog                                 | 7 +++++++
 .../godmode/agentes/agent_disk_conf_editor.php            | 8 ++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 4aca734950..32380caade 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,10 @@
+2012-04-18 Dario Rodriguez <dario.rodriguez@artica.es>
+
+	* godmode/agentes/agent_disk_conf_editor.php: Print message
+	using new message box
+
+	MERGED FROM 4.0.2
+
 2012-04-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
 
 	* include/functions_html.php
diff --git a/pandora_console/godmode/agentes/agent_disk_conf_editor.php b/pandora_console/godmode/agentes/agent_disk_conf_editor.php
index 040d96e1d5..b4dd78253f 100644
--- a/pandora_console/godmode/agentes/agent_disk_conf_editor.php
+++ b/pandora_console/godmode/agentes/agent_disk_conf_editor.php
@@ -1,6 +1,10 @@
 <?php
-//TODO: Implement an open source version
 if (enterprise_include ("godmode/agentes/agent_disk_conf_editor.php") === ENTERPRISE_NOT_HOOK) {
-	echo "<h3>This feature is not included on the Open Source version. Please visit our website to learn more about the advanced features of <a href='http://pandorafms.com'>Pandora FMS Enterprise edition</a></h3>";
+	
+	$message = array("title" => "Pandora FMS Enterprise",
+					"message" => "<h3>This feature is not included on the Open Source version. Please visit our website to learn more about the advanced features of <a href='http://pandorafms.com'>Pandora FMS Enterprise edition</a></h3>",
+					"no_close" => 1);
+	
+	ui_print_info_message($message);
 }
 ?>