summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-08-20 19:35:54 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-08-20 19:35:54 +0000
commitc7c262471364730d8eb0af5fc1a2765f842488b8 (patch)
tree0113e13f834b5a9c759aac47aaa9edcc6ba0d975 /themes/openwrt.org
parent3fdccc976e75d32f0fb11cbc413498bfd2d6c041 (diff)
* luci/i18n: updated translation files, xhtml fixes in openwrt.org theme
Diffstat (limited to 'themes/openwrt.org')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm4
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm4
2 files changed, 3 insertions, 5 deletions
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm
index d1a8d43fe..c1d4dfccb 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm
@@ -14,9 +14,7 @@ $Id$
-%>
<br class="clear" />
</div>
-</div></div>
-</div>
-<div class="luci separator black whitetext bold"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " " .. luci.__version__%></a></div>
+ <div class="luci separator black whitetext bold"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " " .. luci.__version__%></a></div>
</body>
</html>
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 c875e8db0..6883dea21 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -31,12 +31,12 @@ for i,r in ipairs(request) do
end
require("luci.i18n").loadc("default")
-require("luci.http").prepare_content("text/html")
+require("luci.http").prepare_content("application/xhtml+xml")
-%>
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" />