2013-11-20 Miguel de Dios <miguel.dedios@artica.es>

* 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
This commit is contained in:
mdtrooper 2013-11-20 16:57:53 +00:00
parent bcc83567fc
commit ae6ed16da4
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2013-11-20 Miguel de Dios <miguel.dedios@artica.es>
* 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 <miguel.dedios@artica.es> 2013-11-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: removed the hack for metaconsole in the * include/functions_ui.php: removed the hack for metaconsole in the

View File

@ -183,10 +183,6 @@ function printSmallFont ($string, $return = true) {
* @return string HTML code if return parameter is true. * @return string HTML code if return parameter is true.
*/ */
function ui_print_message ($message, $class = '', $attributes = '', $return = false, $tag = 'h3') { function ui_print_message ($message, $class = '', $attributes = '', $return = false, $tag = 'h3') {
$hack_metaconsole = '';
if (defined('METACONSOLE'))
$hack_metaconsole = '../../';
static $first_execution = true; static $first_execution = true;
$text_title = ''; $text_title = '';
@ -239,7 +235,7 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa
break; break;
} }
$icon_image = $hack_metaconsole . $icon_image; $icon_image = $icon_image;
} }
$id = 'info_box_' . uniqid(); $id = 'info_box_' . uniqid();
@ -252,7 +248,7 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa
<td class="icon" style="text-align: right; padding-right: 3px;">'; <td class="icon" style="text-align: right; padding-right: 3px;">';
if (!$no_close_bool) { if (!$no_close_bool) {
$output .= '<a href="javascript: close_info_box(\'' . $id . '\')">' . $output .= '<a href="javascript: close_info_box(\'' . $id . '\')">' .
html_print_image($hack_metaconsole . 'images/blade.png', true) . '</a>'; html_print_image('images/blade.png', true) . '</a>';
} }
$output .= '</td> $output .= '</td>