summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-core
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-core')
-rw-r--r--modules/admin-core/luasrc/view/footer.htm2
-rw-r--r--modules/admin-core/luasrc/view/header.htm2
-rw-r--r--modules/admin-core/luasrc/view/indexer.htm15
3 files changed, 17 insertions, 2 deletions
diff --git a/modules/admin-core/luasrc/view/footer.htm b/modules/admin-core/luasrc/view/footer.htm
index 8428e8906..6c6d21421 100644
--- a/modules/admin-core/luasrc/view/footer.htm
+++ b/modules/admin-core/luasrc/view/footer.htm
@@ -12,4 +12,4 @@ You may obtain a copy of the License at
$Id$
-%>
-<% include("themes/" .. luci.fs.basename(media) .. "/footer") %> \ No newline at end of file
+<% include("themes/" .. theme .. "/footer") %> \ No newline at end of file
diff --git a/modules/admin-core/luasrc/view/header.htm b/modules/admin-core/luasrc/view/header.htm
index 07da7ef58..6625e46b0 100644
--- a/modules/admin-core/luasrc/view/header.htm
+++ b/modules/admin-core/luasrc/view/header.htm
@@ -12,4 +12,4 @@ You may obtain a copy of the License at
$Id$
-%>
-<% include("themes/" .. luci.fs.basename(media) .. "/header") %> \ No newline at end of file
+<% include("themes/" .. theme .. "/header") %> \ No newline at end of file
diff --git a/modules/admin-core/luasrc/view/indexer.htm b/modules/admin-core/luasrc/view/indexer.htm
new file mode 100644
index 000000000..c62828971
--- /dev/null
+++ b/modules/admin-core/luasrc/view/indexer.htm
@@ -0,0 +1,15 @@
+<%#
+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$
+
+-%>
+<% include("themes/" .. theme .. "/indexer") %> \ No newline at end of file