From 3a12f82014cbac58080ef19673e0ff86fcae1112 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Wed, 13 Apr 2011 19:29:30 +0000 Subject: themes: Update fledermaus, freifunk-bno, freifunk-hannover and freifunk --- .../luasrc/view/themes/freifunk-hannover/header.htm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'themes/freifunk-hannover/luasrc') diff --git a/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm b/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm index e6f0eb443f..d594a6535d 100644 --- a/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm +++ b/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm @@ -49,10 +49,20 @@ require("luci.http").prepare_content("application/xhtml+xml") + + <%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI + +<%- 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.%> +
+<%- end -%> +
+<% if category ~= "freifunk" and category ~= "splash" then %> + +<% end %> -- cgit v1.2.3