Module: check_mk
Branch: master
Commit: 138bc1a707845f851f6da9bd48bb464ee0e892b9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=138bc1a707845f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Dec 16 12:26:49 2011 +0100
Frame/Frameset links on bottom of page link to _top now
---
web/htdocs/htmllib.py | 4 ++--
web/htdocs/wato.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 9c0d0ca..743d170 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -726,9 +726,9 @@ class html:
def render_status_icons(self):
h = ""
if True: # self.req.method == "GET":
- h += '<a target="_blank" href="%s"><img
class=statusicon src="images/status_frameurl.png" title="URL to this
frame"></a>\n' % \
+ h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_frameurl.png" title="URL to this
frame"></a>\n' % \
self.makeuri([])
- h += '<a target="_blank" href="%s"><img
class=statusicon src="images/status_pageurl.png" title="URL to this page
including sidebar"></a>\n' % \
+ h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_pageurl.png" title="URL to this page
including sidebar"></a>\n' % \
("index.py?" + urlencode_vars([("start_url",
self.makeuri([]))]))
for img, tooltip in self.status_icons.items():
h += '<img class=statusicon src="images/status_%s.png"
title="%s">\n' % (img, tooltip)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index fc83eca..705f253 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8564,9 +8564,9 @@ def mode_rulesets(phase):
if phase == "title":
if only_host:
- return _("Rule sets for for hosts %s") % only_host
+ return _("Rulesets for for hosts %s") % only_host
else:
- return _("Rule sets for hosts and services")
+ return _("Rulesets for hosts and services")
elif phase == "buttons":
if only_host: