From: Steven Barth Date: Sat, 19 Jul 2008 15:59:00 +0000 (+0000) Subject: Improved browser title X-Git-Tag: 0.8.0~610 X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=aeb1c372bd51f751fa9defebaa82d33e8eec0680;p=project%2Fluci.git Improved browser title --- diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm index cecdb1e7d..76b0a3da0 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%>
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm index df31154c0..3cd2b1af2 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/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 @@ -42,7 +43,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