From aeb1c372bd51f751fa9defebaa82d33e8eec0680 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 19 Jul 2008 15:59:00 +0000 Subject: Improved browser title --- themes/fledermaus/luasrc/view/themes/fledermaus/header.htm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'themes/fledermaus/luasrc/view') diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm index cecdb1e7d6..76b0a3da08 100644 --- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm +++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm @@ -20,6 +20,7 @@ local category = request[1] local tree = luci.dispatcher.node() local cattree = category and luci.dispatcher.node(category) local node = luci.dispatcher.context.dispatched +local hostname = luci.sys.hostname() local c = tree for i,r in ipairs(request) do @@ -40,7 +41,7 @@ require("luci.http").prepare_content("text/html") <% if node and node.css then %><% end %> - LuCI - Lua Configuration Interface - <%=(node and node.title)%> + <%=hostname%> - <%=(node and node.title)%> - LuCI
<%=luci.config.brand.title%>
-- cgit v1.2.3