diff --git a/doc/accessibility/text-cue-for-required-form-control-labels.html b/doc/accessibility/text-cue-for-required-form-control-labels.html
new file mode 100644
index 000000000..b9e624208
--- /dev/null
+++ b/doc/accessibility/text-cue-for-required-form-control-labels.html
@@ -0,0 +1,36 @@
+
+
+
+ getPurifier()->purify($output)
);
- } elseif (preg_match('~\\\n~', $output)) {
- // Plaintext
- $output = ''
- . preg_replace(
- '~\\\n~', "\n", preg_replace(
- '~\\\n\\\n~', "\n",
- preg_replace('~\[OK\]~', '[OK]',
- preg_replace('~\[WARNING\]~', '[WARNING]',
- preg_replace('~\[CRITICAL\]~', '[CRITICAL]',
- preg_replace('~\@{6,}~', '@@@@@@',
- $this->view->escape($output)
- ))))
- )
- ) . '
';
} else {
- $output = ''
- . preg_replace('~\@{6,}~', '@@@@@@',
+ // Plaintext
+ $output = '' . preg_replace(
+ self::$txtPatterns,
+ self::$txtReplacements,
$this->view->escape($output)
) . '
';
}
@@ -55,7 +65,7 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
parse_str($m[1], $params);
if (isset($params['host'])) {
$tag->setAttribute('href', $this->view->baseUrl(
- '/monitoring/detail/show?host=' . urlencode($params['host']
+ '/monitoring/host/show?host=' . urlencode($params['host']
)));
}
} else {
diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js
index 6a82a6ee5..92aa1e9d8 100644
--- a/public/js/icinga/loader.js
+++ b/public/js/icinga/loader.js
@@ -737,7 +737,6 @@
}
this.icinga.ui.assignUniqueContainerIds();
- console.log(origFocus);
if (origFocus.length == origFocus[0] !== '') {
setTimeout(function() {
$(self.icinga.utils.getElementByDomPath(origFocus)).focus();
diff --git a/public/js/icinga/utils.js b/public/js/icinga/utils.js
index bd64e586e..4b04b3d44 100644
--- a/public/js/icinga/utils.js
+++ b/public/js/icinga/utils.js
@@ -284,10 +284,8 @@
if (! $element) {
$element = $(selector);
} else {
- console.log(selector);
$element = $element.children(selector).first();
if (! $element[0]) {
- console.log("element not existing stopping...");
return false;
}
}