X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Fopenwrt%2Fluasrc%2Fview%2Fthemes%2Fopenwrt.org%2Fheader.htm;h=5006723e6a48e345f74fcf3d0a25ae3fd374ba03;hp=8b29ecfa285842b02a6ec819ee20e60f4251ea9a;hb=839dcdc01299869bc714990c19d8e244f18318b5;hpb=bce5060da6cdd93eb84850df02edf872b3611ad9 diff --git a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm index 8b29ecfa28..5006723e6a 100644 --- a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -107,6 +107,10 @@ $Id$ <% if node and node.css then %> <% end -%> +<% if css then %> +<% end -%> <%=striptags( hostname .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI @@ -173,7 +177,7 @@ if tree.nodes[category] and tree.nodes[category].ucidata then - <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and not category=="failsafe" then -%> + <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and category ~= "failsafe" 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.%>