diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-07 19:07:36 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-07 19:07:36 +0200 |
commit | 281d2f617899a0c3a171a66c6a3a14e834aa000c (patch) | |
tree | 4b53f67e82b64bb506b3a219a29319b64d1c1ab2 /modules/luci-mod-freifunk/luasrc/view/freifunk-map | |
parent | 49a2cb5ad11ccc0225fd3fa1de4b85a0618bbb99 (diff) |
Globally replace luci.dispatcher.build_url(...) with url(...) invocations
Also concat multiple string arguments into one while we're at it.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-mod-freifunk/luasrc/view/freifunk-map')
-rw-r--r-- | modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm b/modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm index b2e168363f..dbf3820f5c 100644 --- a/modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm +++ b/modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm @@ -11,7 +11,7 @@ %> <% if has_latlon then %> - <iframe style="width:100%; height:640px; border:none" src="<%=luci.dispatcher.build_url("freifunk/map/content")%>"></iframe> + <iframe style="width:100%; height:640px; border:none" src="<%=url("freifunk/map/content")%>"></iframe> <h3><%:Legend%>:</h3> <ul> <li><strong><span style="color:#00cc00"><%:Green%></span></strong>:<%:Very good (ETX < 2)%></li> |