summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-03 23:17:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-03 23:17:40 +0000
commitd0694fdb1ece991b57b748c29183ccd6563a9c42 (patch)
treecca303a8eb6fcb4cd983b7a4e6f464fa608f6822
parent6071119f2e205dc2d58b27c990e12b306b755026 (diff)
fix footer
-rw-r--r--libs/web/luasrc/dispatcher.lua1
-rw-r--r--themes/fledermaus/luasrc/view/themes/fledermaus/footer.htm5
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm4
3 files changed, 6 insertions, 4 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index e3d8ac0d4..025ae382d 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -24,6 +24,7 @@ limitations under the License.
]]--
module("luci.dispatcher", package.seeall)
+require("luci.init")
require("luci.http")
require("luci.sys")
require("luci.fs")
diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/footer.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/footer.htm
index 4de7bbab0..ff1e20a31 100644
--- a/themes/fledermaus/luasrc/view/themes/fledermaus/footer.htm
+++ b/themes/fledermaus/luasrc/view/themes/fledermaus/footer.htm
@@ -1,7 +1,8 @@
</div>
<div class="clear"></div>
</div></div>
+</div>
-<div class="separator magenta bold"><a href="<%=controller%>/about"><%=require("luci").__appname__ .. " " .. luci.__version__%> - Lua Configuration Interface</a></div>
+<div class="separator black whitetext bold"><a href="<%=controller%>/about"><%=luci.__appname__ .. " " .. luci.__version__%> - Lua Configuration Interface</a></div>
</body>
-</html> \ No newline at end of file
+</html>
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 6fc2f6089..4ea69cb22 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm
@@ -3,6 +3,6 @@
</div></div>
</div>
-<div class="separator black whitetext bold"><a href="<%=controller%>/about"><%=require("luci").__appname__ .. " " .. luci.__version__%> - Lua Configuration Interface</a></div>
+<div class="separator black whitetext bold"><a href="<%=controller%>/about"><%= luci.__appname__ .. " " .. luci.__version__%> - Lua Configuration Interface</a></div>
</body>
-</html> \ No newline at end of file
+</html>