o.write = function()
return luci.http.redirect(
luci.dispatcher.build_url("admin/system/opkg") ..
- "?submit=1&install=iptables-mod-conntrack-extra"
+ "?query=iptables-mod-conntrack-extra"
)
end
end
function p_install.write()
return luci.http.redirect(
luci.dispatcher.build_url("admin/system/opkg") ..
- "?submit=1&install=%s" % opkg_package
+ "?query=%s" % opkg_package
)
end
end
var e = document.getElementById(ifc.id + '-ifc-edit');
if (e) e.disabled = true;
- var link = L.url('admin/system/opkg') + '?query=luci-proto&display=available';
+ var link = L.url('admin/system/opkg') + '?query=luci-proto';
L.dom.content(d, [
E('em', _('Unsupported protocol type.')), E('br'),
E('a', { href: link }, _('Install protocol extensions...'))
function p_install.write()
return luci.http.redirect(
luci.dispatcher.build_url("admin/system/opkg") ..
- "?submit=1&install=%s" % net:opkg_package()
+ "?query=%s" % net:opkg_package()
)
end
end