X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fopenwrt%2Fluasrc%2Fview%2Fthemes%2Fopenwrt.org%2Fheader.htm;h=6eea8af20b90a92397e16b88ede12ffb41ce09ea;hb=c473bb1d75ff7faa07b89db53b7d8dd526e91904;hp=1078c51760aee5ec08edd9317751e98594c863ce;hpb=e4b1a11597b73e6b2ed0c9d0fa16efac924b92a0;p=project%2Fluci.git diff --git a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm index 1078c5176..6eea8af20 100644 --- a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -81,7 +81,7 @@ require("luci.http").prepare_content("application/xhtml+xml") selected_name = v.name end %> - class="active"<% end %>> +
  • <%=striptags(nnode.title)%>
  • <% @@ -110,8 +110,9 @@ require("luci.http").prepare_content("application/xhtml+xml") - + + <% if node and node.css then %> <% end -%> @@ -154,7 +155,7 @@ if tree.nodes[category] and tree.nodes[category].ucidata then -%>
    <% if ucic > 0 then %> - "><%:Unsaved Changes%>: <%=ucic%> + "><%:Unsaved Changes%>: <%=ucic%> <%- else -%> <%:Changes%>: 0 <% end -%> @@ -176,7 +177,7 @@ if tree.nodes[category] and tree.nodes[category].ucidata then
    - <%- if not luci.sys.user.getpasswd("root") then -%> + <%- if luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>
    <%:No password set!%>
    <%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>