* 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 bdcbd317ec16335c50e7042205d3369f7fd12ba3..c2187838c4f451d2300fdcdec1b3db12398ec3c7 100644 (file)
@@ -23,5 +23,5 @@ $Id$
 else %>
        <%=luci.util.pcdata(self:cfgvalue(section))%>
 <% end %>
 else %>
        <%=luci.util.pcdata(self:cfgvalue(section))%>
 <% end %>
-&nbsp;
+&#160;
 <%+cbi/valuefooter%>
 <%+cbi/valuefooter%>
index 66de5aeb2a13272b32c6a21ba589e09acdcd5b3c..6ed078026e35a3cd96bb4bacade062820a39fdcc 100644 (file)
@@ -31,7 +31,7 @@ end
                <table class="cbi-section-table">
                        <tr class="cbi-section-table-titles">
                        <%- if not self.anonymous then -%>
                <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">
                        <%- 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 -%>
                                <%- 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">
                        <%- count = count + 1; end -%>
                        </tr>
                        <tr class="cbi-section-table-descr">
index 6883dea21b03e97eefd2204f7da87e10b4242e7d..d412ec9ccbdc7849f526aad1f768c6ed9c6faea3 100644 (file)
@@ -62,7 +62,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
                </script>
        <![endif]-->
 </head>
                </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 />
 <div id="header">
        <div class="info whitetext smalltext bold right">
        <%=luci.config.brand.firmware%><br />