From ae6ed16da49c9fb3a8e0812394207ef5830004c1 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 20 Nov 2013 16:57:53 +0000 Subject: [PATCH] 2013-11-20 Miguel de Dios * include/functions_ui.php: removed the hack for metaconsole, now this hack fails because it is fixed the images in the metaconsole. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_ui.php | 8 ++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 60be03b4da..87527c4d29 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-11-20 Miguel de Dios + + * include/functions_ui.php: removed the hack for metaconsole, now + this hack fails because it is fixed the images in the metaconsole. + 2013-11-20 Miguel de Dios * include/functions_ui.php: removed the hack for metaconsole in the diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index ef881ff3b7..ccf7f1ced9 100644 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -183,10 +183,6 @@ function printSmallFont ($string, $return = true) { * @return string HTML code if return parameter is true. */ function ui_print_message ($message, $class = '', $attributes = '', $return = false, $tag = 'h3') { - $hack_metaconsole = ''; - if (defined('METACONSOLE')) - $hack_metaconsole = '../../'; - static $first_execution = true; $text_title = ''; @@ -239,7 +235,7 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa break; } - $icon_image = $hack_metaconsole . $icon_image; + $icon_image = $icon_image; } $id = 'info_box_' . uniqid(); @@ -252,7 +248,7 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa '; if (!$no_close_bool) { $output .= '' . - html_print_image($hack_metaconsole . 'images/blade.png', true) . ''; + html_print_image('images/blade.png', true) . ''; } $output .= '