Module: check_mk
Branch: master
Commit: 0fdbb87171b54d3b35d1bc2b55e022ca7f0456c5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0fdbb87171b54d…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Fri Nov 4 13:32:53 2016 +0100
Fixed audacious html.write_text.
---
web/htdocs/forms.py | 2 +-
web/htdocs/sidebar.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/forms.py b/web/htdocs/forms.py
index 72432d1..2c28273 100644
--- a/web/htdocs/forms.py
+++ b/web/htdocs/forms.py
@@ -270,7 +270,7 @@ def section(title = None, checkbox = None, id = None, simple=False,
hide = False
html.open_td(class_=["legend", "simple" if simple else
None])
if title:
html.open_div(class_=["title", "withcheckbox" if checkbox
else None])
- html.write_text(title)
+ html.write(title)
html.span('.'*100, class_="dots")
html.close_div()
if checkbox:
diff --git a/web/htdocs/sidebar.py b/web/htdocs/sidebar.py
index 5680f24..db4b48c 100644
--- a/web/htdocs/sidebar.py
+++ b/web/htdocs/sidebar.py
@@ -107,7 +107,7 @@ def bulletlink(text, url, target="main", onclick = None):
def iconlink(text, url, icon):
html.open_a(class_=["iconlink", "link"], target="main",
href=url)
html.icon(icon=icon, help=None, cssclass="inline")
- html.write_text(text)
+ html.write(text)
html.close_a()
html.br()