summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-08-20 19:44:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-08-20 19:44:16 +0000
commit71c3d30f46567d3b495579665eff245978e52d01 (patch)
tree5c7e7272399a546db4523bd5d8be68ae7e9a6032
parentc7c262471364730d8eb0af5fc1a2765f842488b8 (diff)
* luci/themes: several xhtml fixes
-rw-r--r--libs/cbi/luasrc/view/cbi/dvalue.htm2
-rw-r--r--libs/cbi/luasrc/view/cbi/tblsection.htm4
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm2
3 files changed, 4 insertions, 4 deletions
diff --git a/libs/cbi/luasrc/view/cbi/dvalue.htm b/libs/cbi/luasrc/view/cbi/dvalue.htm
index bdcbd317e..c2187838c 100644
--- a/libs/cbi/luasrc/view/cbi/dvalue.htm
+++ b/libs/cbi/luasrc/view/cbi/dvalue.htm
@@ -23,5 +23,5 @@ $Id$
else %>
<%=luci.util.pcdata(self:cfgvalue(section))%>
<% end %>
-&nbsp;
+&#160;
<%+cbi/valuefooter%>
diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm
index 66de5aeb2..6ed078026 100644
--- a/libs/cbi/luasrc/view/cbi/tblsection.htm
+++ b/libs/cbi/luasrc/view/cbi/tblsection.htm
@@ -31,7 +31,7 @@ end
<table class="cbi-section-table">
<tr class="cbi-section-table-titles">
<%- if not self.anonymous then -%>
- <th>&nbsp;</th>
+ <th>&#160;</th>
<%- end -%>
<%- for i, k in pairs(self.children) do if not k.optional then -%>
<th class="cbi-section-table-cell">
@@ -40,7 +40,7 @@ end
<%- if k.titleref then -%></a><%- end -%>
</th>
<%- count = count + 1; end; end; if self.extedit or self.addremove then -%>
- <th class="cbi-section-table-cell">&nbsp;</th>
+ <th class="cbi-section-table-cell">&#160;</th>
<%- count = count + 1; end -%>
</tr>
<tr class="cbi-section-table-descr">
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
index 6883dea21..d412ec9cc 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -62,7 +62,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
</script>
<![endif]-->
</head>
-<body onload="window.setup_hover && setup_hover()">
+<body onload="window.setup_hover &amp;&amp; setup_hover()">
<div id="header">
<div class="info whitetext smalltext bold right">
<%=luci.config.brand.firmware%><br />