diff options
Diffstat (limited to '')
-rw-r--r-- | inc/html.inc.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php index 1dc3d2c..d4a31f2 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php | |||
@@ -118,16 +118,17 @@ function host_summary($hosts) { | |||
118 | 118 | ||
119 | 119 | ||
120 | function breadcrumbs() { | 120 | function breadcrumbs() { |
121 | if (validate_get($_GET['h'], 'host')) | 121 | $path = ''; |
122 | $path = ' - '.ucfirst($_GET['h']); | 122 | if (validate_get(GET('h'), 'host')) |
123 | if (validate_get($_GET['p'], 'plugin')) | 123 | $path .= ' - '.ucfirst(GET('h')); |
124 | $path .= ' - '.ucfirst($_GET['p']); | 124 | if (validate_get(GET('p'), 'plugin')) |
125 | if (validate_get($_GET['pi'], 'pinstance')) | 125 | $path .= ' - '.ucfirst(GET('p')); |
126 | $path .= ' - '.$_GET['pi']; | 126 | if (validate_get(GET('pi'), 'pinstance')) |
127 | if (validate_get($_GET['t'], 'type') && validate_get($_GET['p'], 'plugin') && $_GET['t'] != $_GET['p']) | 127 | $path .= ' - '.GET('pi'); |
128 | $path .= ' - '.$_GET['t']; | 128 | if (validate_get(GET('t'), 'type') && validate_get(GET('p'), 'plugin') && GET('t') != GET('p')) |
129 | if (validate_get($_GET['ti'], 'tinstance')) | 129 | $path .= ' - '.GET('t'); |
130 | $path .= ' - '.$_GET['ti']; | 130 | if (validate_get(GET('ti'), 'tinstance')) |
131 | $path .= ' - '.GET('ti'); | ||
131 | 132 | ||
132 | return $path; | 133 | return $path; |
133 | } | 134 | } |