summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-28 21:02:52 +0000
committerSteven Barth <steven@midlink.org>2008-05-28 21:02:52 +0000
commitaafa5b786d4692fe65bdc2ac8552976d0a3a3a51 (patch)
tree6e4091d6c379678cd8f3108a3957225b39b3be08 /modules
parentc326b0fa716c457ea7842d2f7c9c13eb3957f0bb (diff)
* Preparing about page
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-core/luasrc/controller/admin/index.lua2
-rw-r--r--modules/admin-core/luasrc/view/admin_index/index.htm2
-rw-r--r--modules/admin-core/luasrc/view/footer.htm2
3 files changed, 4 insertions, 2 deletions
diff --git a/modules/admin-core/luasrc/controller/admin/index.lua b/modules/admin-core/luasrc/controller/admin/index.lua
index 11123c9c94..7ce7f1bdc5 100644
--- a/modules/admin-core/luasrc/controller/admin/index.lua
+++ b/modules/admin-core/luasrc/controller/admin/index.lua
@@ -6,6 +6,8 @@ function index()
root.target = alias("admin")
end
+ entry({"about"}, template("about"))
+
local page = node("admin")
page.target = alias("admin", "index")
page.title = "Administration"
diff --git a/modules/admin-core/luasrc/view/admin_index/index.htm b/modules/admin-core/luasrc/view/admin_index/index.htm
index 2e5c7c3745..8bcf59746e 100644
--- a/modules/admin-core/luasrc/view/admin_index/index.htm
+++ b/modules/admin-core/luasrc/view/admin_index/index.htm
@@ -7,5 +7,5 @@
<p><%:admin5 Wir sind natürlich stets darum bemüht, diese Oberfläche
noch besser und intuitiver zu Gestalten und freuen uns über jegliche Art von Feedback oder Verbesserungsvorschlägen.%></p>
<p><%:admin6 Und nun wünschen wir viel Spaß mit dem Router!%></p>
-<p><em><strong><a href="http://luci.freifunk-halle.net"><%:team Das LuCI-Team%></a></strong></em></p>
+<p><em><strong><a href="<%=controller%>/about"><%:team Das LuCI-Team%></a></strong></em></p>
<%+footer%> \ No newline at end of file
diff --git a/modules/admin-core/luasrc/view/footer.htm b/modules/admin-core/luasrc/view/footer.htm
index c8506ac5c6..4de7bbab0c 100644
--- a/modules/admin-core/luasrc/view/footer.htm
+++ b/modules/admin-core/luasrc/view/footer.htm
@@ -2,6 +2,6 @@
<div class="clear"></div>
</div></div>
-<div class="separator magenta bold"><a href="http://luci.freifunk-halle.net"><%=require("luci").__appname__ .. " " .. luci.__version__%> - Lua Configuration Interface</a></div>
+<div class="separator magenta bold"><a href="<%=controller%>/about"><%=require("luci").__appname__ .. " " .. luci.__version__%> - Lua Configuration Interface</a></div>
</body>
</html> \ No newline at end of file