* luci/themes: several xhtml fixes
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 20 Aug 2008 19:44:16 +0000 (19:44 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 20 Aug 2008 19:44:16 +0000 (19:44 +0000)
libs/cbi/luasrc/view/cbi/dvalue.htm
libs/cbi/luasrc/view/cbi/tblsection.htm
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm

index bdcbd31..c218783 100644 (file)
@@ -23,5 +23,5 @@ $Id$
 else %>
        <%=luci.util.pcdata(self:cfgvalue(section))%>
 <% end %>
-&nbsp;
+&#160;
 <%+cbi/valuefooter%>
index 66de5ae..6ed0780 100644 (file)
@@ -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">
index 6883dea..d412ec9 100644 (file)
@@ -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 />