luci-theme-openwrt: rework menu rendering
[oweals/luci.git] / themes / luci-theme-openwrt / luasrc / view / themes / openwrt.org / footer.htm
index 5830cb932be110fb6b703570af46da35d17dd31e..356b6dac1018ba2fb70f741b36381240d738e1d7 100644 (file)
@@ -1,21 +1,19 @@
 <%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-$Id$
-
+ Copyright 2008 Steven Barth <steven@midlink.org>
+ Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
+ Licensed to the public under the Apache License 2.0.
 -%>
+
 <div class="clear"></div>
 </div>
 </div>
 
-<p class="luci">Powered by <%= luci.__appname__ .. " (" .. luci.__version__ .. ")" %></p>
+<p class="luci">
+       <% local ver = require "luci.version" -%>
+       Powered by <%= ver.luciname %> (<%= ver.luciversion %>)
+</p>
+
+<script type="text/javascript">L.require('menu-openwrt')</script>
+
 </body>
 </html>