themes/*: Use application/xhtml+xml as Mime-Type
[project/luci.git] / themes / openwrt.org / luasrc / view / themes / openwrt.org / header.htm
index 23b28a1..b26b68a 100644 (file)
@@ -41,7 +41,7 @@ require("luci.http").prepare_content("text/html")
 <head>
        <link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" />
        <% if node and node.css then %><link rel="stylesheet" type="text/css" href="<%=resource%>/<%=node.css%>" /><% end %>
-       <meta http-equiv="content-type" content="text/xhtml+xml; charset=utf-8" />
+       <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
        <meta http-equiv="content-script-type" content="text/javascript" />
        <title><%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI</title>
 
@@ -174,7 +174,7 @@ end
                <div>
                        <% if ucic > 0 then %>
                        <a class="warning" href="<%=controller%>/<%=category%>/uci/changes"><%:unsavedchanges%>: <%=ucic%></a>
-                       <% submenu(category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
+                       <% submenu("/" .. category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
                        <% else %>
                        <a href="#"><%:changes%>: 0</a>
                        <% end %>