diff options
author | Christian Schoenebeck <christian.schoenebeck@gmail.com> | 2015-03-01 20:08:45 +0100 |
---|---|---|
committer | Christian Schoenebeck <christian.schoenebeck@gmail.com> | 2015-03-01 20:08:45 +0100 |
commit | df0590972345e6862817e53a38c73925596aaf63 (patch) | |
tree | 51f61373231c333a99293dfae2a7f82c5f5a07aa /applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua | |
parent | de5ec52b8784cc44d9f7d391916b8d466ee8f5f6 (diff) |
luci-app-ddns: patches for #298 #334 #335
* remove usage of opkg via system call for version handling
thanks to Jo-Philipp Wich #335
* remove special handling of bootstrap theme #298 #334
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Diffstat (limited to 'applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua')
-rw-r--r-- | applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua index 32ca5418ef..e1718739f9 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua @@ -7,9 +7,6 @@ local DISP = require "luci.dispatcher" local SYS = require "luci.sys" local DDNS = require "luci.tools.ddns" -- ddns multiused functions --- Bootstrap theme needs 2 or 3 additional linefeeds for tab description for better optic -local LFLF = (DDNS.get_theme() == "Bootstrap") and [[<br /><br />]] or [[]] - -- cbi-map definition -- ####################################################### local m = Map("ddns") @@ -38,7 +35,7 @@ local ns = m:section( NamedSection, "global", "ddns", .. [[<a href="http://wiki.openwrt.org/doc/uci/ddns#version_2x1" target="_blank">]] .. translate("For detailed information about parameter settings look here.") .. [[</a>]] - .. LFLF ) + -- section might not exist function ns.cfgvalue(self, section) if not self.map:get(section) then |