* luci/themes: little title fix for openwrt.org theme

This commit is contained in:
Jo-Philipp Wich 2008-07-19 16:48:37 +00:00
parent 543dd52159
commit 5fc1589073

View file

@ -31,8 +31,8 @@ for i,r in ipairs(request) do
end end
require("luci.i18n").loadc("default") require("luci.i18n").loadc("default")
require("luci.http").prepare_content("text/html") require("luci.http").prepare_content("text/html")
-%> -%>
<?xml version="1.0" encoding="utf-8"?> <?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 %> <% 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-type" content="text/xhtml+xml; charset=utf-8" />
<meta http-equiv="content-script-type" content="text/javascript" /> <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]> <!--[if lt IE 7]>
<script type="text/javascript"> <script type="text/javascript">