diff options
author | Steven Barth <steven@midlink.org> | 2008-07-19 16:59:33 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-19 16:59:33 +0000 |
commit | b8dc7fdfa3727f204bddd7af56859995709ffb89 (patch) | |
tree | e6bded10355e7f577c57030be6076a41018bea14 /themes/openwrt.org/luasrc | |
parent | 040efb954fd88f9c365dc9e55a6865b6da271704 (diff) |
themes: Fixed title-tag in case we don't serve a dispatched node
Diffstat (limited to 'themes/openwrt.org/luasrc')
-rw-r--r-- | themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 2 |
1 files changed, 1 insertions, 1 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 9feb8c020c..500a73badd 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -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.title and ' - ' .. node.title or '') %> - LuCI</title> + <title><%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI</title> <!--[if lt IE 7]> <script type="text/javascript"> |