diff options
author | Steven Barth <steven@midlink.org> | 2008-05-28 21:02:52 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-28 21:02:52 +0000 |
commit | aafa5b786d4692fe65bdc2ac8552976d0a3a3a51 (patch) | |
tree | 6e4091d6c379678cd8f3108a3957225b39b3be08 /modules/admin-core | |
parent | c326b0fa716c457ea7842d2f7c9c13eb3957f0bb (diff) |
* Preparing about page
Diffstat (limited to 'modules/admin-core')
-rw-r--r-- | modules/admin-core/luasrc/controller/admin/index.lua | 2 | ||||
-rw-r--r-- | modules/admin-core/luasrc/view/admin_index/index.htm | 2 | ||||
-rw-r--r-- | modules/admin-core/luasrc/view/footer.htm | 2 |
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 11123c9c9..7ce7f1bdc 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 2e5c7c374..8bcf59746 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 c8506ac5c..4de7bbab0 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 |