2 local utl = require "luci.util"
3 local title = luci.i18n.translate(data.title or "Search")
4 local width = data.width or "100%"
6 if type(width) == "number" then
11 <div id="<%=name%>" style="width:<%=width%>;float:left">
13 <div id="form_<%=name%>">
14 <form name="searchform" id="search_<%=name%>" action="<%=luci.dispatcher.build_url('freifunk', 'search_redirect')%>">
15 <input type="text" name="searchterms" style="margin-bottom:15px; width: 90%"><br />
17 local checked = " checked"
18 for k, v in ipairs(data.engine) do
19 local e = utl.split(v, "|")
24 <input name="engine" type="radio" value="<%=url%>"<%=checked%>> <%=name%><br />
29 <input type="submit" name="SearchSubmit" value="Search" style="margin-top: 15px">