From: Jo-Philipp Wich Date: Sat, 19 Jul 2008 16:48:37 +0000 (+0000) Subject: * luci/themes: little title fix for openwrt.org theme X-Git-Tag: 0.8.0~606 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5fc15890732835a5fcfebb99f6642c8b4b23e325;p=project%2Fluci.git * luci/themes: little title fix for openwrt.org theme --- 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 3cd2b1af2..9feb8c020 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -31,8 +31,8 @@ for i,r in ipairs(request) do end require("luci.i18n").loadc("default") - require("luci.http").prepare_content("text/html") + -%> @@ -43,7 +43,7 @@ require("luci.http").prepare_content("text/html") <% if node and node.css then %><% end %> - <%=hostname%> - <%=(node and node.title)%> - LuCI + <%= hostname .. ( node.title and ' - ' .. node.title or '') %> - LuCI