From f52ab3b4d0faacbb9421122af574bd329f8ad554 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Thu, 4 Oct 2012 09:12:01 +0000 Subject: [PATCH] 2012-10-04 Juan Manuel Ramon * include/functions_html.php: Fixed path to images in metaconsole. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/include/functions_html.php | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 567aa97703..91fcccbc56 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-10-04 Juan Manuel Ramon + + * include/functions_html.php: Fixed path to images in metaconsole. + 2012-10-04 Hirofumi Kosaka * general/login_help_dialog.php: Fixed obsolete URL for diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index c8a6e28908..721e392a7d 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -1267,12 +1267,7 @@ function html_print_image ($src, $return = false, $options = false, $return_src } - if (!$relative) { - if (defined('METACONSOLE')) - $src = ui_get_full_url(ENTERPRISE_DIR . '/meta/' . $src); - else - $src = ui_get_full_url($src); - } + $src = ui_get_full_url($src); // Only return src field of image if ($return_src) {