From 5fc15890732835a5fcfebb99f6642c8b4b23e325 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 19 Jul 2008 16:48:37 +0000 Subject: [PATCH] * luci/themes: little title fix for openwrt.org theme --- themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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