diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 322496228d..a9759730ea 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -4315,18 +4315,28 @@ function ui_get_full_url($url='', $no_proxy=false, $add_name_php_file=false, $me } } + $skip_meta_tag = false; if ($url === '') { - if ($proxy) { - $url = ''; - } else { + if ($proxy === false) { $url = $_SERVER['REQUEST_URI']; - } - } else if ($url === false) { - if ($proxy) { - $url = ''; + // Already inserted in request_uri. + $skip_meta_tag = true; } else { - // Only add the home url. + // Redirect to main. + $url = '?'.$_SERVER['QUERY_STRING']; + } + } else if (empty($url) === true) { + if ($proxy === false) { $url = $config['homeurl_static'].'/'; + if ($metaconsole_root === true + && is_metaconsole() + ) { + $url = $config['homeurl_static'].'/'.ENTERPRISE_DIR.'/meta/'; + } + + $skip_meta_tag = true; + } else { + $url = ''; } } else if (!strstr($url, '.php')) { if ($proxy) { @@ -4354,8 +4364,11 @@ function ui_get_full_url($url='', $no_proxy=false, $add_name_php_file=false, $me $url = substr($url, 1); } - if (is_metaconsole() && $metaconsole_root) { - $fullurl .= 'enterprise/meta/'; + if ($skip_meta_tag === false + && $metaconsole_root + && is_metaconsole() + ) { + $fullurl .= ENTERPRISE_DIR.'/meta/'; } return $fullurl.$url; diff --git a/pandora_console/include/javascript/tree/TreeController.js b/pandora_console/include/javascript/tree/TreeController.js index bc30d87f8c..267013eb13 100644 --- a/pandora_console/include/javascript/tree/TreeController.js +++ b/pandora_console/include/javascript/tree/TreeController.js @@ -965,9 +965,12 @@ var TreeController = { $content.append($statusImage); } + element.name = htmlDecode(element.name); // Name max 42 chars. $content.append( - '' + + '' + element.name.substring(0, 42) + (element.name.length > 42 ? "..." : "") + "" diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index 679943d537..d158d6db99 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -1202,6 +1202,11 @@ a.pandora_pagination, .bg_ccc { background-color: #50505050 !important; } + .filter_none { filter: brightness(0) contrast(50%) !important; } + +input[type="image"] { + background-color: transparent !important; +} \ No newline at end of file