2 LuCI - Lua Configuration Interface
4 Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
14 local map, section = ...
15 local utl = require "luci.util"
17 local form, ferr = loadfile(utl.libpath() .. "/model/cbi/freifunk/widgets/heightwidth.lua")
19 setfenv(form, getfenv(1))(m, wdg)
22 local engine = wdg:option(DynamicList, "engine", translate("Search Engine"),
23 translate("Use the form Name|URL, where URL must be a full URL to the search engine " ..
24 "including the query GET parameter, e.g. 'Google|http://www.google.de/search?q='")