iframe.lua 415 B

12345678910111213
  1. -- Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
  2. -- Licensed to the public under the Apache License 2.0.
  3. local map, section = ...
  4. local utl = require "luci.util"
  5. local form, ferr = loadfile(utl.libpath() .. "/model/cbi/freifunk/widgets/heightwidth.lua")
  6. if form then
  7. setfenv(form, getfenv(1))(m, wdg)
  8. end
  9. local url = wdg:option(Value, "url", translate("URL"))
  10. url.default = "http://www.freifunk.net"