themes/*: Use application/xhtml+xml as Mime-Type

This commit is contained in:
Steven Barth 2008-08-07 21:48:58 +00:00
parent fdc1878aba
commit 1851adb1c5
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ require("luci.http").prepare_content("text/html")
<head> <head>
<link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" /> <link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" />
<% 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="application/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) and ' - ' .. node.title or '') %> - LuCI</title> <title><%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI</title>
</head> </head>

View file

@ -41,7 +41,7 @@ require("luci.http").prepare_content("text/html")
<head> <head>
<link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" /> <link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" />
<% 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="application/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) and ' - ' .. node.title or '') %> - LuCI</title> <title><%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI</title>