summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/luasrc/model/cbi
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-11-27 21:48:30 +0000
committerManuel Munz <freifunk@somakoma.de>2011-11-27 21:48:30 +0000
commit3c3e3128bb209401c3d0f20a52599aaf8e29a113 (patch)
treecdfd40ab5fb6b7590c8b0834af44212edcddde67 /applications/luci-splash/luasrc/model/cbi
parentec846b538d8717c67fe299624f838b2339c71cc5 (diff)
applications/luci-splash: Make splashtext translateable, show down-/upload limits and link to contact page
Diffstat (limited to 'applications/luci-splash/luasrc/model/cbi')
-rw-r--r--applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua b/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
index 453942152c..82ba0b9dbf 100644
--- a/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
+++ b/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
@@ -17,7 +17,10 @@ luci.i18n.loadc("splash")
local splashtextfile = "/usr/lib/luci-splash/splashtext.html"
-f = SimpleForm("splashtext", translate("Edit Splash text"), translate("You can change the text that is displayed to clients here.<br /> It is possible to use the following markers: ###COMMUNITY###, ###COMMUNITY_URL###, ###LEASETIME### and ###ACCEPT###.<br />Click here to <a href='/luci/splash/'>test the splash page</a> after you saved it."))
+f = SimpleForm("splashtext", translate("Edit Splash text"),
+ translate("You can enter your own text that is displayed to clients here.<br />" ..
+ "It is possible to use the following markers: " ..
+ "###COMMUNITY###, ###COMMUNITY_URL###, ###CONTACTURL###, ###LEASETIME###, ###LIMIT### and ###ACCEPT###."))
t = f:field(TextValue, "text")
t.rmempty = true