diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-07-19 16:48:37 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-07-19 16:48:37 +0000 |
commit | 5fc15890732835a5fcfebb99f6642c8b4b23e325 (patch) | |
tree | 06439938fa5f35d0b4d0d70d9928b45aa36f7d20 /themes/openwrt.org/luasrc | |
parent | 543dd521599ff715ff62b12d7e7c810da1790c2f (diff) |
* luci/themes: little title fix for openwrt.org theme
Diffstat (limited to 'themes/openwrt.org/luasrc')
-rw-r--r-- | themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 4 |
1 files 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 3cd2b1af2a..9feb8c020c 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") + -%> <?xml version="1.0" encoding="utf-8"?> @@ -43,7 +43,7 @@ require("luci.http").prepare_content("text/html") <% if node and node.css then %><link rel="stylesheet" type="text/css" href="<%=resource%>/<%=node.css%>" /><% end %> <meta http-equiv="content-type" content="text/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-script-type" content="text/javascript" /> - <title><%=hostname%> - <%=(node and node.title)%> - LuCI</title> + <title><%= hostname .. ( node.title and ' - ' .. node.title or '') %> - LuCI</title> <!--[if lt IE 7]> <script type="text/javascript"> |