themes: require luci.version directly
[project/luci.git] / themes / luci-theme-openwrt / luasrc / view / themes / openwrt.org / footer.htm
index 5830cb9..607885f 100644 (file)
@@ -16,6 +16,9 @@ $Id$
 </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>
 </body>
 </html>