Added a note to the Freifunk menu for OpenWRT
modules/admin-mini: Several small fixes and improvements
This commit is contained in:
parent
66a6492ae5
commit
0a0712b9d9
7 changed files with 11 additions and 6 deletions
|
@ -61,7 +61,7 @@ endef
|
|||
|
||||
define Package/luci/fftemplate
|
||||
$(call Package/luci/libtemplate)
|
||||
SUBMENU:=LuCI - Freifunk Support
|
||||
SUBMENU:=LuCI - Freifunk Support (GERMAN ONLY)
|
||||
DEPENDS:=+luci-mod-freifunk
|
||||
endef
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ all = "all"
|
|||
administration = "Administration"
|
||||
apply = "Apply"
|
||||
|
||||
basicsettings = "Basic Settings"
|
||||
|
||||
changes = "Changes"
|
||||
channel = "Channel"
|
||||
code = "Code"
|
||||
|
|
|
@ -4,6 +4,8 @@ all = "alle"
|
|||
administration = "Administration"
|
||||
apply = "Anwenden"
|
||||
|
||||
basicsettings = "Grundeinstellungen"
|
||||
|
||||
changes = "Änderungen"
|
||||
channel = "Kanal"
|
||||
code = "Code"
|
||||
|
|
|
@ -19,6 +19,7 @@ function index()
|
|||
luci.i18n.loadc("admin-core")
|
||||
local i18n = luci.i18n.translate
|
||||
|
||||
entry({"mini", "network"}, cbi("mini-network/basic"), i18n("network"))
|
||||
entry({"mini", "network", "dhcp"}, cbi("mini-network/dhcp"), "DHCP", 10)
|
||||
entry({"mini", "network"}, alias("mini", "network", "basic"), i18n("network"), 20)
|
||||
entry({"mini", "network", "basic"}, cbi("mini-network/basic"), i18n("basicsettings"), 10)
|
||||
entry({"mini", "network", "dhcp"}, cbi("mini-network/dhcp"), "DHCP", 20)
|
||||
end
|
|
@ -20,7 +20,7 @@ function index()
|
|||
local i18n = luci.i18n.translate
|
||||
|
||||
entry({"mini", "system"}, call("action_reboot"), i18n("system"))
|
||||
entry({"admin", "system", "passwd"}, call("action_passwd"), i18n("a_s_changepw"), 10)
|
||||
entry({"mini", "system", "passwd"}, call("action_passwd"), i18n("a_s_changepw"), 10)
|
||||
entry({"mini", "system", "upgrade"}, call("action_upgrade"), i18n("a_s_flash"), 20)
|
||||
entry({"mini", "system", "reboot"}, call("action_reboot"), i18n("reboot"), 30)
|
||||
end
|
||||
|
|
|
@ -27,7 +27,7 @@ $Id$
|
|||
<% end %>
|
||||
<% end %>
|
||||
<% if not stat or stat == 10 then %>
|
||||
<form method="post" action="<%=controller%>/admin/system/passwd">
|
||||
<form method="post" action="<%=REQUEST_URI%>">
|
||||
<div class="cbi-section-node">
|
||||
<div class="cbi-value">
|
||||
<div class="cbi-value-title"><%:password%></div>
|
||||
|
|
|
@ -25,7 +25,7 @@ if c and next(c) then
|
|||
end
|
||||
if not reboot then
|
||||
-%>
|
||||
<p><a href="<%=controller%>/admin/system/reboot?reboot=1"><%:a_s_reboot_do%></a></p>
|
||||
<p><a href="<%=REQUEST_URI%>?reboot=1"><%:a_s_reboot_do%></a></p>
|
||||
<%- else -%>
|
||||
<p><%:a_s_reboot_running%></p>
|
||||
<script type="text/javascript">setTimeout("location='<%=controller%>/admin'", 60000)</script>
|
||||
|
|
Loading…
Reference in a new issue