From: Jo-Philipp Wich Date: Fri, 16 Jan 2015 20:33:34 +0000 (+0100) Subject: themes: require luci.version directly X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=daee4a650eb4f0700074ee5d8e2f6b24c81d650e themes: require luci.version directly Signed-off-by: Jo-Philipp Wich --- diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm index 09b497a10..6b028d7ff 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm @@ -12,20 +12,15 @@ You may obtain a copy of the License at -%> <% + local ver = require "luci.version" local disp = require "luci.dispatcher" - local request = disp.context.path - local category = request[1] - local tree = disp.node() - local categories = disp.node_childs(tree) %> -