From e8eb6d9ee83d90775e0d71265e65a4a965fc569e Mon Sep 17 00:00:00 2001 From: mdtrooper <tres.14159@gmail.com> Date: Thu, 14 Oct 2010 10:31:30 +0000 Subject: [PATCH] 2010-10-14 Miguel de Dios <miguel.dedios@artica.es> * extensions/system_info.php: add TODO. * godmode/agentes/module_manager_editor.php: fixed the ajax with the new safe_ouput function. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/extensions/system_info.php | 2 ++ pandora_console/godmode/agentes/module_manager_editor.php | 3 +++ 3 files changed, 12 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 49eff3e7ca..3568f92b69 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2010-10-14 Miguel de Dios <miguel.dedios@artica.es> + + * extensions/system_info.php: add TODO. + + * godmode/agentes/module_manager_editor.php: fixed the ajax with the new + safe_ouput function. + 2010-10-14 Junichi Satoh <junichi@rworks.jp> * godmode/massive/massive_enable_disable_alerts.php, diff --git a/pandora_console/extensions/system_info.php b/pandora_console/extensions/system_info.php index 2f5a7e13ee..1147d71171 100644 --- a/pandora_console/extensions/system_info.php +++ b/pandora_console/extensions/system_info.php @@ -469,6 +469,8 @@ function consoleMode() { echo 'tar zcvf ' . $tempDirSystem . '/' . $nameDir . '.tar.gz ' . $tempDir . '*' . "\n"; $result = shell_exec('tar zcvf ' . $tempDirSystem . '/' . $nameDir . '.tar.gz ' . $tempDir . '*'); + //TODO Delete the temp directory + echo "You find the result file in " . $tempDirSystem . '/' . $nameDir . ".tar.gz\n"; } } diff --git a/pandora_console/godmode/agentes/module_manager_editor.php b/pandora_console/godmode/agentes/module_manager_editor.php index ecff1350d4..15c3b76afb 100644 --- a/pandora_console/godmode/agentes/module_manager_editor.php +++ b/pandora_console/godmode/agentes/module_manager_editor.php @@ -61,6 +61,9 @@ if (is_ajax ()) { $id_component = (int) get_parameter ('id_module_component'); $component = get_db_row ('tlocal_component', 'id', $id_component); + foreach ($component as $index => $element) { + $component[$index] = html_entity_decode($element, ENT_QUOTES, "UTF-8"); + } $typeName = parseLocalModuleExtractValue('module_type',$component['data']);